Zum Inhalt springen
GET /v1/burntime

Appliance run time

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/propane-api/v1/burntime" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/propane-api/v1/burntime", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/propane-api/v1/burntime");
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/propane-api/v1/burntime",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Run time = total BTU ÷ the appliance's BTU/hr input rating. A 20 lb cylinder (~431,000 BTU) runs a 30,000 BTU/hr patio heater about 14 hours.",
        "inputs": {
            "unit": "lb",
            "tank_size": 20,
            "appliance_btu": 30000
        },
        "run_days": 3.6,
        "run_hours": 14.39,
        "total_btu": 431653,
        "usable_propane_gal": 4.72,
        "propane_gal_per_hour": 0.328
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:06.090Z",
        "request_id": "de265944-b688-4a93-a2b2-e1fa0632e786"
    },
    "status": "ok",
    "message": "Burn time",
    "success": true
}