/v1/storage-volume
Storage volume from mass
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/pellet-api/v1/storage-volume" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pellet-api/v1/storage-volume", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pellet-api/v1/storage-volume");
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/pellet-api/v1/storage-volume",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Storage = the pellet mass ÷ the bulk (poured) density, about 650 kg/m³ for ENplus pellets. So 2.3 tonnes of a year's pellets fill roughly 3.6 m³ — size a hopper or silo room for the full delivery plus headroom for the fill pipe and a margin, since a bulk blower needs space to settle the pellets without crushing them to dust.",
"inputs": {
"pellet_kg": 2314.81,
"bulk_density_kg_m3": 650
},
"storage_litres": 3561.2,
"storage_volume_m3": 3.561
},
"meta": {
"timestamp": "2026-06-07T08:17:48.740Z",
"request_id": "f68434f4-5404-4cc5-8ffa-9a2b717cb0b2"
},
"status": "ok",
"message": "Storage volume",
"success": true
}