A simple API developed to allow avgeeks to easily utilise the 24-bit ICAO hex code or callsign to obtain detailed information about aircraft flying over their ADS-B radar. See it in action on a custom radar webpage.
Please do not scrape the database. While the database is updated daily, upstream changes only happen monthly. All data sources can be found in the footer. If users make an excessive number of requests in a short period of time, IP addresses may be blocked. Caching has now been implemented so a larger number of requests will be tolerated.
You can now submit corrections for incorrect aircraft, airport, or route data. Spotted something wrong? Submit a correction and it'll be reviewed and applied.
GET https://hexdb.io/api/v1/aircraft/{hex}
GET https://hexdb.io/api/v1/aircraft/4010ee
{"ICAOTypeCode":"A319","Manufacturer":"Airbus","ModeS":"4010EE","OperatorFlagCode":"EZY","RegisteredOwners":"easyJet Airline","Registration":"G-EZBZ","Type":"A319 111"}
GET https://hexdb.io/api/v1/aircraft/000000
{"status":"404","error":"Aircraft not found."}
GET https://hexdb.io/api/v1/route/icao/{callsign}
GET https://hexdb.io/api/v1/route/iata/{callsign}
GET https://hexdb.io/api/v1/route/icao/EIN17A
{"flight":"EIN17A","route":"EIDW-EGLL","updatetime":1397991739}
GET https://hexdb.io/api/v1/route/icao/ABC123
{"status":"404","error":"Route not found."}
GET https://hexdb.io/api/v1/airport/icao/{icao}
GET https://hexdb.io/api/v1/airport/iata/{iata}
GET https://hexdb.io/api/v1/airport/icao/EGLL
{"airport":"Heathrow Airport","country_code":"GB","iata":"LHR","icao":"EGLL","latitude":51.4706,"longitude":-0.461941,"region_name":"England"}
GET https://hexdb.io/api/v1/airport/icao/AAAA
{"status":"404","error":"Airport not found."}
Retrieve images of aircraft using the ICAO/Mode-S hex.
https://hexdb.io/hex-image?hex=<HEX>
https://hexdb.io/hex-image-thumb?hex=<HEX>
Various conversions using the ICAO/Mode-S hex.
https://hexdb.io/hex-reg?hex=<HEX>
https://hexdb.io/hex-type?hex=<HEX>
https://hexdb.io/hex-airline?hex=<HEX>
https://hexdb.io/reg-hex?reg=<REG>
Converting a callsign to the flight route (e.g. EGLL-LEBL).
https://hexdb.io/callsign-route?callsign=<CALLSIGN>
https://hexdb.io/callsign-route-iata?callsign=<CALLSIGN>
https://hexdb.io/callsign-des_icao?callsign=<CALLSIGN>
https://hexdb.io/callsign-des_iata?callsign=<CALLSIGN>
https://hexdb.io/callsign-origin_icao?callsign=<CALLSIGN>
https://hexdb.io/callsign-origin_iata?callsign=<CALLSIGN>
Converting IATA/ICAO airport codes.
https://hexdb.io/iata-airport?iata=<IATA>
https://hexdb.io/icao-airport?icao=<ICAO>
https://hexdb.io/iata-icao?iata=<IATA>
https://hexdb.io/icao-iata?icao=<ICAO>
Data courtesy of PlaneBase/PlanePlotter, Jim Mason, Steve Hibberd, ip2location and Airport-Data.
Any questions? Get in touch - [email protected]