/v1/activity
Activity calories
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/calorieburn-api/v1/activity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/calorieburn-api/v1/activity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/calorieburn-api/v1/activity");
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/activity",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Calories = MET × weight(kg) × hours. MET is the metabolic equivalent of the activity (1 MET ≈ resting).",
"inputs": {
"met": 9.8,
"weight": 70,
"activity": "running",
"duration_minutes": 30
},
"calories_burned": 343,
"calories_per_minute": 11.4333
},
"meta": {
"timestamp": "2026-06-04T18:38:20.252Z",
"request_id": "db06d7eb-23ca-4cfd-b476-08d84c2e1ca0"
},
"status": "ok",
"message": "Activity calories",
"success": true
}