Airport

Airport Information Retrieval Endpoint.

This method provides an endpoint to fetch detailed information about an airport based on its ICAO code. In addition to basic airport details, the method attempts to fetch and provide the METAR data for the given airport, which includes current weather conditions. Additionally, based on the METAR wind data, it provides information on the relevant runways at the airport.

get/api/v1/airports/{icao}

Request

  • Base URL: https://atisgenerator.com
  • URL: https://atisgenerator.com/api/v1/airports/{icao}
  • Auth: none declared

Path parameters

icaostring required

ICAO code of the airport

Response

Response for successful retrieval of an airport.

status'success' | 'error'

Status of the response

messagestring

Message of the response

codeinteger

Code of the response

Example response

{
  "status": "success",
  "message": "Airport retrieved successfully.",
  "code": 200,
  "data": {
    "airport": {
      "id": "3649",
      "icao": "KJAX",
      "name": "Jacksonville International Airport",
      "runways": "26,08,32,14",
      "created_at": "2023-05-28T20:25:09.000000Z",
      "updated_at": "2023-05-28T20:25:09.000000Z"
    },
    "metar": "KJAX 291556Z 30008KT 10SM FEW050 BKN250 29/14 A2992 RMK AO2 SLP131 T02890144",
    "wind": {
      "dir": "300",
      "speed": "08",
      "gust_speed": "12"
    },
    "runways": [
      {
        "runway": "32",
        "runway_hdg": "320",
        "wind_dir": "300",
        "wind_diff": "20"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.