/v1/navy
US Navy body fat
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/navy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bodyfat-api/v1/navy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bodyfat-api/v1/navy");
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/navy",
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": {
"note": "US Navy circumference method. Measure neck below the larynx, waist at the navel (men) / narrowest point (women), and hips at the widest point (women). A man at height 178, neck 40, waist 90 cm reads ≈18.7 %.",
"inputs": {
"sex": "male",
"neck_cm": 40,
"waist_cm": 90,
"height_cm": 178
},
"method": "US Navy circumference",
"category": "acceptable",
"body_fat_percent": 18.7
},
"meta": {
"timestamp": "2026-06-05T19:50:24.775Z",
"request_id": "c66147c3-38bb-4c82-9d1c-5971b3b725cb"
},
"status": "ok",
"message": "Navy body fat",
"success": true
}