Zum Inhalt springen
GET /v1/storage-volume

Storage volume from mass

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}