/v1/solve
Solve speed / ratio
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/gearratio-api/v1/solve" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gearratio-api/v1/solve", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gearratio-api/v1/solve");
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/gearratio-api/v1/solve",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"mode": "solve_ratio",
"note": "ratio = input_speed/output_speed.",
"ratio": 3,
"inputs": {
"input_speed": 1500,
"output_speed": 500
}
},
"meta": {
"timestamp": "2026-06-04T18:38:22.583Z",
"request_id": "8724696a-76ac-4709-94ad-b8c406398a3d"
},
"status": "ok",
"message": "Solve speed/ratio",
"success": true
}