/v1/weight
Body weight from a weight tape
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/equine-api/v1/weight" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/equine-api/v1/weight", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/equine-api/v1/weight");
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/equine-api/v1/weight",
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": "Weight ≈ heart girth² × body length ÷ a type divisor (adult 330, yearling 301, weanling 280, pony 299) with measurements in inches. Measure the girth snugly behind the withers/elbow and the length from point of shoulder to point of buttock. A weight tape is a handy field estimate; a livestock scale is the gold standard for dosing.",
"inputs": {
"type": "adult",
"body_length_in": 66,
"heart_girth_in": 72
},
"weight_kg": 470,
"weight_lb": 1037
},
"meta": {
"timestamp": "2026-06-06T15:30:46.903Z",
"request_id": "1d9b7a10-0745-4488-98b4-bbd1b731bec2"
},
"status": "ok",
"message": "Body weight",
"success": true
}