- Takes: Name
- Passive: the target is not contacted
Takes one hex code or a comma-separated list. For a single code the API returns a single aircraft object, not a collection; append a trailing comma to force a collection. The now property of each aircraft is when it was last observed.
Path parameters
hexICAO code of the aircraft, or a comma-separated list
Response fields · 15ShowHide
hex
ICAO 24-bit address (hex) of the aircraft
flight
Flight number or callsign
r
Registration or tail number
t
Aircraft type code
lat
Latitude
lon
Longitude
alt_geom
Geometric altitude in feet
gs
Ground speed in knots
track
Track over the ground in degrees
squawk
Transponder squawk code
msg
Status message for the request
now
Server time, Unix milliseconds
total
Number of aircraft in the response
ctime
When the underlying data was last updated, Unix milliseconds
ptime
Server processing time in milliseconds
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/hex/abc123' \
-H 'x-api-key: YOUR_API_KEY'{
"ac": [
{
"hex": "abc123",
"flight": "EXA123",
"r": "N123EX",
"t": "B38M",
"lat": 37.5,
"lon": -122.3,
"alt_geom": 12000,
"gs": 310,
"track": 90,
"squawk": "1200"
}
],
"msg": "No error",
"now": 1767225600000,
"total": 1,
"ctime": 1767225599000,
"ptime": 1
}