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/crane-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/crane-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crane-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crane-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/crane-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": "Metric (t, m, kN·m, kPa, m²). moment = load·radius; tipping load = CW·CW-radius/load-radius, safe = ×stability (~0.75 outriggers); pad area = load·g ÷ bearing. Simplified — always use the manufacturer load chart. For sling/WLL loads use a rigging API.",
        "service": "crane-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/capacity": "Tipping-limited safe load from the counterweight balance.",
            "GET /v1/load-moment": "Load moment from load and working radius.",
            "GET /v1/outrigger-pad": "Outrigger pad area from the ground-bearing pressure."
        },
        "description": "Mobile-crane lift maths: load moment, tipping-limited safe capacity, and outrigger pad size."
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:57.607Z",
        "request_id": "68f4ee05-6706-473f-a750-7880a1da2611"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}