Ir al contenido
GET /v1/weight

Body weight from a weight tape

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/equine-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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