Μετάβαση στο περιεχόμενο
GET /v1/weight

Body weight from a weight tape

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/equine-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

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