Getting Started
Access the live tracking index (aircraft, callsigns, operators, routes) plus airports, runways, waypoints, countries, aircraft types, and public /media/ artwork through a key-authenticated REST API.
The API is built on REST principles, accepts query parameters for GET requests, and returns standard JSON. All requests require an active API key.
Current dataset
Counts from GET /api/v1/stats (refreshed every few minutes).
Live tracking index
Reference & geography
Media-ready records
Full airline and airport responses include media URLs and readiness flags where assets exist. See Airline Full and Airport Full in the sidebar.
Available Endpoints
Data Coverage
Two layers: a live tracking index that grows with ADS-B sightings, and a curated reference library (airports, countries, types, waypoints, and brand artwork) available immediately through the API.
Tracking index: aircraft, callsign, route, and operator rows are created when that registration or callsign is seen on the live feed. Counts in the first stat group above increase as new traffic is observed.
Reference library: airports, runways, countries, waypoints, and aircraft type metadata are loaded from maintained datasets. Airline, airport, and country browse pages share the same fields returned by airline_full, airport_full, and countries endpoints.
Media: logos, liveries, maps, airport charts, and flags live under /media/. API responses point to public paths and set has_logos, has_chart, and similar flags so clients can skip missing artwork.
404 Not Found response for an aircraft, callsign, or operator does not necessarily mean the resource doesn't exist: it may simply not have been observed yet.You may encounter
| Situation | Explanation |
|---|---|
| Aircraft not found | Registration or ICAO24 hasn't been seen in the live feed yet. |
| Callsign not found | That specific callsign variant hasn't been logged yet. |
| Incomplete operator fleet | Only aircraft observed operating under that name are listed. |
| Sparse route results | The route hasn't been operated many times since data collection began. |
Authentication
All requests require an active API key via Bearer header or api_key query parameter.
Option 1: Authorization header (recommended)
Option 2: Query parameter
Rate Limits
All API requests are subject to rate limiting based on your current plan.
Daily limits by plan
| Plan | Requests per day |
|---|---|
| Free | 10 |
| 30 days of tracking history | 100 |
| 90 days of tracking history | 1000 |
| 180 days of tracking history | 5000 |
| 365 days of tracking history | 10000 |
Per-minute limits scale with your daily allowance (minimum 10/min).
X-RateLimit-Limit and X-RateLimit-Remaining headers so you can track usage.{
"error": {
"code": 429,
"message": "Rate limit exceeded. Maximum 10 requests per minute."
}
}
Errors
All error responses follow the same shape: an error object with a numeric code and a human-readable message.
{
"error": {
"code": 401,
"message": "Invalid API key."
}
}
404 means the resource hasn't been observed in the live feed yet. See Data Coverage.Status Codes
api_key.Waypoint Short
Compact waypoint record: ident, country, lat/lon, FIR, and a coordinates string. Pass iso_country when the ident appears in multiple countries.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| waypoint_shortstring | Required | Waypoint identifier (2–10 alphanumeric characters). |
| iso_countrystring | Optional | Disambiguate when multiple countries share the same ident. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/waypoints.php?waypoint_short=KESEG&iso_country=UK&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/waypoints.php", params={ "waypoint_short": "KESEG", "iso_country": "UK", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ waypoint_short: "KESEG", iso_country: "UK", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/waypoints.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/waypoints.php?" . http_build_query([ "waypoint_short" => "KESEG", "iso_country" => "UK", "api_key" => "YOUR_KEY" ]);
{
"waypoint": {
"ident": "KESEG",
"iso_country": "UK",
"lat": 60.016111,
"lon": -6.015556,
"fir": "EGPX",
"coordinates": "60.016111, -6.015556"
}
}Waypoint Full
All columns from the waypoints table, including last_updated (from last_fetched). waypoint= is an alias for this endpoint.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| waypoint_fullstring | Required* | Waypoint ident. *Or use waypoint= (same response). |
| iso_countrystring | Optional | Disambiguate multi-country idents. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/waypoints.php?waypoint_full=KESEG&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/waypoints.php", params={ "waypoint_full": "KESEG", "api_key": "YOUR_KEY" })
{
"waypoint": {
"iso_country": "UK",
"ident": "KESEG",
"lat": 60.016111,
"lon": -6.015556,
"fir": "EGPX",
"last_updated": "2026-03-12 14:22:01",
"coordinates": "60.016111, -6.015556"
}
}Airport Short
Compact airport summary: ident, name, country, IATA/GPS codes, FIR, municipality, coordinates, and elevation.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airport_shortstring | Required | ICAO identifier (e.g. EGKK). 2–5 alphanumeric characters. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airports.php?airport_short=EGKK&api_key=YOUR_KEY"import requests r = requests.get("https://aviationdb.uk/api/v1/airports.php", params={ "airport_short": "EGKK", "api_key": "YOUR_KEY" }) print(r.json()["airport"]["name"]) # London Gatwick Airport
const params = new URLSearchParams({ airport_short: "EGKK", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/airports.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/airports.php?" . http_build_query([ "airport_short" => "EGKK", "api_key" => "YOUR_KEY" ]); $data = json_decode(file_get_contents($url), true);
{
"airport": {
"ident": "EGKK",
"name": "London Gatwick Airport",
"iso_country": "GB",
"gps_code": "EGKK",
"iata": "LGW",
"FIR": "EGTT",
"municipality": "London",
"coordinates": "51.148744, -0.185739",
"elevation_ft": 202
}
}Airport Full
Every column from the airports table plus all runways rows for that ICAO (full runway column set).
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airport_fullstring | Required | ICAO identifier (e.g. EGKK). |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airports.php?airport_full=EGKK&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/airports.php", params={ "airport_full": "EGKK", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ airport_full: "EGKK", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/airports.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/airports.php?" . http_build_query([ "airport_full" => "EGKK", "api_key" => "YOUR_KEY" ]);
{
"airport": {
"ident": "EGKK", "type_left": "large_airport",
"elevation_ft": 202, "iso_country": "GB",
"iso_region": "GB-ENG", "municipality": "London",
"gps_code": "EGKK", "local_code": null,
"coordinates": "51.148744, -0.185739",
"FIR": "EGTT", "name": "London Gatwick Airport"
},
"runways": [
{
"id": 239573, "airport_ident": "EGKK",
"length_ft": 10883, "width_ft": 148,
"surface": "ASP", "lighted": 1, "closed": 0,
"le_ident": "08R", "le_heading_degT": 78,
"he_ident": "26L", "he_heading_degT": 258
}
]
}Runways only
Runway rows only: designators, headings, dimensions, and threshold coordinates. No airport name, ICAO, or location fields in the response (same runway columns as airport_full, minus airport metadata).
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airport_runwaysstring | Required | ICAO identifier (e.g. EGKK). |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airports.php?airport_runways=EGKK&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/airports.php", params={ "airport_runways": "EGKK", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ airport_runways: "EGKK", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/airports.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/airports.php?" . http_build_query([ "airport_runways" => "EGKK", "api_key" => "YOUR_KEY" ]);
{
"runway_count": 2,
"runways": [
{
"length_ft": 10883, "width_ft": 148,
"surface": "ASP", "lighted": 1, "closed": 0,
"le_ident": "08R", "le_latitude_deg": 51.1451,
"le_longitude_deg": -0.212345, "le_heading_degT": 78,
"he_ident": "26L", "he_heading_degT": 258
}
]
}Aircraft Short
Returns a compact aircraft identity record. Accepts either a tail number or a 6-character ICAO24 hex address.
404 means it hasn't been seen yet.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| aircraft_shortstring | Required | Registration (e.g. G-EZUC) or 6-char ICAO24 hex (e.g. 40643D). Alias: aircraft_info=. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/aircraft.php?aircraft_short=G-EZUC&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/aircraft.php", params={ "aircraft_short": "G-EZUC", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ aircraft_short: "G-EZUC", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/aircraft.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/aircraft.php?" . http_build_query([ "aircraft_short" => "G-EZUC", "api_key" => "YOUR_KEY" ]);
{
"aircraft": {
"registration": "G-EZUC",
"icao24": "40643D",
"icao_type": "A320",
"aircraft_type": "A320",
"aircraft_model": "A320-200",
"operator": "easyJet",
"airline_code": "EZY",
"is_private_operator": false
}
}Aircraft Full
Full aircraft row, linked aircraft_details when available, resolved media paths (white template and operator livery), and optional personal callsign history with callsigns=1.
&callsigns=1 to include a known_routes array. Use &limit=N to cap results (default 20, max 100).Query Parameters
| Parameter | Required | Description |
|---|---|---|
| aircraft_fullstring | Required | Registration or 6-char ICAO24 hex address. |
| callsignsinteger | Optional | Set to 1 to include known_routes. |
| limitinteger | Optional | Max callsign records when callsigns=1. Default 20, max 100. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/aircraft.php?aircraft_full=G-EZUC&callsigns=1&limit=5&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/aircraft.php", params={ "aircraft_full": "G-EZUC", "callsigns": 1, "limit": 5, "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ aircraft_full: "G-EZUC", callsigns: 1, limit: 5, api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/aircraft.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/aircraft.php?" . http_build_query([ "aircraft_full" => "G-EZUC", "callsigns" => 1, "limit" => 5, "api_key" => "YOUR_KEY" ]);
{
"aircraft": {
"id": 12345, "registration": "G-VIIL", "icao_hex": "4007C4",
"icao24": "4007C4", "model_icao": "B772", "operator": "British Airways",
"airline_code": "BAW", "aircraft_details": { "icao": "B772", "name": "Boeing 777-200" },
"media": {
"white_template_path": "/media/aircraft_types/B772-white.png",
"livery_path": "/media/airline_assets/BAW/liveries/BAW-777.png"
}
}
}{
"aircraft": { /* ...same as above... */ },
"known_routes": [
{ "callsign": "EZY12AB", "route_from": "EGKK", "route_to": "LEMD" }
]
}Callsign Search
Retrieve the route for an exact callsign, along with all associated historical flights and unique aircraft that have operated it.
404 means it hasn't been observed yet.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| callsign_searchstring | Required | Exact callsign (e.g. EZY65CG). 2–10 alphanumeric characters. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/callsigns.php?callsign_search=EZY65CG&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/callsigns.php", params={ "callsign_search": "EZY65CG", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ callsign_search: "EZY65CG", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/callsigns.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/callsigns.php?" . http_build_query([ "callsign_search" => "EZY65CG", "api_key" => "YOUR_KEY" ]);
{
"master": {
"callsign": "EZY65CG", "operator": "easyJet",
"route_from": "LPPT", "route_to": "EGGW",
"callsigns_total": 1, "last_seen_time": "2026-06-08 00:37:46"
},
"flights": [
{
"registration": "G-EZUC", "icao24": "40643D",
"route_from": "LPPT", "route_to": "EGGW",
"aircraft_type": "A320", "operator": "easyJet"
}
],
"aircraft": [
{ "registration": "G-EZUC", "aircraft_type": "A320", "aircraft_model": "A320-200" }
]
}Callsigns by Operator
Returns all known callsigns for a given operator name, ordered by most recent activity.
easyJet, not Easyjet). Use Operator Search to confirm the exact stored name.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| callsign_operatorstring | Required | Exact operator name (e.g. Ryanair, easyJet). Min 2 characters. |
| limitinteger | Optional | Max records. Default 10, max 100. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/callsigns.php?callsign_operator=Ryanair&limit=2&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/callsigns.php", params={ "callsign_operator": "Ryanair", "limit": 2, "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ callsign_operator: "Ryanair", limit: 2, api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/callsigns.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/callsigns.php?" . http_build_query([ "callsign_operator" => "Ryanair", "limit" => 2, "api_key" => "YOUR_KEY" ]);
{
"count": 2,
"results": [
{
"callsign": "RYR13YB", "operator": "Ryanair",
"route_from": "LEMD", "route_to": "EGSS",
"callsigns_total": 1, "last_seen_time": "2026-06-07 19:18:43"
}
]
}Route Search NEW
Returns all distinct callsigns and aircraft that have operated a specific route pair, identified by departure and arrival ICAO codes joined with a hyphen.
EGKK-LEMD (Gatwick → Madrid).Query Parameters
| Parameter | Required | Description |
|---|---|---|
| route_searchstring | Required | Route pair in ICAO-ICAO format (e.g. EGKK-LEMD). |
| limitinteger | Optional | Max records for callsigns and aircraft. Default 20, max 100. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/callsigns.php?route_search=EGKK-LEMD&limit=5&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/callsigns.php", params={ "route_search": "EGKK-LEMD", "limit": 5, "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ route_search: "EGKK-LEMD", limit: 5, api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/callsigns.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/callsigns.php?" . http_build_query([ "route_search" => "EGKK-LEMD", "limit" => 5, "api_key" => "YOUR_KEY" ]);
{
"route": { "from": "EGKK", "to": "LEMD" },
"count": 2,
"callsigns": [
{
"callsign": "EZY12AB", "route_from": "EGKK", "route_to": "LEMD",
"operator": "easyJet", "callsigns_total": 4,
"last_seen_time": "2026-06-07 22:14:09"
}
],
"aircraft": [
{
"registration": "G-EZUC", "icao24": "40643D",
"aircraft_type": "A320", "operator": "easyJet"
}
]
}Airline Short
Lookup by ICAO (e.g. BAW), IATA, or operator name. Returns identifying fields including region.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airline_shortstring | Required | ICAO, IATA, or airline name (partial name match supported). |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airlines.php?airline_short=BAW&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/airlines.php", params={ "airline_short": "BAW", "api_key": "YOUR_KEY" })
const params = new URLSearchParams({ airline_short: "BAW", api_key: "YOUR_KEY" });
const data = await fetch(`https://aviationdb.uk/api/v1/airlines.php?${params}`).then(r => r.json());$url = "https://aviationdb.uk/api/v1/airlines.php?" . http_build_query([ "airline_short" => "BAW", "api_key" => "YOUR_KEY" ]);
{
"airline": {
"icao": "BAW",
"iata": "BA",
"name": "British Airways",
"country": "United Kingdom",
"region": "Europe",
"status": "active"
}
}Airline Full
Full airlines table row plus media (public /media/… paths for logos, maps, liveries) and media_ready flags for logo/tail assets.
/media/ load in the browser without an API key. Prefix with https://aviationdb.uk when embedding in HTML.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airline_fullstring | Required | ICAO, IATA, or airline name. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airlines.php?airline_full=BAW&api_key=YOUR_KEY"r = requests.get("https://aviationdb.uk/api/v1/airlines.php", params={ "airline_full": "BAW", "api_key": "YOUR_KEY" })
{
"airline": {
"icao": "BAW", "iata": "BA", "name": "British Airways",
"region": "Europe", "has_logos": 1, "has_maps": 1,
"media": {
"logos": {
"icon_light": "/media/airline_assets/BAW/logos/icon_animated.svg",
"tail_2d": "/media/airline_assets/BAW/logos/tail_2d.svg"
},
"maps": [ "/media/airline_assets/BAW/maps/europe.png" ],
"liveries": [ "/media/airline_assets/BAW/liveries/BAW-777.png" ]
},
"media_ready": { "logo": true, "tail": true }
}
}Airline list by region
Paginated airlines in a region with resolved logo/tail URLs and media_ready per row.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airline_liststring | Required | Region name (e.g. Europe). See regions=1. |
| include_neighboursinteger | Optional | Set to 1 to include neighbouring regions. |
| require_logointeger | Optional | Set to 1 to omit airlines without a resolvable logo URL. |
| require_tailinteger | Optional | Set to 1 to omit airlines without a resolvable tail icon URL. |
| limitinteger | Optional | Max rows (default 50, max 500). |
| offsetinteger | Optional | Pagination offset (default 0). |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airlines.php?airline_list=Europe&include_neighbours=1&require_tail=1&limit=10&api_key=YOUR_KEY"{
"region": "Europe",
"include_neighbours": true,
"regions_matched": [ "Europe", "Middle East", "Africa" ],
"limit": 10, "offset": 0, "count": 10,
"airlines": [
{
"icao": "BAW", "name": "British Airways", "region": "Europe",
"media": { "logo_url": "/media/...", "tail_url": "/media/..." },
"media_ready": { "logo": true, "tail": true }
}
]
}Region reference
Canonical region names for airline_list and country_list, plus the neighbour map used when include_neighbours=1.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| regionsflag | Required | Set to 1. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airlines.php?regions=1&api_key=YOUR_KEY"{
"airline_regions": [ "Africa", "Asia", "Europe", "Middle East", "North America", "Oceania", "South America" ],
"country_regions": [ "Africa", "Americas", "Asia", "Europe", "Oceania" ],
"neighbours": {
"Europe": [ "Middle East", "Africa", "Asia" ]
}
}Fleet & callsigns
Airline directory (short + full with media) plus live-tracking-derived callsigns and aircraft seen on the network for that ICAO code.
operator.php?operator_search= still works (deprecated) with the older operator summary shape.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| airline_trackingstring | Required | ICAO, IATA, or airline name. |
| limitinteger | Optional | Max callsign rows (default 20, max 100). Does not limit aircraft list. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/airlines.php?airline_tracking=easyJet&limit=5&api_key=YOUR_KEY"{
"airline": { "icao": "EZY", "name": "easyJet", "region": "Europe" },
"airline_full": { "media": { "logos": { ... } }, "media_ready": { "logo": true, "tail": true } },
"tracking": { "total_callsigns": 842, "total_aircraft": 156, "last_seen_time": "2026-06-08 01:12:04" },
"callsigns": [
{ "callsign": "EZY65CG", "route_from": "LPPT", "route_to": "EGGW", "callsigns_total": 1 }
],
"aircraft": [
{ "registration": "G-EZUC", "icao24": "40643D", "aircraft_type": "A320" }
]
}Country Short
ISO code, name, regions, aircraft registration_prefix, and public flag_url.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| country_shortstring | Required | ISO 2/3 letter code or country name. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/countries.php?country_short=GB&api_key=YOUR_KEY"{
"country": {
"iso": "GB",
"name": "United Kingdom",
"region": "Europe",
"airline_region": "Europe",
"registration_prefix": "G-",
"flag_url": "/media/countries/gb.svg",
"has_flag": true
}
}Country Full
Every column from the countries table plus registration_prefix, flag_url, and airline_region.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| country_fullstring | Required | ISO 2/3 letter code or country name. |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/countries.php?country_full=United Kingdom&api_key=YOUR_KEY"{
"country": {
"iso": "GB", "name": "United Kingdom", "capital": "London",
"region": "Europe", "subregion": "Northern Europe",
"airline_region": "Europe",
"registration_prefix": "G-",
"flag_url": "/media/countries/gb.svg"
}
}Country list by region
Countries filtered by airline-style region names (same as airline_list), with optional prefix/flag filters.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| country_liststring | Required | Region (e.g. Europe). |
| include_neighboursinteger | Optional | 1 to include neighbouring regions. |
| require_prefixinteger | Optional | 1 to omit countries without a known registration prefix. |
| require_flaginteger | Optional | 1 to require has_flag. |
| limit / offsetinteger | Optional | Pagination (default limit 50, max 500). |
| api_keystring | Required | Your active API key. |
Example Request
curl -X GET "https://aviationdb.uk/api/v1/countries.php?country_list=Europe&require_prefix=1&limit=20&api_key=YOUR_KEY"{
"region": "Europe",
"total_matched": 42,
"count": 20,
"countries": [
{
"iso": "GB", "name": "United Kingdom",
"registration_prefix": "G-", "airline_region": "Europe"
}
]
}Active Flights
Returns aircraft currently tracked in your reception area. Data is scoped exclusively to the API key owner and requires an active tracking subscription.
403. Authenticate with Authorization: Bearer YOUR_KEY or ?api_key=.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| api_keystring | Optional | Your active API key (if not using Bearer header). |
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/active"
r = requests.get("https://aviationdb.uk/api/v1/me/active", headers={"Authorization": "Bearer YOUR_KEY"})
const data = await fetch("https://aviationdb.uk/api/v1/me/active", { headers: { Authorization: "Bearer YOUR_KEY" } }).then(r => r.json());
{
"active_now": 2,
"flights": [
{
"callsign": "EZY12AB",
"icao24": "40643D",
"registration": "G-EZUC",
"lat": 51.15, "lon": -0.19,
"airline": "easyJet",
"origin_icao": "EGKK", "dest_icao": "LEMD",
"aircraft_type": "A320",
"altitude": 35000, "speed": 420, "heading": 120,
"last_updated": "2026-06-07 22:14:09",
"aircraft_seen_total": 12, "callsign_seen_total": 4
}
]
}Sightings History
Paginated personal sighting log, clamped to your plan history window. Optional filters for registration, callsign, and since timestamp.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| limitinteger | Optional | Max records. Default 50, max 100. |
| offsetinteger | Optional | Pagination offset. Default 0. |
| registrationstring | Optional | Filter by tail number (e.g. G-EZUC). |
| callsignstring | Optional | Filter by callsign. |
| sincestring | Optional | Only sightings on or after this timestamp (ISO 8601 or YYYY-MM-DD HH:MM:SS). |
| api_keystring | Optional | Your active API key (if not using Bearer header). |
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/sightings?registration=G-EZUC&limit=20&offset=0"
r = requests.get("https://aviationdb.uk/api/v1/me/sightings", headers={"Authorization": "Bearer YOUR_KEY"}, params={"registration": "G-EZUC", "limit": 20})
{
"history_days": 30, "total": 142, "limit": 20, "offset": 0,
"sightings": [
{
"callsign": "EZY12AB", "registration": "G-EZUC",
"operator": "easyJet",
"route_from": "EGKK", "route_to": "LEMD",
"aircraft_type": "A320",
"region_label": "London",
"show_in_community": 1,
"seen_at": "2026-06-07 22:14:09"
}
]
}Tracking Summary
Aggregate counts for your account within the current plan window: total sightings, unique registrations, and active aircraft now.
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/summary"
{
"plan": { "name": "30 days of tracking history", "history_days": 30 },
"total_sightings": 142,
"unique_registrations": 87,
"active_now": 1
}Aircraft Lookup NEW
Global aircraft short/full records (including type details, media paths, and linked airline full when applicable), plus your sightings, route history, and stats within your plan window.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| registrationstring | Required | Aircraft tail number (e.g. G-EZUC). |
| limitinteger | Optional | Max recent sightings returned. Default 20, max 100. |
| api_keystring | Optional | Your active API key (if not using Bearer header). |
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/aircraft?registration=G-EZUC&limit=10"
r = requests.get("https://aviationdb.uk/api/v1/me/aircraft", headers={"Authorization": "Bearer YOUR_KEY"}, params={"registration": "G-EZUC", "limit": 10})
{
"registration": "G-EZUC", "history_days": 30,
"aircraft": { /* short tier */ },
"aircraft_full": { "media": { "livery_path": "/media/..." }, "aircraft_details": { ... } },
"airline_full": { "media": { "logos": { ... } } },
"your_stats": {
"total_sightings": 12, "unique_callsigns": 4,
"first_seen": "2026-05-01 08:12:00", "last_seen": "2026-06-07 22:14:09"
},
"routes": [{ "route_from": "EGKK", "route_to": "LEMD", "times_seen": 5 }],
"sightings": [ ... ]
}Callsign Lookup NEW
Returns global route metadata for a callsign plus your personal sightings, aircraft operated, and stats within your plan window.
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| callsignstring | Required | Flight callsign (e.g. EZY12AB). |
| limitinteger | Optional | Max recent sightings. Default 20, max 100. |
| api_keystring | Optional | Your active API key (if not using Bearer header). |
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/callsign?callsign=EZY12AB"
{
"callsign": "EZY12AB",
"route": { "callsign": "EZY12AB", "route_from": "EGKK", "route_to": "LEMD", "operator": "easyJet" },
"your_stats": { "total_sightings": 8, "unique_aircraft": 2 },
"aircraft": [{ "registration": "G-EZUC", "times_seen": 5 }],
"sightings": [ ... ]
}Route History NEW
Returns your personal sightings on a specific route pair, including distinct callsigns and aircraft you have logged on that leg.
route_search=EGKK-LEMD or separate route_from and route_to ICAO codes.Query Parameters
| Parameter | Required | Description |
|---|---|---|
| route_searchstring | Required* | Route pair in ICAO-ICAO format (e.g. EGKK-LEMD). *Or use route_from + route_to. |
| route_fromstring | Optional | Departure ICAO when not using route_search. |
| route_tostring | Optional | Arrival ICAO when not using route_search. |
| limitinteger | Optional | Max recent sightings. Default 20, max 100. |
| api_keystring | Optional | Your active API key (if not using Bearer header). |
Example Request
curl -H "Authorization: Bearer YOUR_KEY" "https://aviationdb.uk/api/v1/me/route?route_search=EGKK-LEMD&limit=10"
r = requests.get("https://aviationdb.uk/api/v1/me/route", headers={"Authorization": "Bearer YOUR_KEY"}, params={"route_search": "EGKK-LEMD"})
{
"route": { "from": "EGKK", "to": "LEMD" },
"your_stats": { "total_sightings": 15, "unique_aircraft": 6, "unique_callsigns": 8 },
"callsigns": [{ "callsign": "EZY12AB", "times_seen": 4 }],
"aircraft": [{ "registration": "G-EZUC", "times_seen": 3 }],
"sightings": [ ... ]
}Response Objects
Field-level reference for every object returned by the API.
Airport (Short)
"ident"string- ICAO identifier (e.g. EGKK)
"iso_country"string- 2-letter ISO country code
"gps_code"string- GPS code (usually matches ident)
"FIR"string- Flight Information Region code
"name"string- Full airport name
}
Airport (Full)
The airport object includes every column from the airports table (passengers, website, wikipedia_url, has_chart, has_icon, etc.). runways is an array of full runway rows.
"type_left"string- Classification (e.g. large_airport, small_airport)
"elevation_ft"integer- Field elevation in feet
"iso_region"string- Region code (e.g. GB-ENG)
"municipality"string- Associated city or municipality
"local_code"string | null- Local aviation code if applicable
"coordinates"string- Decimal lat/lon (e.g. "51.148744, -0.185739")
"runways"array- Array of runway objects (see below)
}
Runway
"length_ft"integer
"width_ft"integer
"surface"string- Surface material code (e.g. ASP, CON, GRS)
"lighted"integer- 1 if lighted
"closed"integer- 1 if closed
"le_ident"string- Low-end threshold designator (e.g. 08R)
"le_heading_degT"float- Low-end true heading
"he_ident"string- High-end threshold designator (e.g. 26L)
"he_heading_degT"float
}
Aircraft (Short)
"registration"string- Aircraft tail number (e.g. G-EZUC)
"icao24"string- 24-bit Mode-S transponder address (e.g. 40643D)
"aircraft_type"string- ICAO type code (e.g. A320)
"aircraft_model"string- Common model name (e.g. A320-200)
"operator"string- Current operator name
}
Aircraft (Full)
…aircraft table columns…object- id, icao_hex, registration, model_icao, operator, airline_code, serial_number, year_built, etc.
"icao24"string- Alias of icao_hex
"aircraft_details"object | null- Linked type record from aircraft_details when model_icao matches
"media"object- white_template_path, livery_path (public paths under /media/…)
"known_routes"array | undefined- Top-level key when callsigns=1 on aircraft_full
}
Waypoint (Full)
"iso_country"string
"ident"string
"lat"float
"lon"float
"fir"string
"last_updated"string- UTC timestamp from last_fetched
}
Airline (Full)
…airlines table columns…object
"media"object- logos (icon/banner/tail paths), maps[], liveries[]
"media_ready"object- logo, tail booleans
}
Country (Short)
"iso"string
"name"string
"region"string- UN macro region from countries table
"airline_region"string- Mapped to airlines.region vocabulary
"registration_prefix"string | null- ICAO nationality mark (e.g. G-)
"flag_url"string | null- Public /media/countries/… path
}
Callsign (Master)
"callsign"string
"operator"string
"route_from"string- Most common departure airport ICAO
"route_to"string- Most common arrival airport ICAO
"callsigns_total"integer- Times this callsign was logged
"last_seen_time"string- UTC timestamp of most recent sighting
}
Operator
"operator"string
"total_callsigns"integer- Total distinct callsigns observed
"total_aircraft"integer- Total distinct aircraft observed
"last_seen_time"string- UTC timestamp of most recent activity
}