- Passive: the target is not contacted
Returns a paginated list. The result has page, limit, totalCount, totalPages, nextPage and items. The search parameter matches name, ICAO code, IATA code and alternative identifier.
Query parameters
searchCase-insensitive match on name, icaoCode, iataCode and altIdentifier
countryISO alpha-2 country code
typeAirport type code, for example 0 civil/military airport, 1 glider site, 3 international airport (full list in the spec); can be repeated
trafficType0 for VFR, 1 for IFR; can be repeated
pprIf true, only airfields that need prior permission
privateIf true, only private airfields
updatedAfterURI-encoded ISO 8601 UTC timestamp
fieldsComma-separated list of fields to return; all fields if omitted
sortByField to sort by
sortDescSort descending when sortBy is set
pagePage number, starting at 1
limitItems per page; the docs say it usually defaults to 1000
Response fields · 12ShowHide
page
The requested page
limit
Maximum items per page
totalCount
Total items matching the query
totalPages
Total pages
nextPage
Next page number, if any
_id
Internal document ID
name
Airport name
icaoCode
ICAO code
iataCode
IATA code
country
ISO 3166-1 alpha-2 country code
type
Airport type code
coordinates
Longitude and latitude
curl 'https://api.core.openaip.net/api/airports' \
-H 'x-openaip-api-key: YOUR_API_KEY'{
"page": 1,
"limit": 1000,
"totalCount": 1,
"totalPages": 1,
"nextPage": null,
"items": [
{
"_id": "0000000000000000000000aa",
"name": "Example Field",
"icaoCode": "ZZZZ",
"country": "CH",
"type": 2,
"geometry": {
"type": "Point",
"coordinates": [
8,
47
]
}
}
]
}