Vai al contenuto
GET /v1/ratio

Gear ratio from starts and teeth

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/wormgear-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}