Aller au contenu
GET /v1/motor-power

Hoist-motor power at full load

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/elevator-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/elevator-api/v1/motor-power" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/elevator-api/v1/motor-power", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/elevator-api/v1/motor-power");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/elevator-api/v1/motor-power",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Because the counterweight cancels most of the car, the hoist motor only lifts the out-of-balance load = rated load × (1 − overbalance). Power = that mass × g × speed ÷ efficiency (~65–75 % for a geared machine, higher gearless). A 1,000 kg lift at 45 % overbalance and 1.5 m/s needs the motor to lift ~550 kg, about 11–12 kW — far less than the ~21 kW a hoist without a counterweight would need.",
        "inputs": {
            "speed_mps": 1.5,
            "balance_pct": 45,
            "rated_load_kg": 1000,
            "efficiency_pct": 70
        },
        "motor_power_hp": 15.5,
        "motor_power_kw": 11.56,
        "out_of_balance_load_kg": 550
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:57.839Z",
        "request_id": "c000e185-ef64-460c-bcfe-724e78f09aad"
    },
    "status": "ok",
    "message": "Motor power",
    "success": true
}