# ADS-B Exchange live aircraft in an area API

Get ADS-B Exchange aircraft inside a circle or bounding box via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as lat, limit, lon, and retrieve structured data including source registration label, source position latitude, barometric altitude in feet, ground speed in knots, and distance nm for area map, and paginated observations.

Documentation: https://openany.si/ads-b-exchange/ads-b-exchange-live-aircraft-in-an-area-api/9c2cf20e-e286-443a-bd59-910c858556a7/
API ID: 9c2cf20e-e286-443a-bd59-910c858556a7
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/adsbexchange/v1/area
Page update time: 2026-12-03T02:47:13.434Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:11.562Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## ADS-B Exchange Area Aircraft API

Use lat/lon with radius\_nm, or box in south,north,west,east order. Altitude filters use barometric feet; source distance and radius use nautical miles, with next\_offset for continuation.

## What You Can Build

- **Area map**: Keep the exact bounding-box order and source units.
- **Paginated observations**: Preserve observation times and returned offsets.

## Returned Data

| Field | Meaning |
| --- | --- |
| `aircraft[].hex` | Source ICAO 24-bit aircraft address |
| `aircraft[].registration` | Source registration label |
| `aircraft[].latitude` | Source position latitude |
| `aircraft[].altitude_baro_ft` | Barometric altitude in feet when available |
| `aircraft[].ground_speed_kt` | Ground speed in knots when available |
| `aircraft[].seconds_since_position` | Seconds since source position update |
| `aircraft[].distance_nm` | Distance from the selected source area context in nautical miles |
| `next_offset` | Next source result offset when present |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ADS-B Exchange live aircraft in an area API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "description": "Circle centre latitude."
        },
        "lon": {
          "type": "number",
          "description": "Circle centre longitude."
        },
        "radius_nm": {
          "type": "number",
          "description": "Circle radius in nautical miles (1-250, default 25)."
        },
        "box": {
          "type": "string",
          "description": "A box instead of a circle: `south,north,west,east` in degrees."
        },
        "min_altitude_ft": {
          "type": "number",
          "description": "Only aircraft at or above this barometric altitude (feet)."
        },
        "max_altitude_ft": {
          "type": "number",
          "description": "Only aircraft at or below this altitude (feet)."
        },
        "military": {
          "type": "boolean",
          "description": "true: military aircraft only."
        },
        "squawk": {
          "type": "string",
          "description": "Only aircraft squawking this code (4 octal digits)."
        },
        "callsign_prefix": {
          "type": "string",
          "description": "Only callsigns starting with this (e.g. `BAW`)."
        },
        "type": {
          "type": "string",
          "description": "Only this ICAO aircraft type (e.g. `A320`)."
        },
        "limit": {
          "type": "integer",
          "description": "Aircraft per page (1-500, default 100)."
        },
        "offset": {
          "type": "integer",
          "description": "Skip this many aircraft."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "aircraft": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "adsb_version": {
            "type": "integer"
          },
          "aircraft_type": {
            "type": "string"
          },
          "altitude_baro_ft": {
            "type": "null"
          },
          "altitude_geom_ft": {
            "type": "null"
          },
          "callsign": {
            "type": "null"
          },
          "category": {
            "type": "null"
          },
          "distance_nm": {
            "type": "number"
          },
          "emergency": {
            "type": "null"
          },
          "ground_speed_kt": {
            "type": "integer"
          },
          "hex": {
            "type": "string"
          },
          "indicated_airspeed_kt": {
            "type": "null"
          },
          "interesting": {
            "type": "boolean"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "mach": {
            "type": "null"
          },
          "magnetic_heading_deg": {
            "type": "null"
          },
          "messages": {
            "type": "integer"
          },
          "military": {
            "type": "boolean"
          },
          "nac_p": {
            "type": "integer"
          },
          "nac_v": {
            "type": "null"
          },
          "nic": {
            "type": "integer"
          },
          "on_ground": {
            "type": "boolean"
          },
          "outside_air_temp_c": {
            "type": "null"
          },
          "qnh_hpa": {
            "type": "null"
          },
          "receivers": {
            "type": "integer"
          },
          "registration": {
            "type": "string"
          },
          "roll_deg": {
            "type": "null"
          },
          "rssi": {
            "type": "number"
          },
          "sda": {
            "type": "null"
          },
          "seconds_since_position": {
            "type": "number"
          },
          "seconds_since_seen": {
            "type": "number"
          },
          "selected_altitude_fms_ft": {
            "type": "null"
          },
          "selected_altitude_ft": {
            "type": "null"
          },
          "selected_heading_deg": {
            "type": "null"
          },
          "sil": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "squawk": {
            "type": "null"
          },
          "total_air_temp_c": {
            "type": "null"
          },
          "track_deg": {
            "type": "integer"
          },
          "track_rate": {
            "type": "null"
          },
          "true_airspeed_kt": {
            "type": "null"
          },
          "true_heading_deg": {
            "type": "null"
          },
          "vertical_rate_baro_fpm": {
            "type": "null"
          },
          "vertical_rate_geom_fpm": {
            "type": "null"
          },
          "wind_direction_deg": {
            "type": "null"
          },
          "wind_speed_kt": {
            "type": "null"
          }
        }
      }
    },
    "applied_filters": {
      "type": "object",
      "properties": {}
    },
    "area": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number"
        },
        "lon": {
          "type": "number"
        },
        "radius_nm": {
          "type": "integer"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "next_offset": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "sort": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/adsbexchange/v1/area?lat=51.47&limit=1&lon=-0.45&output=json&radius_nm=30&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "aircraft": [
    {
      "adsb_version": 0,
      "aircraft_type": "TWR",
      "altitude_baro_ft": null,
      "altitude_geom_ft": null,
      "callsign": null,
      "category": null,
      "distance_nm": 0.1,
      "emergency": null,
      "ground_speed_kt": 0,
      "hex": "42584b",
      "indicated_airspeed_kt": null,
      "interesting": false,
      "latitude": 51.470575,
      "longitude": -0.447044,
      "mach": null,
      "magnetic_heading_deg": null,
      "messages": 8,
      "military": false,
      "nac_p": 11,
      "nac_v": null,
      "nic": 11,
      "on_ground": true,
      "outside_air_temp_c": null,
      "qnh_hpa": null,
      "receivers": 2,
      "registration": "TWR",
      "roll_deg": null,
      "rssi": -23.5,
      "sda": null,
      "seconds_since_position": 1.2,
      "seconds_since_seen": 1.2,
      "selected_altitude_fms_ft": null,
      "selected_altitude_ft": null,
      "selected_heading_deg": null,
      "sil": 2,
      "source": "adsb_icao_nt",
      "squawk": null,
      "total_air_temp_c": null,
      "track_deg": 0,
      "track_rate": null,
      "true_airspeed_kt": null,
      "true_heading_deg": null,
      "vertical_rate_baro_fpm": null,
      "vertical_rate_geom_fpm": null,
      "wind_direction_deg": null,
      "wind_speed_kt": null
    }
  ],
  "applied_filters": {},
  "area": {
    "lat": 51.47,
    "lon": -0.45,
    "radius_nm": 30
  },
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:23:51.368Z",
  "next_offset": 1,
  "offset": 0,
  "sort": "distance",
  "time": "2026-11-19T12:23:51.001Z",
  "total": 100
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What order does box use?
Use south,north,west,east in degrees. This order is specific to this contract.

### How large can a circle be?
radius_nm accepts 1–250 nautical miles and defaults to 25. Supply lat and lon for its centre.

### How do I continue through results?
limit accepts 1–500 and defaults to 100. Pass next_offset as offset and keep count separate from total.

### Are all records necessarily airborne?
No. Retain on_ground independently from optional altitude, military, squawk or type filters.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/ads-b-exchange/ads-b-exchange-live-aircraft-in-an-area-api/9c2cf20e-e286-443a-bd59-910c858556a7/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
