Ir al contenido
GET /v1/energy

Rotational kinetic energy & angular momentum

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/flywheel-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/flywheel-api/v1/energy" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flywheel-api/v1/energy", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flywheel-api/v1/energy");
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/flywheel-api/v1/energy",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "formula": "E = ½·I·ω²; L = I·ω; ω = rpm·2π/60.",
        "angular_speed": {
            "hz": 50,
            "rpm": 3000,
            "omega_rad_s": 314.159265
        },
        "inertia_source": "given",
        "kinetic_energy_kj": 61.68502751,
        "kinetic_energy_wh": 17.13472986,
        "kinetic_energy_joules": 61685.027507,
        "moment_of_inertia_kg_m2": 1.25,
        "angular_momentum_kg_m2_s": 392.699082
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:54.212Z",
        "request_id": "3d26438d-33e6-4ef9-85fb-b41e54236c03"
    },
    "status": "ok",
    "message": "Rotational kinetic energy",
    "success": true
}