lookup_aircraft_state
Retrieve the latest ADS-B state vector for any registered aircraft by providing its FAA N-Number or ICAO24 hex code. Get real-time position, altitude, speed, heading, and on-ground status.
Instructions
Return the latest public ADS-B state vector for a registered aircraft.
Accepts either an FAA N-Number (e.g. N12345, N123AB) or a 6-char
ICAO24 hex (e.g. a061d9). N-Numbers are converted in-process first;
on failure the FAA public registry is consulted as a fallback.
Returns position (lat/lon), barometric altitude (m), ground speed (m/s),
heading (°), on-ground flag, and last-contact timestamp. Requires
OPENSKY_CLIENT_ID + OPENSKY_CLIENT_SECRET (OAuth2, preferred) or
OPENSKY_USERNAME + OPENSKY_PASSWORD (Basic Auth, legacy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail_or_icao | Yes |