/v1/range
Range from fuel, burn and ground speed
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/fuelburn-api/v1/range" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fuelburn-api/v1/range", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fuelburn-api/v1/range");
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/range",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Range = usable endurance × ground speed, so it lives or dies on the wind: a headwind cuts the ground speed and the range with it, while burning the same fuel per hour. Always plan range on the forecast ground speed, not the true airspeed, and keep the reserve out of the calculation — the range here is to the reserve, not to dry tanks.",
"inputs": {
"burn_gph": 10,
"fuel_gal": 50,
"reserve_min": 45,
"ground_speed_kt": 120
},
"range_nm": 510,
"usable_endurance_h": 4.25
},
"meta": {
"timestamp": "2026-06-07T08:18:05.424Z",
"request_id": "0225b91d-eaba-4525-b22f-8790a9424b6e"
},
"status": "ok",
"message": "Range",
"success": true
}