Airport (IATA) Search

IATA codes are an integral part of the travel industry, and essential for the identification of an airline, its destinations and its traffic documents. They are also fundamental to the smooth running of hundreds of electronic applications which have been built around these coding systems for passenger and cargo traffic purposes. This GET call does not have any specific parameters. It enables the user to get a list of all airlines (both LC - legacy carrier and LCC - low cost carrier) together with their codes.

Parameters

Name

Description

Accept

string

( header )

Must be application/json

Accept - Encoding

string

( header )

Must be gzip

Authorization

string

( header )

Must be Your API Key

Customer-Ip

string

( header )

Must be IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

action

string

( query )

Must be "getFlightLocations" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

term

string

( query )

Must be Relevent regions.

Specific information about the region e.g. whether it covers surrounding areas for a city. Only present when relevant for a region.

Response

The API returns an HTTP response, which generally includes the result of the request invocation

 {
        "_id": "4eda60758792904be4002b2e",
        "coordinates": {
            "lon": 77.10079,
            "lat": 28.556555
        },
        "city_fullname": "Delhi, India",
        "city_code": "DEL",
        "name": "Indira Gandhi International Airport",
        "_type": "airport",
        "_score": 55.883743,
        "city_name": "Delhi",
        "title": "Delhi",
        "country_code": "IN",
        "country_name": "India",
        "code": "DEL"
    }