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/wormgear-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/wormgear-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wormgear-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wormgear-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/wormgear-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 (mm, °, %). ratio = teeth/starts; lead = starts·π·module; lead angle = atan(lead/(π·d)); efficiency = tan λ / tan(λ+φ), φ = atan μ; self-locking when λ ≤ φ. For spur gears use a spur-gear API; for a general ratio a gear-ratio API.",
        "service": "wormgear-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ratio": "Gear ratio from worm starts and wheel teeth.",
            "GET /v1/geometry": "Lead, lead angle and self-locking from the worm geometry.",
            "GET /v1/efficiency": "Mesh efficiency (worm driving) from lead angle and friction."
        },
        "description": "Worm-gear maths: gear ratio, lead angle and self-locking test, and mesh efficiency."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:08.289Z",
        "request_id": "f7ab9973-e609-4207-907d-6e77a27f5edc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}