Aller au contenu
GET /v1/coverage

Acres per tank and tank-loads

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/spray-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

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