Ir al contenido
GET /v1/acres

Acreage for a herd & period

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/grazing-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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