/v1/meta
Spec
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/bmr-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bmr-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bmr-api/v1/meta");
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/bmr-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "Weight in kg, height in cm, age in years. Activity: sedentary 1.2, light 1.375, moderate 1.55, active 1.725, very_active 1.9. Estimates only — not medical advice.",
"service": "bmr-api",
"formulae": {
"tdee": "TDEE = BMR × activity factor (1.2–1.9)",
"macros": "protein/carb 4 kcal/g, fat 9 kcal/g",
"mifflin": "BMR = 10·kg + 6.25·cm − 5·age + (male:+5 / female:−161)"
},
"endpoints": {
"GET /v1/bmr": "Basal metabolic rate from weight, height, age and sex (both formulae).",
"GET /v1/meta": "This document.",
"GET /v1/tdee": "Total daily energy expenditure and goal calories from BMR (or body data) and activity level.",
"GET /v1/macros": "Protein/fat/carb split (grams and kcal) from a calorie target."
},
"description": "Energy-expenditure calculator: basal metabolic rate (Mifflin-St Jeor and Harris-Benedict), total daily energy expenditure and macronutrient split."
},
"meta": {
"timestamp": "2026-06-04T18:38:22.369Z",
"request_id": "cd93fc03-6aa5-4477-a432-123608e63d59"
},
"status": "ok",
"message": "Meta",
"success": true
}