Zum Inhalt springen
GET /v1/coverage

Acres per tank and tank-loads

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/spray-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}