Use API to find flight number of given ICAO hex?

I have a Piaware setup and I’m writing a Python script that collects some data about flights in the neighbourhood. In aircraft.json I find the ICAO hex of an aircraft. Is it possible to use a free API service to get a flight number (for example UA2777) for a given ICAO hex (for example A13DE2)?

Regards,
Pepijn

The ident/callsign the aircraft transmits will often tell you this, when present.

https://flightaware.com/live/modes/ABCDEF will redirect to FlightAware’s current flight page for ICAO address ABCDEF at the time (SkyAware provides this link), though this is for humans, not scripts.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.