/v1/steps
Steps to calories
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}