/v1/fuel-required
Fuel required for a trip
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/fuelburn-api/v1/fuel-required" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fuelburn-api/v1/fuel-required", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fuelburn-api/v1/fuel-required");
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/fuel-required",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Fuel required = trip time × burn, plus the reserve. The trip time uses the ground speed, so plan the leg on the forecast wind; add taxi and climb allowances on top for a real flight, since the climb burns richer and faster than cruise. Carry the total — trip plus reserve plus a personal margin — and confirm it fits within both the tank capacity and the weight-and-balance limits.",
"inputs": {
"burn_gph": 10,
"distance_nm": 300,
"reserve_min": 45,
"ground_speed_kt": 120
},
"trip_fuel_gal": 25,
"time_enroute_h": 2.5,
"reserve_fuel_gal": 7.5,
"time_enroute_hms": "2:30",
"total_fuel_required_gal": 32.5
},
"meta": {
"timestamp": "2026-06-07T08:18:05.337Z",
"request_id": "fd201e98-cd83-4225-97d2-62fdc039b6ac"
},
"status": "ok",
"message": "Fuel required",
"success": true
}