Zum Inhalt springen
GET /v1/ratio

Gear ratio from starts and teeth

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/wormgear-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/wormgear-api/v1/ratio" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wormgear-api/v1/ratio", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wormgear-api/v1/ratio");
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/ratio",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "A worm drive's ratio = wheel teeth ÷ worm starts (threads), and the worm turns the wheel one tooth per worm turn for a single start — so a single-start worm on a 40-tooth wheel is a big 40:1 reduction in one compact stage. More starts cut the ratio but raise the lead angle and efficiency. Drive is almost always worm-in, wheel-out: the high ratio and often self-locking action are the whole point.",
        "inputs": {
            "gear_teeth": 40,
            "worm_starts": 1
        },
        "gear_ratio": 40,
        "ratio_label": "40:1"
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:08.193Z",
        "request_id": "4a36ea86-d93b-4c83-a036-44620cbd14ac"
    },
    "status": "ok",
    "message": "Gear ratio",
    "success": true
}