/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/bodyfat-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bodyfat-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bodyfat-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/bodyfat-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Circumferences and height in cm, weight in kg. Estimation formulas, not a substitute for DEXA or professional assessment. For body-mass index use a BMI API.",
"service": "bodyfat-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/navy": "Body fat % from neck, waist (and hip for women) circumferences.",
"GET /v1/deurenberg": "BMI-based body-fat estimate from BMI/age/sex.",
"GET /v1/composition": "Fat mass and lean mass from body-fat % and weight."
},
"description": "Body-fat percentage by the US Navy circumference method and the Deurenberg BMI estimate, plus fat/lean mass composition."
},
"meta": {
"timestamp": "2026-06-05T19:50:24.868Z",
"request_id": "d9a7ec46-8af0-4d72-a605-4d9d9d770895"
},
"status": "ok",
"message": "Meta",
"success": true
}