/v1/sprocket
Sprocket pitch & outside diameter
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/chaindrive-api/v1/sprocket" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chaindrive-api/v1/sprocket", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chaindrive-api/v1/sprocket");
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/chaindrive-api/v1/sprocket",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Pitch diameter = pitch ÷ sin(180°/teeth) — the circle the chain pins ride on. The outside (tip) diameter is a touch larger, ≈ pitch × (0.6 + cot(180°/teeth)). More teeth runs smoother and quieter with less 'chordal' speed variation; keep the small sprocket to 17+ teeth where you can.",
"inputs": {
"teeth": 17,
"pitch_in": 0.5
},
"pitch_diameter_in": 2.721,
"outside_diameter_in": 2.975
},
"meta": {
"timestamp": "2026-06-06T23:53:58.596Z",
"request_id": "6b4e2824-a9e8-4926-980e-15b4215e70f1"
},
"status": "ok",
"message": "Sprocket diameter",
"success": true
}