Naar de inhoud
GET /v1/range

Range from fuel, burn and ground speed

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/fuelburn-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}