Weather (METAR & TAF)
Real-time surface weather observations (METAR) and terminal forecasts (TAF) for airports worldwide. Provide a 4-letter ICAO code in the path. Add parsed=true for decoded fields.
For enhanced weather data including winds aloft, PIREPs, and AIRMET/SIGMET, use the v3 API.
Request
Requirements
x-api-key on every request (direct subscription). Learn more →METAR
https://data.skylinkapi.com/v2/weather/metar/{icao}| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
icao | string | Yes | - | 4-letter ICAO code, e.g. KJFK |
parsed | boolean | No | false | Add decoded fields under a parsed key |
Response
Raw (default)
{
"raw": "METAR KJFK 062251Z 24017G23KT 10SM FEW060 BKN250 28/17 A2974 RMK AO2",
"icao": "KJFK",
"airport_name": "John F. Kennedy International Airport",
"timestamp": "2026-06-06T23:09:37Z"
}Parsed (parsed=true)
{
"raw": "METAR KJFK 062251Z 24017G23KT 10SM FEW060 BKN250 28/17 A2974 RMK AO2",
"icao": "KJFK",
"airport_name": "John F. Kennedy International Airport",
"timestamp": "2026-06-06T23:09:37Z",
"parsed": {
"time": "2026-06-07T00:51:00+02:00",
"wind": { "direction": 240, "speed": 17, "gust": 23, "variable": [] },
"visibility": { "value": 10, "repr": "10" },
"clouds": [
{ "type": "FEW", "base": 60, "repr": "FEW060" },
{ "type": "BKN", "base": 250, "repr": "BKN250" }
],
"temperature": 28,
"dewpoint": 17,
"altimeter": 29.74,
"flight_rules": "VFR",
"wx_codes": [],
"remarks": "RMK AO2",
"density_altitude": 1792,
"pressure_altitude": 193,
"relative_humidity": 0.49
}
}| Field | Type | Description |
|---|---|---|
raw | string | Full METAR string as issued |
icao | string | ICAO code |
airport_name | string | Airport name |
timestamp | string (ISO 8601) | When the API fetched this data — not the observation time |
parsed | object | Present when parsed=true — decoded fields |
parsed.time | string | Observation time from the METAR header |
parsed.wind | object | Wind data: direction, speed, gust (null if none), variable |
parsed.visibility | object | value (null for P6SM), repr |
parsed.clouds | array | Cloud layers: type, base (hundreds of ft AGL), repr |
parsed.temperature | number | °C |
parsed.dewpoint | number | °C |
parsed.altimeter | number | QNH in inHg |
parsed.flight_rules | string | VFR, MVFR, IFR, or LIFR |
Error responses
404 — no METAR for this ICAO
{ "detail": "Airport not found for ICAO code: KXYZ" }Your SkyLink licence key, for keys bought direct from skylinkapi.com.
In: header
Path Parameters
4-letter ICAO airport code
4 <= length <= 4Query Parameters
Include parsed/decoded METAR fields alongside raw text
falseResponse Body
application/json
application/json
curl -X GET "https://data.skylinkapi.com/v2/weather/metar/KJFK"{
"raw": "METAR KJFK 271851Z 16013KT 10SM FEW024 15/09 A3020 RMK AO2 SLP216 T01500089",
"icao": "KJFK",
"airport_name": "John F Kennedy International Airport",
"timestamp": "2025-09-27T12:00:00Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}TAF
https://data.skylinkapi.com/v2/weather/taf/{icao}| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
icao | string | Yes | - | 4-letter ICAO code |
parsed | boolean | No | false | Add decoded forecast periods under a parsed key |
Response
Raw (default)
{
"raw": "TAF KJFK 072334Z 0800/0906 35014G20KT P6SM FEW050 SCT100 ...",
"icao": "KJFK",
"airport_name": "John F. Kennedy International Airport",
"timestamp": "2026-06-08T23:45:12Z"
}Parsed (parsed=true)
Returns a parsed object with start_time, end_time, and a forecast array of periods. Each period has type (FROM, TEMPO, BECMG), start_time, end_time, wind, visibility, clouds, wx_codes, flight_rules, probability, turbulence, and icing.
Error responses
404 — no TAF for this ICAO
{
"detail": "No current TAF forecast available for KOXB. Weather station may not issue TAF reports or may be temporarily offline."
}Many airports have METAR but no TAF — treat TAF 404 as missing forecast, not an error.
Your SkyLink licence key, for keys bought direct from skylinkapi.com.
In: header
Path Parameters
4-letter ICAO airport code
4 <= length <= 4Query Parameters
Include parsed/decoded TAF fields alongside raw text
falseResponse Body
application/json
application/json
curl -X GET "https://data.skylinkapi.com/v2/weather/taf/KJFK"{
"raw": "TAF KJFK 271720Z 2718/2824 16012KT P6SM FEW025 SCT250 FM272100 18010KT P6SM SCT025 BKN250",
"icao": "KJFK",
"airport_name": "John F Kennedy International Airport",
"timestamp": "2025-09-27T12:00:00Z"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Related: v3 Weather · Getting Started