Zum Inhalt springen
GET /v1/weight

Body weight from a weight tape

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/equine-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}