Weather

autorouter provides a multitude of weather related information. Currently not all of the interfaces are documented and therefore considered to be public interfaces. Should you require additional functionality not documented here, please get in touch with us.

METAR/TAF

To query the latest METAR and TAF of an aerodrome, perform

HTTP GET https://api.autorouter.aero/v1.0/met/metartaf/<icao>

passing the ICAO ID of the airport. The result will be a JSON similar to this

{
  "metar": "EDDS 170820Z 21011KT 170V240 9999 FEW024 SCT060 BKN110 13\/08 Q1015 NOSIG",
  "taf":"TAF EDDS 170500Z 1706\/1806 21010KT 9999 BKN030 PROB30 TEMPO 1709\/1806 23015G25KT"
}

Should a METAR and/or TAF be unavailable for the station, null will be returned.

GRAMET

A GRAMET can be requested individually by issuing

HTTP GET https://api.autorouter.aero/v1.0/met/gramet

And passing a list of GET options:

  • fpl
    An ICAO flight plan string that is parsed and used as the route and source for departure time, altitudes and flight duration.
  • waypoints
    In case fpl is not specified, this parameter must be given with a space separated list of waypoints that are resolved using the aviation database. When passing waypoints, additional parameters for the departure time, altitude and duration are required.
  • departuretime
    Unix timestamp in seconds of the off block time.
  • totaleet
    Number of seconds giving the total duration of the flight.
  • altitude
    Altitude in feet of the cruise.
  • distanceperpage
    Maximum distance in NM that is rendered on one page, defaults to 9999 NM.
  • format
    The data format to return, defaults to “pdf”. The other supported value is “png”.

A file is then returned in case of success. The call is synchronous.

GFS Model Date

To request the most recent GFS (global forecasting system) model timestamp, perform

HTTP GET https://api.autorouter.aero/v1.0/met/modeldate

The result will be a JSON structure looking like this:

{
  "gfs": "2016121606"
}

The last two digits denote the model run (00, 06, 12 or 18).