Vai al contenuto
GET /v1/storage-volume

Storage volume from mass

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/pellet-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}