/v1/power
Power / torque / rpm
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/shaftpower-api/v1/power" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/shaftpower-api/v1/power", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/shaftpower-api/v1/power");
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/shaftpower-api/v1/power",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"rpm": 3000,
"note": "P = T·ω with ω = 2πN/60 (N in rpm). 1 hp = 745.6999 W, 1 PS = 735.499 W.",
"inputs": {
"given": 2
},
"power_w": 31415.926536,
"power_hp": 42.129451,
"power_kw": 31.415926536,
"power_ps": 42.713773,
"torque_nm": 100,
"solved_for": "power",
"angular_velocity_rad_s": 314.159265
},
"meta": {
"timestamp": "2026-06-04T18:38:05.796Z",
"request_id": "eac3688c-5d23-4546-a96b-8cfb140a3c58"
},
"status": "ok",
"message": "Power/torque/rpm",
"success": true
}