/v1/burn
Burn-time estimate
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}