GETFlight
Get Airports
/flight/data/airports
Retrieve the worldwide airport reference list used by flight search.
Source: API Documentation.pdf, pages 35-36Authorization required
Call the authentication endpoint first, then include the returned access token in the Authorization header together with Content-Type: application/json.
Parameters
| Name | Type | Example | Description |
|---|---|---|---|
success | Boolean | true | Indicates whether the request was processed successfully. |
data | Array (Object) | - | List of airport records. |
airportCode | String | MZR | Airport code. |
city | String | Mazar-I-Sharif | City where the airport is located. |
countryId | String | CD | Internal country identifier. |
countryCode | String | 180 | Numeric country code. |
areaCode | String | MZR | Airport area code used for flight search. |
timeZone | String | Asia/Kabul | Time zone of the airport location. |
internationalAirportName | String | Mazar-e Sharif Airport | Official international airport name. |
airportIcaoCode | String | OAMS | ICAO airport code. |
localAirportName | String | Mazar-e Sharif Airport | Local airport name. |
localCityName | String | Mazar-I-Sharif | Localized city name. |
countryName | String | Congo - Kinshasa | Full country name. |