Naar de inhoud
GET /v1/deurenberg

BMI-based body fat

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bodyfat-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Deurenberg estimate %BF = 1.20·BMI + 0.23·age − 10.8·(1 if male else 0) − 5.4. A population estimate; the Navy circumference method is usually more individual-specific.",
        "inputs": {
            "age": 30,
            "bmi": 24.691,
            "sex": "male"
        },
        "method": "Deurenberg (BMI-based)",
        "category": "acceptable",
        "body_fat_percent": 20.33
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:24.648Z",
        "request_id": "b85db56b-f0e4-4a6c-9fcc-41096adbdf84"
    },
    "status": "ok",
    "message": "BMI-based body fat",
    "success": true
}