/v1/calories
Daily caloric needs (RER/MER)
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/petfood-api/v1/calories" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/petfood-api/v1/calories", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/petfood-api/v1/calories");
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/petfood-api/v1/calories",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "RER (resting) = 70 × (kg)^0.75. MER (maintenance, daily need) = RER × a lifestage factor — neutered adult dog 1.6, cat 1.2; weight loss 1.0/0.8; puppy 2–3, kitten 2.5. Pass a custom factor to override. A guide, not a substitute for your vet.",
"inputs": {
"unit": "kg",
"factor": 1.6,
"weight": 10,
"species": "dog",
"lifestage": "neutered",
"weight_kg": 10
},
"mer_kcal": 629.8,
"rer_kcal": 393.6,
"mer_factor": 1.6
},
"meta": {
"timestamp": "2026-06-06T07:14:03.705Z",
"request_id": "0bc88731-c04f-4c4d-b910-0de899239d08"
},
"status": "ok",
"message": "Caloric needs",
"success": true
}