Zum Inhalt springen
GET /v1/tdee

Total Daily Energy Expenditure + goals

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/healthcalc-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "bmr": 1780,
        "unit": "kcal/day",
        "goals": {
            "weight_gain": 3309,
            "weight_loss": 2209,
            "mild_weight_gain": 3034,
            "mild_weight_loss": 2484,
            "extreme_weight_loss": 1659
        },
        "activity_level": "moderate",
        "activity_factor": 1.55,
        "maintenance_calories": 2759
    },
    "meta": {
        "timestamp": "2026-05-30T14:35:19.836Z",
        "request_id": "fd1b0d63-8521-4e72-9209-602cad50ca53"
    },
    "status": "ok",
    "message": "OK",
    "success": true
}