Skip to main content
POST
/
api
/
aviation
/
taf
/
parse
cURL
curl --request POST \
  --url https://sahabah-prod.devops.arabiaweather.com/api/aviation/taf/parse \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "taf_code": "TAF EGLL 150500Z 1506/1606 27010KT 8000 SCT030 TX20/1514Z TN10/1603Z TEMPO 1506/1509 25015G25KT 3000 SHRA BKN005 OVC010 PROB30 1518/1521 1500 +TSRA BKN003CB RMK NO THUNDERSTORMS EXPECTED AFTER 22Z"
}
'
{
  "build": "<string>",
  "data": {
    "ast": {
      "change_groups": [
        {
          "change_type": "From",
          "conditions": {
            "sky_conditions": [
              {
                "cover": "Few",
                "cloud_type": "Cumulonimbus",
                "height": 1
              }
            ],
            "temperature_extremes": [
              {
                "day": 1,
                "hour": 1,
                "temp_type": "Maximum",
                "temperature": 123
              }
            ],
            "visibility": "Cavok",
            "weather": [
              {
                "phenomena": [
                  "Drizzle"
                ],
                "descriptor": "Shallow",
                "intensity": "Light"
              }
            ],
            "wind": {
              "direction": {
                "Fixed": 1
              },
              "is_calm": true,
              "is_high_speed": true,
              "is_variable": true,
              "speed": 1,
              "unit": "KT",
              "gust_speed": 1,
              "variation": {
                "from": 1,
                "to": 1
              }
            },
            "wind_shear": {
              "direction": 1,
              "height": {
                "unit": "Feet",
                "value": 1
              },
              "speed": 1,
              "unit": "KT"
            }
          },
          "time": {
            "Precise": {
              "day": 1,
              "hour": 1,
              "minute": 1
            }
          }
        }
      ],
      "issue_time": {
        "day": 1,
        "hour": 1,
        "minute": 1
      },
      "main": {
        "sky_conditions": [
          {
            "cover": "Few",
            "cloud_type": "Cumulonimbus",
            "height": 1
          }
        ],
        "temperature_extremes": [
          {
            "day": 1,
            "hour": 1,
            "temp_type": "Maximum",
            "temperature": 123
          }
        ],
        "weather": [
          {
            "phenomena": [
              "Drizzle"
            ],
            "descriptor": "Shallow",
            "intensity": "Light"
          }
        ],
        "wind": {
          "direction": {
            "Fixed": 1
          },
          "is_calm": true,
          "is_high_speed": true,
          "is_variable": true,
          "speed": 1,
          "unit": "KT",
          "gust_speed": 1,
          "variation": {
            "from": 1,
            "to": 1
          }
        },
        "visibility": "Cavok",
        "wind_shear": {
          "direction": 1,
          "height": {
            "unit": "Feet",
            "value": 1
          },
          "speed": 1,
          "unit": "KT"
        }
      },
      "report_type": "Metar",
      "station": "<string>",
      "validity_period": {
        "end_day": 1,
        "end_hour": 1,
        "start_day": 1,
        "start_hour": 1
      },
      "remarks": {
        "content": "<string>"
      }
    }
  },
  "request_id": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Headers

x-api-key
string
required

API key for authentication

Body

application/json
taf_code
string
required
Example:

"TAF EGLL 150500Z 1506/1606 27010KT 8000 SCT030 TX20/1514Z TN10/1603Z TEMPO 1506/1509 25015G25KT 3000 SHRA BKN005 OVC010 PROB30 1518/1521 1500 +TSRA BKN003CB RMK NO THUNDERSTORMS EXPECTED AFTER 22Z"

Response

Successfully parsed TAF

build
string
required
data
object
required
request_id
string
required
timestamp
string<date-time>
required