/v1/solve
Solve speed / ratio
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}