Aller au contenu
GET /v1/meta

Spec

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/elevator-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/elevator-api/v1/meta");
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/meta",
    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": {
        "notes": "SI (kg, m/s, kW). counterweight = car + overbalance·load; motor power = load·(1−overbalance)·g·speed/eff; traction ratio = heavier side / lighter side (compare to e^(μθ)). For block-and-tackle use a pulley API; for capstan friction a capstan API.",
        "service": "elevator-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/motor-power": "Hoist-motor power at full load.",
            "GET /v1/counterweight": "Counterweight mass from car, rated load and overbalance.",
            "GET /v1/traction-ratio": "T1/T2 ratio at the two worst cases."
        },
        "description": "Traction-elevator maths: counterweight from car and load, hoist-motor power, and rope-traction T1/T2 ratio."
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:58.005Z",
        "request_id": "8a0897bf-31d9-405f-8cf1-4a29b9102895"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}