METAR / TAF


METAR and TAF Data

POST/api/[...]/discord/metar

This endpoint allows you to retrieve METAR and TAF information.
Optional date_time attribute allows looking up historic data.

Supported Authentication Types

API TokenClient TokenGrant Token
YesYesNo

Available Body Attributes

  • Name
    airport_code
    Type
    String, AlphaNumeric, Min 3, Max 4, Uppercase
    Description

    ICAO or IATA code of the airport

Optional Body Attributes

  • Name
    date_time
    Type
    yyyy-mm-dd hh:mm
    Description

    Date Time value in format of yyyy-mm-dd hh:mm - 2024-01-01 15:00

Response

{
    "status": "success",
    "request": {
        "airport_code": "EGSS",
        "date_time": "2024-01-01 15:00"
    },
    "data": {
        "airport": {
            "world_id": 14978,
            "airline_id": 1085,
            "name": "London Stansted",
            "icao": "EGSS",
            "iata": "STN",
            "identifiers": "EGSS/STN",
            "identifier": "EGSS",
            "latitude": "51.8849980",
            "longitude": "0.2350000",
            "elevation": 348
        },
        "country": {
            "id": 75,
            "name": "United Kingdom",
            "code": "GB"
        },
        "weather": {
            "metar": "EGSS 011420Z 19006KT 9999 08/04 Q1003",
            "taf": "EGSS 011450Z AUTO 19006KT 9999 NCD 08/04 Q1003"
        }
    }
}