Zum Inhalt springen
GET /v1/coverage

Area a bag covers

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Area a bag covers at the target N rate = (N in bag ÷ target N per basis) × basis area.",
        "input": {
            "basis": "1000 ft²",
            "analysis": "20-5-10",
            "bag_weight_lb": 40,
            "target_n_per_basis": 1
        },
        "area_unit": "ft²",
        "area_covered": 8000,
        "nitrogen_in_bag_lb": 8,
        "basis_units_covered": 8
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:13.971Z",
        "request_id": "b6fa6ca1-e6af-4f9c-9257-b56f3d8ce294"
    },
    "status": "ok",
    "message": "Bag coverage",
    "success": true
}