/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}