Zum Inhalt springen
GET /v1/burn

Burn-time estimate

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Burn time ≈ wax grams ÷ burn rate. A typical container candle burns ~7–9 g of wax per hour; bigger wicks burn faster. Measure your own rate for accuracy.",
        "inputs": {
            "burn_rate": 8,
            "wax_grams": 180
        },
        "burn_time_hours": 22.5,
        "burn_time_formatted": "22h 30m"
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:11.965Z",
        "request_id": "30089111-a333-484d-942a-bb018009bcf9"
    },
    "status": "ok",
    "message": "Burn time",
    "success": true
}