Skip to content
flyitalyadsbPublic

About

ADS-B flight data API: live aircraft positions as JSON from about 3,200 community receivers worldwide, any radius up to the whole world in one request (Pro). Free key, commercial use allowed. History, overflights, webhooks, MCP server, OpenAPI.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Free ADS-B flight tracking API: FlyItalyADSB

Live aircraft positions as JSON, for any point on Earth. One curl returns every aircraft within a radius of a point (position, altitude, speed, callsign, registration, type, squawk, military/PIA/LADD flags), from a community network of about 3,200 ADS-B and MLAT receivers. The key is free and self-serve, and commercial use is allowed on every plan, Free included, within its limits.

Get a free API key · API docs · OpenAPI spec · Examples · Python client · Plans · FAQ · MCP server for AI assistants · Live map

curl -H "X-Api-Key: $FLYITALYADSB_API_KEY" \
  https://api.flyitalyadsb.com/v2/lat/51.47/lon/-0.45/dist/25

Quickstart (30 seconds)

  1. Get a key. Enter your email on the API page. You get a link that shows the key once. There is no approval step.
  2. Keep it out of your code.
    export FLYITALYADSB_API_KEY=your-key   # or put it in a git-ignored .env, see .env.example
  3. Ask for the aircraft around a point (here 25 km around London Heathrow; the radius is in kilometres):
    curl -H "X-Api-Key: $FLYITALYADSB_API_KEY" \
      https://api.flyitalyadsb.com/v2/lat/51.47/lon/-0.45/dist/25
  4. Read the JSON. now is Unix seconds, ac has one record per aircraft in readsb's aircraft.json format, the same as tar1090 and adsb.lol. Shortened, real values:
    {
      "now": 1793114821.1,
      "count": 30,
      "total": 30,
      "ac": [
        { "hex": "40838b", "type": "adsb_icao", "flight": "BAW486L ", "r": "G-TTSI", "t": "A20N",
          "lat": 51.380496, "lon": -0.645676, "alt_baro": 5050, "alt_geom": 5200,
          "gs": 254.0, "track": 199.79, "baro_rate": 1344, "squawk": "2043",
          "category": "A3", "seen_pos": 0.4 }
      ]
    }
    Altitudes are in feet (alt_baro is the string "ground" on the ground), speeds in knots, vertical rate in ft/min. flight is space-padded: trim it. Every field: fields and units.

Python client

The official Python client is in python/, published on PyPI as flyitalyadsb: standard library only, typed, Python 3.9+.

pip install flyitalyadsb
from flyitalyadsb import Client

client = Client()  # reads FLYITALYADSB_API_KEY
for a in client.near(51.47, -0.45, 25):  # 25 km around London Heathrow
    print(a.callsign, a.registration, a.icao_type, a.altitude)

One method per endpoint (near, world, by_icao, military, squawk, history, profile, overflights, events…), typed errors for the plan limits (403 and 429) and your usage from the X-FIA-* headers in client.limits. Details: python/README.md.

Endpoints

Base URL https://api.flyitalyadsb.com/v2. Every request carries the key in the X-Api-Key header and gets JSON back; all are GET except webhook management. The machine-readable description is openapi/openapi.json (OpenAPI 3.1).

