Aller au contenu
GET /v1/feed

Daily forage by body weight

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/equine-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

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