Retrieve METARs
GET/:icao
Returns the current METARs for the specified airports.
The ICAO codes must be specified in the path, delimited by commas.
A special code of all
can be used to retrieve METARs for all airports.
A code of three characters or less will be treated as a wildcard, and will return METARs for all airports that start with that prefix.
Request
Path Parameters
icao string[]required
ICAO code of the airport
Example: EGLL
Query Parameters
format string
Possible values: [text
, json
]
Format of the response (default: text)
Example: text
Responses
- 200
Successful operation
- text/plain
- application/json
- Schema
Schema
- string
Newline-delimited METARs of the specified airports
- Schema
- Example (from schema)
Schema
- Array [
- ]
id string
ICAO code of the airport
metar string
METAR of the airport
[
{
"id": "EGLL",
"metar": "010000Z AUTO 23008KT 9999 NCD 18/13 Q1018"
}
]
Loading...