AIRPORT-INFO
Airport Info Retrieval Script Documentation
Last updated
Airport Info Retrieval Script Documentation
Last updated
GET
https://api.kosontechnology.com/airport.php
This API script is designed to retrieve information from the airport info database using provided parameters.
type
String
To specify the desired airport type.
iso_country
String
To specify the desired country.
iso_region
String
To specify the desired region within the selected country.
iata_code
String
To specify the desire iata_code.
gps_code
String
To specify the desire icao_code.
download
-
To download the json file.
Making an HTTP request via a web browser or API Platform etc. .
The following parameters are accepted:
type
To specify the desired airport type.
Airport type. Etc. large_airport
iso_country
To specify the desired country.
Country ISO2 code. Etc. MY
iso_region
To specify the desired region within the selected country.
ISO2 Code of Country + ISO2 Code of State. Etc. MY_01
iata_code
To specify the desire iata_code.
Airport IATA code. Etc. KUL
gps_code
To specify the desire icao_code.
Airport ICAO code. Etc. WMKK
download
To download the JSON output
This parameter does not require the content, Leave empty or Type anything is acceptable
Depending on the parameters provided, the script will construct a URL to fetch information from the Railway Trains - India API.
type Parameter:
If you provide a type
parameter of airport type etc. 'large_airport', the script will retrieve the airport type.
There are 5 airport type in this parameter, which are Small_airport, Medium_airport, Large_airport, Closed and Heliport.
iso_country
Parameter:
If you provide aniso_country
parameter of country iso2 code etc. 'MY', the script will retrieve country iso2 code.
iso_region
Parameter:
If you provide an iso_region
parameter of region iso2 code etc. 'MY_01', the script will retrieve region iso2 code.
iata_code
Parameter:
If you provide an iata_code
parameter of iata_code etc. 'KUL', the script will retrieve airport IATA code.
gps_code
Parameter:
If you provide a gps_code
parameter of icao_code etc. 'WMKK', the script will retrieve airport ICAO code.
download
Parameter:
Below is a sample how to find Malaysia ISO2 Code:
Find Malaysia and you will see country code at the left column.
Below is a sample how to find Malaysia Airport IATA & ICAO(GPS) Code:
Find Malaysia from the list of airports by country.
Retrieve all airports data from Malaysia:
Retrieve all airports data from Malaysia and Johor State:
Retrieve airport data based on IATA code:
Retrieve airport data based on IATA(GPS) code:
Add download at the back of the link to download the database in json format.
If you want to download the JSON output of these parameter, define the parameter with empty or any input will able you to auto download it. See the download sample at .
Refer this to find your ISO2 Code.
Onclick on the code then Wikipedia with direct you to where you can find its state code.
Refer this to find your IATA & ICAO(GPS) Code.
Onclick on the code then Wikipedia with direct you to where you can find its IATA and ICAO(GPS) code.