/v1/range
Range from fuel, burn and ground speed
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}