Searching airports
Search for airports using a text query or additional options and filters.
GET
https://api.aviowiki.com/airports/search
This endpoint allows you to conduct an airport search using a free-text query string. It further allows to restrict the search results to certain locations based on filters passed as query parameters.
Query Parameters
Name | Type | Description |
---|---|---|
query | String | The query string (name, city etc.) you want to look for. |
page | Number | The page number for pagination, starting from |
size | Number | The number of results in a page, for pagination. Default: |
types | List | A comma-separated list of airport types to return. Possible options are If set it limits the returned locations to those with matching types in the |
accepts | List | A comma-separated list of the accepted types of traffic. Possible options are If set it limits the returned locations to those with matching types in the |
requiresPermission | Boolean | If set to If set to |
isVfr | Boolean | If set to If set to |
regions | List | |
country | String | |
countries | List | |
governingDistrict | String | |
minimumRunwayLength | Double | Minimum runway TORA the returned airports need to have.
If set, it limits the returned locations to those that have at least one runway with TORA at least |
maximumRunwayLength | Double | Maximum TORA the returned airports need to have.
If set, it limits the returned locations to those that's runways have TORA at most |
minimumRunwayWidth | Double | Minimum runway width the returned airports need to have.
If set, it limits the returned locations to those that have at least one runway with width at least |
maximumElevation | Double | Maximum elevation the returned airports need to have.
If set, it limits the returned locations to those that have elevation at most |
latitude | Double | Latitude of the reference point to search locations around. |
longitude | Double | Longitude of the reference point to search locations around. |
distance | Double | Maximum great circle distance in kilometers the returned locations need to be from the reference point set by the |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | An API Token using Bearer authorization. |
Detailed properties of the pagination can be found at Pagination.
Properties of the contained airports:
Property | Type | Description |
| String | Aviowiki ID of the airport, with |
| String | The name of the airport. This should be the official name of the airport written in Latin characters. |
| A Country object which represents the country at which an airport is located. | |
| String | The time-zone of the airfield as noted in the IANA Time Zone Database.
Defaults to |
| Coordinates object which represents the location of the Aerodrome Reference Point.
Defaults to | |
| String | A string with the 4-letters ICAO code of the airport, or |
| String | A string with the 3-letters IATA code of the airport, or |
| String | An identifier issued by the local authority, which is not recognised as an official ICAO or IATA code.
The name of the code for each country can be found in |
| A Governing District object indicating the Governing District of the Defaults to | |
| String | A string containing the name of the city served by the airport.
Defaults to |
| Decimal | A decimal number representing the elevation of the airport expressed in meters. Two decimal positions are provided, for precise conversion to feet.
Defaults to |
| Decimal | Longest runway length expressed in meters with precision up to two decimal positions.
Defaults to |
| Decimal | The widest runway width expressed in meters with precision up to two decimal positions.
Defaults to |
| String | Opening indicator flag taking into consideration the 4 types of airport availability. For details see opening indicator section.
Available values: |
| Decimal | Distance from the search coordinates given in the query expressed in kilometers with precision up to two decimal positions.
Defaults to |
| String | Worst criticality of the valid operational notes for the airport. Available values:
|
Retrieve random airports
GET
https://api.aviowiki.com/airports/search/random
Query Parameters
Name | Type | Description |
---|---|---|
page | Number | The page number for pagination, starting from `0` to indicate the first page. |
size | Number | The number of results in a page, for pagination |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | An API Token using Bearer authorization. |
Property | Type | Description |
| String | The name of the airport. This should be the official name of the airport written in Latin characters. |
| A Country object which represents the country at which an airport is located. | |
| String | The time-zone of the airfield as noted in the IANA Time Zone Database.
Defaults to |
| String | Aviowiki ID of the airport, with |
| Coordinates object which represents the location of the Aerodrome Reference Point.
Defaults to | |
| String | A string with the 4-letters ICAO code of the airport, or |
| String | A string with the 3-letters IATA code of the airport, or |
| String | An identifier issued by the local authority, which is not recognised as an official ICAO or IATA code.
The name of the code for each country can be found in |
| A Governing District object indicating the Governing District of the Defaults to | |
| String | A string containing the name of the city served by the airport.
Defaults to |
| Decimal | A decimal number representing the elevation of the airport expressed in meters. Two decimal positions are provided, for precise conversion to feet.
Defaults to |
| Decimal | Longest runway length expressed in meters with precision up to two decimal positions.
Defaults to |
| Decimal | The widest runway width expressed in meters with precision up to two decimal positions.
Defaults to |
| String | Opening indicator flag taking into consideration the 4 types of airport availability. For details see opening indicator section.
Available values: |
| Decimal | Distance from the search coordinates given in the query expressed in kilometers with precision up to two decimal positions.
Defaults to |
| String | Worst criticality of the valid operational notes for the airport. Available values:
|
Last updated