/v1/feed-supply
Bales needed to feed a herd
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/baleweight-api/v1/feed-supply" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/baleweight-api/v1/feed-supply", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/baleweight-api/v1/feed-supply");
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/baleweight-api/v1/feed-supply",
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": "Feed needed = head × daily intake × days; bales = that ÷ the bale weight. Cattle eat roughly 2–2.5 % of bodyweight per day in dry matter (about 25–30 lb for a beef cow), so 30 cows for 120 days at 30 lb each is 108,000 lb — about 108 thousand-pound bales. Add 10–20 % for feeding waste and refusal, more if bales are fed on the ground without a ring.",
"inputs": {
"days": 120,
"animal_count": 30,
"bale_weight_lb": 1000,
"daily_intake_lb_per_head": 30
},
"whole_bales": 108,
"bales_needed": 108,
"total_feed_lb": 108000
},
"meta": {
"timestamp": "2026-06-07T08:17:59.288Z",
"request_id": "fd294a63-0728-4c94-b74c-0ef2295ed85c"
},
"status": "ok",
"message": "Feed supply",
"success": true
}