/v1/endurance
Endurance from fuel and burn
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}