Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/fuelburn-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/fuelburn-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fuelburn-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fuelburn-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "US gal, gph, kt, nm. endurance = usable fuel ÷ burn; range = usable endurance × ground speed; fuel = time × burn + reserve. Reserves default 45 min. Plan on forecast ground speed; add taxi/climb. For density altitude use a density-altitude API; for glide a glide-ratio API.",
        "service": "fuelburn-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/range": "Range from fuel, burn and ground speed.",
            "GET /v1/endurance": "Total and usable endurance from fuel and burn rate.",
            "GET /v1/fuel-required": "Trip and total fuel for a distance, with reserve."
        },
        "description": "Aircraft fuel-planning maths: endurance from fuel and burn, range from ground speed, and fuel required for a trip — all with a reserve."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:05.519Z",
        "request_id": "2f9c219f-9ef5-43ee-9940-835b7fc0d01a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}