Our ADSB API is free to use. Whether you use it for a personal project or a commercial one.
Data will be updated every 5 seconds.
Our ADSB API lives at https://api.adsbapi.com. Use the table below for endpoints.
NOTE: Replace [var] with your value. Do not include the brackets [] in your API call.
Endpoint | Method | Description |
---|---|---|
/?circle=[lat],[lon],[radius in nmi] | GET | Returns all aircraft within radius nautical miles of lat, lon |
/?closest=[lat],[lon],[radius in nmi] | GET | Is the same as circle but only returning the closest aircraft |
/?box=[lat south],[lat north],[lon west],[lon east] | GET | Returns all aircraft within a rectangle delimited by 2 latitudes and longitudes |
/?find_hex=[hex1],[hex2],.... | GET | Returns all aircraft with an exact match on one of the given hex / ICAO ids (limited to 1000) |
/?find_callsign=[callsign1],[callsign2],..... | GET | Returns all aircraft with an exact match on one of the given callsigns (limited to 1000 or 8000 characters for the request) |
/?find_reg=[reg1],[reg2],..... | GET | Returns all aircraft with an exact match on one of the given registrations (limited to 1000 or 8000 characters for the request) |
/?find_type=[type1],[type2],..... | GET | Returns all aircraft that have one of the specified icao type codes (A321, B738, .....) |
Example: curl http://api.adsbapi.com/?find_hex=4D23DC
To the above endpoints you can add these filteroptions:
NOTE: Replace [var] with your value. Do not include the brackets [] in your API call.
Filter | Method | Description |
---|---|---|
&filter_callsign_exact=[callsign] | GET | Exact callsign match (multiple exact matches possible) |
&filter_callsign_prefix=[prefix] | GET | All callsigns that start with ..... |
&filter_squawk=[squawk] | GET | A specific squawk code |
&filter_type=[type1],[type2],..... | GET | Only return aircraft that match one of the icao type codes |
&below_alt_baro=[altitude in feet] | GET | Only returns below a certain altitude in ft (uncorrected barometric altitude, ground treated as 0 ft for simplicity / versatility) |
&above_alt_baro=[altitude in feet] | GET | Only returns above a certain altitude in ft (uncorrected barometric altitude, ground treated as 0 ft for simplicity / versatility) |
Example: curl http://api.adsbapi.com/?find_hex=4D23DC&below_alt_baro=2000