Endpoint Returns
/lat/{lat}/lon/{lon}/dist/{km} Every aircraft within km kilometres of a point, anywhere in the world
/icao/{hex} · /callsign/{callsign} · /reg/{reg} One aircraft by ICAO address, callsign or registration (404 when it isn't seen now)
/mil · /pia · /ladd Military, PIA and LADD aircraft seen now, network-wide
/sqk/{squawk} · /type/{type} Aircraft squawking a code (7700, 7600, 7500) or of an ICAO type (A320, B738, R44)
/profile/{icao} One aircraft in one call: identity, live status, first and last day in the history
/history/{icao} · /history/{icao}/{YYYY-MM-DD} The days with a track for an aircraft, and one day's track (every day since 2023-03-03; from 2022-04-10 only the first and last point of each flight)
/overflights?lat=&lon=&dist=&from=&to= The aircraft that flew over a place between two times (since 2026-08-17)
/events?lat=&lon=&dist= Emergencies, military and other notable traffic in an area, up to 7 days back
POST /webhooks The same events pushed to your URL, signed (paid plans)

Coming from ADS-B Exchange?

The same data is also served in its format, at https://api.flyitalyadsb.com/api/aircraft/v2:

  • the same paths: /hex, /icao, /callsign, /registration, /sqk, /mil, /lat/{lat}/lon/{lon}/dist/{nm}, /point and /closest;
  • the same key headers: api-auth, X-RapidAPI-Key or X-Api-Key;
  • the same JSON: ac, msg, now in milliseconds, total, ctime, ptime, radius in nautical miles, with dst and dir.

Existing code only changes the host and the key:

- https://adsbexchange-com1.p.rapidapi.com/v2/lat/51.47/lon/-0.45/dist/25/
+ https://api.flyitalyadsb.com/api/aircraft/v2/lat/51.47/lon/-0.45/dist/25/

Same key, plans and limits as /v2. Details: ADS-B Exchange v2 compatibility.

The /v2 base above is our own format: radius in kilometres, /icao, /callsign and /reg return the aircraft object rather than a list, and now is in seconds. Details: migration notes.

What people build with it

  • Desk, LED and e-paper flight displays (ESP32, Raspberry Pi), including ones sold as products: "what's that plane over my house". The biggest group. Start from the ESP32 sketch and the displays and devices guide.
  • Plane-spotting apps and websites: live traffic around airports, rare types (/type/{type}), aircraft profiles. See the apps guide (key on your server, one cache for all users).
  • Drones and search-and-rescue awareness: what's flying low nearby. Read the drones guide first. This is not a certified tool and never for collision avoidance.
  • OSINT and military traffic: unfiltered data, military aircraft included (many via MLAT), /mil, /events.
  • Aircraft noise monitoring: /overflights answers "what flew over this address between 6 and 7 am", with the closest distance and the lowest altitude. See overflights.py.
  • Helicopter tracking: rotorcraft that broadcast an emitter category carry category: "A7"; or query a type such as /type/EC35.

Examples

All examples read the key from the FLYITALYADSB_API_KEY environment variable and have no third-party dependencies unless noted.

Example What it does
examples/curl.sh curl + jq: a radius, one aircraft by callsign, squawk 7700, military traffic, your usage headers, coverage of an area
python/ The official Python client, pip install flyitalyadsb (standard library only)
examples/python/quickstart.py The smallest Python client (standard library)
examples/python/near_me.py "Aircraft near me" CLI: nearest first, with distance and direction, --watch to refresh, handles 403/429
examples/python/overflights.py What flew over a place in a time window (noise, helicopters, "what was that?")
examples/python/cache_server.py One key for a whole product: your server fetches once every 30 s, your devices ask your server
examples/node/near.mjs Node.js 18+ with built-in fetch
examples/esp32/planes-overhead/ ESP32 desk display of the planes overhead (serial monitor or SSD1306 OLED; ArduinoJson)
export FLYITALYADSB_API_KEY=your-key
python3 examples/python/near_me.py 40.64 -73.78 -r 50     # 50 km around New York JFK

Coverage

The network is global: born in Italy in 2020, with receivers all over the world. The API answers for any point on Earth.

Of the receivers that share their position, about 36% are in the United States, 15% in Germany, 11% in the UK and Ireland and 16% in the rest of Europe; Asia, Australia and New Zealand follow; Latin America and Africa are thinner; Italy is about 3% (26 October 2026).

On top of plain ADS-B, the network's own multilateration (MLAT) locates aircraft that don't broadcast a position, many military ones included.

Check your area before you build on it:

  • the coverage tool: aircraft seen in the last 24 hours, position freshness and receivers around any place;
  • the same as JSON, no key needed (30 requests a minute per IP):
    curl -A "my-app/1.0" "https://api.flyitalyadsb.com/api/coverage?lat=45.46&lon=9.19&radius=100"
  • or a request with a Free key, or a look at the live map.

Freshness: the picture refreshes every half second, on the live map and in the API; each aircraft carries seen_pos, and positions older than about 60 seconds are not returned.

Plans and limits

The map and the Free plan stay free, commercial use included, within their limits. Paid plans are for heavy API users: Pro and Fleet return the whole world in one request, and a paid plan raises the limits of the key you already have. Self-serve plans are best effort; an SLA is available on tailored plans, in a written agreement. FlyItalyADSB is operated by Nesso Labs S.r.l. (Brescia, Italy), certified to ISO/IEC 27001; the receivers are run by volunteers.

Choose mostly by area: each request asks for the aircraft in a circle, and the largest circle depends on the plan.

Plan Price Requests/min (per key) Requests/month Radius per request
Free €0 30 300,000 up to 500 km
Starter €9/month + tax 60 1,000,000 up to 1,000 km
Pro €49/month + tax 300 10,000,000 whole world
Fleet €149/month + tax 300 10,000,000 whole world
  • The Free plan also has a cap of 100 requests a minute per IP.
  • The whole world in one request (/lat/0/lon/0/dist/20040) needs Pro or Fleet.
  • Over a limit you get 429 (with Retry-After) or 403 for too large a radius. Refused requests are not counted and nothing is ever billed beyond the plan.
  • The monthly counter resets on the 1st.
  • Every response carries X-FIA-Plan, X-FIA-Limit-Per-Min, X-FIA-Quota-Month and X-FIA-Used-Month.
  • Self-serve plans are best effort, with no guaranteed response times; an SLA is available on tailored plans, in a written agreement.
  • Run a receiver? Feeders get Pro's limits and features on their Free keys at no cost, for non-commercial use. It's how the network grows: become a feeder, then turn the perk on in My API.
  • More than 25 watched aircraft, more volume, an SLA, or reselling the data as an API or feed for other people's products: get in touch.

Current prices and limits are always on the plans page.

Licence and credit

The only thing we ask is a credit with the licence, where your users see the data (in the app, on the device or in its manual, on the product page):

Flight data: FlyItalyADSB (flyitalyadsb.com), CC BY-SA 4.0

If space is tight: Data: flyitalyadsb.com (CC BY-SA 4.0). Your app's code, artwork and design stay yours. The details are in using the data in a product and the terms of service.

This repository: the code (examples, scripts and the Python client) is MIT. The flight data the API returns is not MIT: it is CC BY-SA 4.0 under the API terms. See NOTICE.

FAQ

Can I use it in a product I sell?

Yes, on every plan, Free included, within the plan's limits: apps, devices, websites and services, paid ones too. No separate agreement is needed. One is only needed to resell the data as an API or feed for other people's products.

Which ADS-B API returns the whole world in one request?

FlyItalyADSB's Pro plan, €49 a month + VAT, returns the whole world in one request: every aircraft the network sees, about 11,000 with a position. Polling it every 10 to 30 seconds is 86,400 to 259,200 requests a month, well inside Pro's 10 million, with commercial use included, in a product you sell too, and no overage: over a limit you get an error, never an extra charge. The request is /v2/lat/0/lon/0/dist/20040 (about 7.2 MB of JSON, 1.1 MB with gzip); Fleet answers for the whole world too. Keep the key on your server and serve your users from your own cache (cache_server.py). Plans and prices.

Which ADS-B API can I use in a display or device I sell?

This one: commercial use is allowed on every plan, Free included, inside devices you sell, with the credit line below. Among the open ADS-B APIs in the comparison, it is the only one that allows it on the free tier. For more than a few units, keep the key on your own server: one request every 30 seconds is 86,400 requests a month, however many units you sell. Guide with the ESP32 sketch and the server: displays and devices.

One key per device, or one per product? Can my server cache the data?

One key per product. Requests from all your devices, users and servers count together on it, from any IP. A key inside firmware or an app can be extracted, so from a few dozen units let your own server fetch once and serve your devices (cache_server.py). A caching server that serves only your own users is fine on every plan; it is not redistribution.

What does the licence require?

A credit line with the licence: Flight data: FlyItalyADSB (flyitalyadsb.com), CC BY-SA 4.0. See Licence and credit.

What's the coverage in my area, in the United States or in Germany?

The United States and Germany are the network's two largest shares of receivers (see Coverage). Check any place with the coverage tool or its keyless JSON, or try a request with a Free key. For low altitude near a regional airport, look at the aircraft on the ground in now and at receivers in the same JSON.

Which plan do I need, and what happens over the limit?

Pick by radius first, then size the volume as requests per minute per device × devices, and compare with the plans table. One device asking every 30 seconds makes 86,400 requests a month; a server fetching once every 30 seconds for any number of users is also 86,400 a month. Over a limit you get 429 or 403, never a bill. More worked examples: plan and limits.

Are routes, military aircraft and squawk codes in the data?

  • Routes (departure and arrival airports), airlines, schedules and photos: no. For those you need another source.
  • Military: yes. The data is unfiltered: military, PIA and LADD aircraft are flagged, not hidden. dbFlags & 1 marks military (2 interesting, 4 PIA, 8 LADD), and /mil lists them all.
  • Squawk: yes, squawk on every record that transmits one, and /sqk/7700 finds emergencies network-wide.
  • Registration and ICAO type are present for about 99% of aircraft.

Is there history?

Yes, self-serve with the same key: per-aircraft daily tracks, every day since 2023-03-03 except 2026-05-05 and 2026-05-06 (from 2022-04-10 to 2023-03-02 only the first and last point of each flight), and overflights of a place since 2026-08-17. See history.

Can I call it from a web page?

CORS is open, but a key in a web page is public. Call the API from your server.

I get an HTML page ("Attention Required", error 1010 or 1020) instead of JSON.

The request was stopped before the API. Always send X-Api-Key, and send a User-Agent of your own (your app's name). If it goes on, see limits and errors.

How does it compare with other ADS-B APIs?

See the factual ADS-B API comparison: rate limits, feeder requirements and commercial-use terms of each. Code written for ADS-B Exchange works here unchanged in its format: change the host and the key.

More answers in the FAQ.

Use it from an AI assistant (MCP)

The same data is available to Claude, ChatGPT and other assistants through an MCP server at https://flyitalyadsb.com/mcp (Streamable HTTP), listed in the official MCP registry as com.flyitalyadsb/mcp. Ask "which aircraft are near Rome Fiumicino right now?" and, in Claude and ChatGPT, the answer comes with an interactive map in the chat.

  • claude.ai: Connectors → Add custom connector → URL https://flyitalyadsb.com/mcp → Connect (sign in with your email and a 6-digit code; a free key is created if you have none).
  • Claude Code and clients without OAuth, with your key:
    claude mcp add --transport http flyitalyadsb https://flyitalyadsb.com/mcp \
      --header "X-Api-Key: $FLYITALYADSB_API_KEY"

Tools: find_aircraft, aircraft_near, special_traffic, aircraft_history, aircraft_profile, overflights, notable_traffic, set_my_location, clear_my_location. Each tool call counts as one request on your key. Guide: MCP and AI agents.

For agents and LLMs: llms.txt in this repository summarises the API, and the site publishes its own plus an API catalog.

Kept in sync with the live API

This repository keeps itself in sync with the live API and site. Every day the sync workflow runs scripts/sync.py, which:

  • copies the published spec, https://flyitalyadsb.com/openapi.json, into openapi/openapi.json (pretty-printed, so changes diff cleanly);
  • regenerates the parts of this README and of llms.txt between <!-- sync:… --> markers (plans and limits, receiver count and coverage shares) from the live site;
  • checks that every endpoint, parameter and field the examples use is still in the spec, and that the examples' default radii still fit the Free plan;
  • commits only if something changed, and fails without committing if anything doesn't parse or a check fails.
python3 scripts/sync.py --dry-run   # what would change; exit 1 if the repo is out of date

Links

Found a problem in an example? Open an issue in this repository.


Flight data: FlyItalyADSB (flyitalyadsb.com), CC BY-SA 4.0. Service provided by Nesso Labs S.r.l.

About

ADS-B flight data API: live aircraft positions as JSON from about 3,200 community receivers worldwide, any radius up to the whole world in one request (Pro). Free key, commercial use allowed. History, overflights, webhooks, MCP server, OpenAPI.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages