/v1/coverage
Material volume, weight & bags
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/landscape-api/v1/coverage" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/landscape-api/v1/coverage", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/landscape-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/landscape-api/v1/coverage",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Volume = area × depth. Weight uses a typical bulk density; bulk material varies with moisture and compaction.",
"input": {
"area_ft2": 100,
"depth_ft": 0.25
},
"volume": {
"litres": 707.9,
"cubic_feet": 25,
"cubic_yards": 0.926,
"cubic_metres": 0.708
},
"weight": {
"kg": 1134,
"lb": 2500,
"tonnes": 1.134,
"us_tons": 1.25
},
"material": "gravel",
"density_lb_ft3": 100
},
"meta": {
"timestamp": "2026-06-03T17:41:56.902Z",
"request_id": "ed0f9c7c-5e30-451f-a8a4-5ccc0caf549b"
},
"status": "ok",
"message": "Material coverage",
"success": true
}