# ADS-B Exchange API reference

> ADS-B Exchange publishes live and historical aircraft positions collected by a worldwide network of ADS-B and MLAT receivers. An investigator uses it to find where an aircraft, registration or callsign was last seen, what is in the air near a point or airport, and recent takeoffs and landings.…

Source: https://osinttools.io/apis/adsb-exchange/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/adsb-exchange/

- Base URL: https://gateway.adsbexchange.com/api/aircraft/v2
- Authentication: API key in the `x-api-key` header. Get a key: https://www.adsbexchange.com/data-products/ Include Accept-Encoding: gzip on requests.
- Rate limits: Token bucket per key, shared across all endpoints. Limited Access 12 RPM: 1 request every 5 seconds, burst of 5, 19,008 per day. Limited Access 120 RPM: 2 requests per second, burst of 10, 190,080 per day.
- Vendor docs: https://www.adsbexchange.com/data-products/
- OpenAPI spec: https://gateway.adsbexchange.com/api/aircraft/v2/docs/openapi.json

## Overview

ADS-B Exchange publishes live and historical aircraft positions collected by a worldwide network of ADS-B and MLAT receivers. An investigator uses it to find where an aircraft, registration or callsign was last seen, what is in the air near a point or airport, and recent takeoffs and landings.

This reference follows the Enterprise API's published OpenAPI file at `https://gateway.adsbexchange.com/api/aircraft/v2`. Send the key in the `x-api-key` header and include `Accept-Encoding: gzip`. Properties without a value are omitted from responses, and new properties may be added.

The docs describe a token-bucket rate limit shared across all endpoints on a key. The separate Community API (formerly API Lite, non-commercial, sold through RapidAPI) is not described in a readable form, so its endpoints may differ. Filter, POST, geospatial and trace-file endpoints are in the spec and are not documented here.

## Errors

| Status | Meaning |
| --- | --- |
| 402 | Payment required |
| 403 | Forbidden |
| 429 | Rate limit exceeded; the limit applies across all endpoints on the key |
| 500 | Server error |

## Live aircraft

### Last known position of an aircraft by ICAO 24-bit hex code.

`GET /hex/{hex}`

- Takes: Name
- Footprint: passive (the target is not contacted)

Takes one hex code or a comma-separated list. For a single code the API returns a single aircraft object, not a collection; append a trailing comma to force a collection. The now property of each aircraft is when it was last observed.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `hex` | path | string | yes | ICAO code of the aircraft, or a comma-separated list Example: abc123 |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/hex/abc123' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft data by registration (tail number).

`GET /registration/{registration}`

- Takes: Name
- Footprint: passive (the target is not contacted)

Takes one registration or a comma-separated list.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `registration` | path | string | yes | Registration number, or a comma-separated list Example: N123EX |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/registration/N123EX' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft data by callsign.

`GET /callsign/{callsign}`

- Takes: Name
- Footprint: passive (the target is not contacted)

Takes one callsign or a comma-separated list.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `callsign` | path | string | yes | Callsign, or a comma-separated list Example: EXA123 |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/callsign/EXA123' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft data by squawk code.

`GET /sqk/{squawk}`

- Footprint: passive (the target is not contacted)

Takes one squawk code or a comma-separated list.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `squawk` | path | string | yes | Squawk code, or a comma-separated list Example: 7700 |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/sqk/7700' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft within 5 nautical miles of an airport.

`GET /airport/{airport}`

- Footprint: passive (the target is not contacted)

Takes an airport ICAO code.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `airport` | path | string | yes | ICAO code of the airport Example: KSFO |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/airport/KSFO' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft within a radius (nautical miles) of a point.

`GET /lat/{lat}/lon/{lon}/dist/{dist}`

- Footprint: passive (the target is not contacted)

Returns aircraft within the given radius of the coordinates.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `lat` | path | number | yes | Latitude of the center point Example: 37.7749 |
| `lon` | path | number | yes | Longitude of the center point Example: -122.4194 |
| `dist` | path | number | yes | Radius in nautical miles Example: 50 |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/lat/37.7749/lon/-122.4194/dist/50' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Aircraft data by ICAO code.

`GET /icao/{icao}`

- Footprint: passive (the target is not contacted)

Takes one ICAO code or a comma-separated list.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `icao` | path | string | yes | ICAO code of the aircraft Example: abc123 |

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/icao/abc123' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Military aircraft currently tracked.

`GET /mil`

- Footprint: passive (the target is not contacted)

Returns only military aircraft.

Response fields:

- `ac[].hex` (string): ICAO 24-bit address (hex) of the aircraft
- `ac[].flight` (string): Flight number or callsign
- `ac[].r` (string): Registration or tail number
- `ac[].t` (string): Aircraft type code
- `ac[].lat` (number): Latitude
- `ac[].lon` (number): Longitude
- `ac[].alt_geom` (number): Geometric altitude in feet
- `ac[].gs` (number): Ground speed in knots
- `ac[].track` (number): Track over the ground in degrees
- `ac[].squawk` (string): Transponder squawk code
- `msg` (string): Status message for the request
- `now` (integer): Server time, Unix milliseconds
- `total` (integer): Number of aircraft in the response
- `ctime` (integer): When the underlying data was last updated, Unix milliseconds
- `ptime` (integer): Server processing time in milliseconds

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/mil' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ac": [
    {
      "hex": "abc123",
      "flight": "EXA123",
      "r": "N123EX",
      "t": "B38M",
      "lat": 37.5,
      "lon": -122.3,
      "alt_geom": 12000,
      "gs": 310,
      "track": 90,
      "squawk": "1200"
    }
  ],
  "msg": "No error",
  "now": 1767225600000,
  "total": 1,
  "ctime": 1767225599000,
  "ptime": 1
}
```

### Total number of aircraft currently tracked.

`GET /total-aircraft`

- Footprint: passive (the target is not contacted)

Count of aircraft in the current dataset.

Response fields:

- `total` (integer): Number of aircraft

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/total-aircraft' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "total": 12345
}
```

## Operations

### Takeoffs and landings for one aircraft, newest first.

`GET /operations/icao/{icao}`

- Footprint: passive (the target is not contacted)

Paginated, 20 items per page.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `icao` | path | string | yes | ICAO code (hex) of the aircraft Example: abc123 |
| `page` | query | integer | no | Page number; defaults to 1 Example: 1 |
| `time_from` | query | integer | no | Start of the search, Unix seconds; defaults to 24 hours ago Example: 1767139200 |
| `time_to` | query | integer | no | End of the search, Unix seconds; defaults to now Example: 1767225600 |

Response fields:

- `items[].icao` (string): ICAO hex code
- `items[].registration` (string): Registration
- `items[].flight` (string): Flight or callsign
- `items[].time` (string): Time of the operation
- `items[].airport` (string): Airport
- `items[].runway` (string): Runway
- `items[].operation` (string): Type of operation (takeoff or landing)
- `totalItems` (integer): Total operations for the query
- `totalPages` (integer): Pages available
- `pageNumber` (integer): Current page
- `msg` (string): Status message

```bash
curl 'https://gateway.adsbexchange.com/api/aircraft/v2/operations/icao/abc123' \
  -H 'x-api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "items": [
    {
      "icao": "abc123",
      "registration": "N123EX",
      "flight": "EXA123",
      "time": "2026-01-01T12:00:00Z",
      "airport": "KEXA",
      "runway": "28L",
      "operation": "landing"
    }
  ],
  "totalItems": 1,
  "totalPages": 1,
  "pageNumber": 1,
  "msg": "No error"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
