/v1/days
Grazing days for a paddock
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}