Vai al contenuto
GET /v1/feed

Daily forage by body weight

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/equine-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

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