Skip to content
Documentation · Fields and units

Fields and units

The fields of an aircraft in the FlyItalyADSB API (readsb aircraft.json format) and their units: altitude in feet or "ground", speed in knots, dbFlags, seen_pos, position source.

Updated

Each aircraft is a record in readsb’s aircraft.json format (readsb docs), the same as tar1090 and adsb.lol. Fields are missing when the aircraft doesn’t transmit them. The main ones:

FieldMeaningUnit
hex24-bit ICAO address; a leading ~ marks a non-ICAO address (e.g. TIS-B)hexadecimal
flightcallsign, padded with spaces to 8 characters: trim() it
rregistration, from the aircraft database
tICAO type code (e.g. A320), from the aircraft database
dbFlagsbit values: 1 military, 2 interesting, 4 PIA, 8 LADDbitmask
lat, lonpositiondecimal degrees
alt_barobarometric altitude, or the string "ground" when on the groundfeet
alt_geomgeometric (GNSS) altitudefeet
gsground speedknots
tracktrue trackdegrees
baro_ratevertical ratefeet/minute
squawktransponder code, 4 digits
categoryemitter category (e.g. A3)
typeposition source: adsb_icao, mlat, tisb_icao, adsr_icao…
seenseconds since the last messageseconds
seen_posseconds since the last positionseconds
mlatthe fields derived from multilaterationlist

For the other fields (ias, mach, nav_altitude_mcp, rssi…), see readsb’s documentation.

Good to know

  • alt_baro can be a string. Check its type before doing maths: "ground" means on the ground.
  • Aviation units: feet, knots and feet per minute. The request radius, on the other hand, is in kilometres.
  • Freshness: positions older than about 60 seconds are not returned. seen_pos tells you how recent the one you see is.
  • Times: now is in Unix seconds (UTC); seen and seen_pos are relative to it.
  • Registration and type are there for about 99% of aircraft. They are missing for new addresses or ones not in the database.
  • Not included: the route (departure and arrival airports), the operating airline and photos.
  • type: mlat: the position comes from our multilateration, not from the aircraft. See How MLAT works.