/v1/coverage
Material volume, weight & bags
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}