/v1/aircraft
One aircraft current state
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/opensky-api/v1/aircraft" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opensky-api/v1/aircraft", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opensky-api/v1/aircraft");
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/opensky-api/v1/aircraft",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"airborne": true,
"aircraft": {
"icao24": "4b1815",
"squawk": "1000",
"callsign": "SWR262C",
"latitude": 43.8832,
"longitude": 2.0297,
"on_ground": false,
"heading_deg": 55.33,
"velocity_ms": 241.45,
"last_contact": "2026-06-01T16:23:43.000Z",
"geo_altitude_m": 12077.7,
"origin_country": "Switzerland",
"baro_altitude_m": 11582.4,
"vertical_rate_ms": 0
},
"snapshot_time": "2026-06-01T16:23:43.000Z"
},
"meta": {
"timestamp": "2026-06-01T16:23:50.636Z",
"request_id": "b4369675-3b3e-4d18-ac9a-635a633bf486"
},
"status": "ok",
"message": "Aircraft state retrieved",
"success": true
}