Naar de inhoud
GET /v1/feed

Daily forage by body weight

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/equine-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}