Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: FlyItalyADSB Account API
version: '2'
summary: Live and historical aircraft positions worldwide from the FlyItalyADSB community ADS-B/MLAT network. Commercial use allowed on every plan, Free included; the whole world in one request from the Pro plan (€49/month).
description: 'Unfiltered aircraft data (no FAA/LADD/BARR filtering; military aircraft included, many of them via MLAT) from a global network of receivers run by volunteers (about 3,200 receivers, densest in North America and Europe; any point on Earth can be queried), as readsb aircraft.json records (the same format as tar1090), plus an ADS-B Exchange v2–compatible variant at /api/aircraft/v2. PIA and LADD aircraft are flagged in the dbFlags bit field (value 4 for PIA, 8 for LADD), so your product can hide them where its market or app store requires. Every endpoint except the key signup needs an X-Api-Key; keys are self-serve (see /auth.md). Plans and limits: https://flyitalyadsb.com/data/api/#piani. The same key works on the MCP server at https://flyitalyadsb.com/mcp. The same data is also served in the ADS-B Exchange v2 format (same paths, key headers and JSON; radius in nautical miles) at https://api.flyitalyadsb.com/api/aircraft/v2, documented at https://flyitalyadsb.com/data/api/docs/adsbx-v2/. Operated by Nesso Labs S.r.l. (ISO/IEC 27001:2022, QMSCERT 160426-7).'
termsOfService: https://flyitalyadsb.com/terms/
contact:
name: Nesso Labs S.r.l. (FlyItalyADSB)
email: info@flyitalyadsb.com
url: https://flyitalyadsb.com/contact/
license:
name: 'Data: CC BY-SA 4.0'
url: https://creativecommons.org/licenses/by-sa/4.0/
servers:
- url: https://api.flyitalyadsb.com
security:
- ApiKey: []
tags:
- name: Account
description: 'The key''s account: the position saved for "aircraft near me".'
paths:
/v2/me/location:
get:
summary: The position saved on the key's account
description: 'For "aircraft near me": the position the user saved (My API, or the MCP tool set_my_location), rounded to about 1 km. Not counted as a request. `location` is null when none is saved.'
tags:
- Account
responses:
'200':
description: The saved position, or null.
content:
application/json:
schema:
$ref: '#/components/schemas/LocationResult'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/TooManyRequests'
operationId: getV2MeLocation
x-operation-id-source: derived
post:
summary: Save the position on the key's account
description: Replaces any saved position. Stored rounded to 2 decimals (about 1 km). At most 10 changes a minute per key.
tags:
- Account
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- lat
- lon
properties:
lat:
type: number
minimum: -90
maximum: 90
lon:
type: number
minimum: -180
maximum: 180
label:
type: string
maxLength: 80
description: A short name, e.g. "Brescia".
responses:
'200':
description: The saved position.
content:
application/json:
schema:
$ref: '#/components/schemas/LocationResult'
'400':
description: lat or lon is missing or out of range.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/TooManyRequests'
operationId: postV2MeLocation
x-operation-id-source: derived
/v2/me/location/clear:
post:
summary: Delete the position saved on the key's account
tags:
- Account
responses:
'200':
description: Deleted (location is null).
content:
application/json:
schema:
$ref: '#/components/schemas/LocationResult'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/TooManyRequests'
operationId: postV2MeLocationClear
x-operation-id-source: derived
components:
schemas:
LocationResult:
type: object
required:
- location
properties:
location:
type:
- object
- 'null'
properties:
lat:
type: number
lon:
type: number
label:
type:
- string
- 'null'
updated_at:
type: string
format: date-time
Error:
type: object
required:
- error
properties:
error:
type: string
code:
type: string
help:
type: string
format: uri
description: 'On 401, 403 and 429: the FAQ answer for this error.'
additionalProperties: true
responses:
TooManyRequests:
description: Per-minute limit (key or, on Free, IP) or the plan's monthly quota. Per-minute answers carry Retry-After.
headers:
Retry-After:
description: Seconds to wait.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid X-Api-Key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-Api-Key
description: 'Self-serve: https://flyitalyadsb.com/data/api/#api-key'
externalDocs:
description: 'API page: plans, endpoints, free key'
url: https://flyitalyadsb.com/data/api/