/v1/sprocket
Sprocket pitch & outside diameter
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}