ADSB Data API Usage Guide - adsb-related-code/how-to-setup-community-adsb-feeder GitHub Wiki
Some words
A massive thanks to everyone for supporting all the things we have been building and trying to accomplish over the last 8 months!
It's been hard dealing with the trolls, but banning and ejecting those few has been more than worth it. We're not interested in zealotry, falsehoods, or comical agendas. We are aviation enthusiasts first and foremost. We're determined and dedicated to create a sustainable long term network. Unlike others, we not are doing this for Internet fame, fan clubs, or private jet money; we do this because we have a passion for it.
To be clear, there has only been ~10 total bans from our Discord, some were given multiple chances to course correct. It was a small group and they were very vocal in causing problems while offering no solutions. Everyone behind the scenes and in this Discord lives rent free in their heads. Take comfort that our efforts to create a welcoming place for real aviation enthusiasts were successful.
Our goal is to be the top ADS-B tracking group and network there is! We need your help to do it!
Dedicated work instead of constant discord/forum/chat/social media drama allows PARTNERSHIPS that move the community forward without the trolls and zealotry!
We have combined efforts to bring you an API that you can use once a second as a drop in replacement for the ADSBexchange Rapid API v2.
All we ask is that you spread the word and feed data from your recievers! At this time the API does not require a feeder, but if you use and don't give back - that's simply uncool. You aren't uncool, are you?
Send Data: https://github.com/adsbfi/adsb-fi-scripts
ADS-B Community API
The ADS-B Community Data API lives at https://api.adsb.one. Use the table below for endpoints. To make switching easy, all responses conform to the ADSBExchange API v2.
Endpoints
NOTE: Replace [var]
with your value. Do not include the brackets in your API call.
Endpoint | Method | Description |
---|---|---|
/v2/hex/[hex] | GET | Return all aircraft with an exact match on one of the given Mode S hex ids (limited to 1000) |
/v2/callsign/[callsign] | GET | Returns all aircraft with an exact match on one of the given callsigns (limited to 1000 or 8000 characters for the request) |
/v2/reg/[reg] | GET | Returns all aircraft with an exact match on one of the given registrations (limited to 1000 or 8000 characters for the request) |
/v2/type/[type] | GET | Returns all aircraft that have one of the specified ICAO type codes (A321, B738, etc.) |
/v2/squawk/[squawk] | GET | Returns all aircraft that are squawking the specified value |
/v2/mil/ | GET | Returns all aircraft tagged as military |
/v2/ladd/ | GET | Returns all aircraft tagged as LADD |
/v2/pia/ | GET | Returns all aircraft tagged as PIA |
/v2/point/[lat]/[lon]/[radius] | GET | Returns all aircraft within a certain radius of a given point up to 250 nm |
Example Usage
curl https://api.adsb.one/v2/hex/A9CEE9
{"ac":[{"hex":"a9cee9","type":"adsb_icao","flight":"N731BP ","alt_baro":38000,"alt_geom":38275,"gs":338.9,"track":276.1,"baro_rate":0,"squawk":"3301","emergency":"none","category":"A2","nav_qnh":1013.6,"nav_altitude_mcp":38016,"nav_heading":280.55,"nav_modes":["autopilot","althold","lnav"],"lat":37.358322,"lon":-93.374147,"nic":9,"rc":75,"seen_pos":3.486,"version":2,"nic_baro":1,"nac_p":10,"nac_v":2,"sil":3,"sil_type":"perhour","gva":2,"sda":3,"alert":0,"spi":0,"mlat":[],"tisb":[],"messages":24844,"seen":0.7,"rssi":-15.8}],"msg":"No error","now":1675633671226,"total":1,"ctime":1675633671226,"ptime":0}
Rate Limiting
The ADS-B Community API is rate limited to 1 request per second.