Vai al contenuto
GET /v1/acres

Acreage for a herd & period

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/grazing-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/grazing-api/v1/acres" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/grazing-api/v1/acres", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/grazing-api/v1/acres");
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/acres",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Acres = (animal units × 26 lb × days) ÷ (forage per acre × utilization). Size a paddock for the move interval (e.g. 1–3 days) and rest the rest of the pasture. Forage yield swings hugely with season and rainfall — measure it.",
        "inputs": {
            "days": 30,
            "animal_units": 20,
            "forage_lb_per_acre": 3000,
            "utilization_percent": 50
        },
        "acres_needed": 10.4,
        "forage_needed_lb": 15600,
        "usable_per_acre_lb": 1500
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:51.608Z",
        "request_id": "9ae98812-5fda-4a78-a8d6-569f5d0919d7"
    },
    "status": "ok",
    "message": "Acres needed",
    "success": true
}