Skip to content
GET /v1/bodyfat

Body-fat percentage

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/bmi-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "US Navy circumference method (metric). Measurements in cm. An estimate — calipers or DEXA are more accurate.",
        "inputs": {
            "hip": null,
            "sex": "male",
            "neck": 40,
            "waist": 90,
            "height": 180
        },
        "category": "average",
        "fat_mass_kg": 14.69,
        "lean_mass_kg": 65.31,
        "body_fat_percent": 18.37
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:21.676Z",
        "request_id": "cee46a31-db3c-4ad2-adba-053b122c33ed"
    },
    "status": "ok",
    "message": "Body fat percentage",
    "success": true
}