Airport

Retrieve METAR Data for the Specified Airport.

This method fetches the METAR (Meteorological Aerodrome Report) for an airport, which provides current weather conditions at that airport. The report is identified using the airport's ICAO code.

get/api/v1/airports/{icao}/metar

Request

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

Path parameters

icaostring required

ICAO code of the airport

Response

The METAR data for the requested airport.

status'success' | 'error'

Status of the response. Can be either "success" or "error".

messagestring

A human-readable message providing additional information about the response.

codeinteger

An optional status code for the response. It typically indicates the HTTP status code.

Example response

{
  "status": "success",
  "message": "METAR data retrieved successfully.",
  "code": 200,
  "data": {
    "metar": "KJAX 031556Z 05011KT 10SM SCT034 SCT050 29\\/21 A3010 RMK AO2 SLP192 T02890206"
  }
}

Changes

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