Ir al contenido
GET /v1/steps

Steps to calories

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/calorieburn-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "note": "Distance = steps × stride; stride ≈ 0.415 × height (walking), 0.65 × height (running). Calories ≈ distance·weight·(0.5 walk / 1.0 run) kcal/kg/km.",
        "inputs": {
            "mode": "walking",
            "steps": 10000,
            "weight": 70,
            "stride_length_m": 0.7262
        },
        "distance_km": 7.2625,
        "distance_miles": 4.5127,
        "calories_burned": 254.19
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:20.447Z",
        "request_id": "fec683ff-fac5-4230-8792-d77ae47e5138"
    },
    "status": "ok",
    "message": "Steps to calories",
    "success": true
}