Ir al contenido
GET /v1/feed

Daily forage by body weight

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/feed" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/equine-api/v1/feed", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/equine-api/v1/feed");
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/feed",
    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": "Horses eat roughly 1.5–2.5 % of body weight in dry-matter forage a day, with hay as the base of the diet — a 1,000 lb horse on maintenance wants about 15–20 lb of hay. Make all feed changes gradually over 7–10 days, keep forage in front of them, and add concentrates only to fill the gap forage can't.",
        "inputs": {
            "goal": "maintenance",
            "body_weight_lb": 1000
        },
        "forage_lb_max": 20,
        "forage_lb_min": 15,
        "total_intake_lb": 20
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:46.710Z",
        "request_id": "4ec579dd-5800-4a39-8153-80eedbee4764"
    },
    "status": "ok",
    "message": "Daily forage",
    "success": true
}