Vai al contenuto
GET /v1/coverage

Acres per tank and tank-loads

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "Acres covered per tank = tank volume ÷ the application rate (GPA). Give the field size and it also returns the total spray volume (acres × GPA) and how many tank-loads that is — the fractional part is the last partial fill, so mix that one to the leftover acres to avoid wasting product. Plan refills and product so the boom is never run dry mid-pass, which leaves skips.",
        "inputs": {
            "field_acres": 50,
            "tank_volume_gal": 300,
            "application_rate_gpa": 20
        },
        "full_tanks": 3,
        "tanks_needed": 3.33,
        "acres_per_tank": 15,
        "total_spray_gallons": 1000
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:00.186Z",
        "request_id": "fca5fdc4-6e8e-48d1-b3df-2c2ef575e952"
    },
    "status": "ok",
    "message": "Coverage",
    "success": true
}