Zum Inhalt springen
GET /v1/aircraft

One aircraft current state

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

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