Vai al contenuto
GET /v1/range

Range from fuel, burn and ground speed

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/fuelburn-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}