Airport Gap · Example Payload

Get Airport Jfk

AirportsAviationTransportationIATAICAODistance CalculationGeolocation

Get Airport Jfk is an example object payload from Airport Gap, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summaryrequestresponse

Example Payload

Raw ↑
{
  "summary": "GET /airports/JFK — retrieve JFK airport by IATA code",
  "request": {
    "method": "GET",
    "url": "https://airportgap.com/api/airports/JFK",
    "headers": {}
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "data": {
        "id": "JFK",
        "type": "airport",
        "attributes": {
          "name": "John F. Kennedy International Airport",
          "city": "New York",
          "country": "United States",
          "iata": "JFK",
          "icao": "KJFK",
          "latitude": "40.639751",
          "longitude": "-73.778925",
          "altitude": 13,
          "timezone": "America/New_York"
        }
      }
    }
  }
}