/v1/days
Grazing days for a paddock
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/grazing-api/v1/days" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/grazing-api/v1/days", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/grazing-api/v1/days");
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/grazing-api/v1/days",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Grazing days = (acres × forage per acre × utilization) ÷ (animal units × 26 lb). 'Take half, leave half' — ~50 % utilization — keeps the sward healthy and regrowing. Move the herd before they graze it too short.",
"inputs": {
"acres": 5,
"animal_units": 10,
"forage_lb_per_acre": 3000,
"utilization_percent": 50
},
"grazing_days": 28.8,
"daily_demand_lb": 260,
"available_forage_lb": 7500
},
"meta": {
"timestamp": "2026-06-06T15:30:51.804Z",
"request_id": "3dc9c39d-fc4f-486f-a974-0b3bd27b038f"
},
"status": "ok",
"message": "Grazing days",
"success": true
}