/v1/endurance
Endurance from fuel and burn
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/fuelburn-api/v1/endurance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fuelburn-api/v1/endurance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fuelburn-api/v1/endurance");
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/fuelburn-api/v1/endurance",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Endurance = usable fuel ÷ the burn rate. The legal and sensible move is to hold back a reserve — 30 min day / 45 min night VFR, 45 min IFR is typical — so the usable endurance is the time you can actually plan to, not the tanks-dry figure. Burn rises with power and richer mixtures, so use a realistic cruise number, not the brochure best case.",
"inputs": {
"burn_gph": 10,
"fuel_gal": 50,
"reserve_min": 45
},
"reserve_gal": 7.5,
"total_endurance_h": 5,
"usable_endurance_h": 4.25,
"total_endurance_hms": "5:00",
"usable_endurance_hms": "4:15"
},
"meta": {
"timestamp": "2026-06-07T08:18:05.234Z",
"request_id": "0395ccdf-f710-43a0-84b5-63a0292ee935"
},
"status": "ok",
"message": "Endurance",
"success": true
}