# Retrieve Airports API


This API endpoint allows you to retrieve a list of airports located at a specified location by using a query. The information provided by this endpoint will be useful as an input parameter for the Flight Prices API.

Example API Request:

https://www.goflightlabs.com/retrieveAirport? access_key=YOUR_ACCESS_KEY&query=New

HTTP GET Request Parameters:

Object Description
access_key required Your API access key, which can be found in your account dashboard.
query required Location name of the situated Airport.

Example API Response:

    
      {
        "skyId": "NYCA",
        "entityId": "27537542",
        "presentation": {
            "title": "New York",
            "suggestionTitle": "New York (Any)",
            "subtitle": "United States"
        },
        "navigation": {
            "entityId": "27537542",
            "entityType": "CITY",
            "localizedName": "New York",
            "relevantFlightParams": {
                "skyId": "NYCA",
                "entityId": "27537542",
                "flightPlaceType": "CITY",
                "localizedName": "New York"
            },
            "relevantHotelParams": {
                "entityId": "27537542",
                "entityType": "CITY",
                "localizedName": "New York"
            }
        }
      },