Weather Data

Data Server

Compatibility layer with previous Text Data Service. Station identifiers or a bounding box, as well as a time selection, are required.

get/api/data/dataserver

Request

  • Base URL
    https://aviationweather.gov (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

requestType'retrieve' required
dataSource'metars' | 'tafs' | 'aircraftreports' | 'airsigmets' | 'gairmets' required
stationStringstring

Station ID(s)

boundingBoxstring

Geographic bounding box (lat0, lon0, lat1, lon1)

startTimestring

Start time

  • yyyymmdd_hhmm
  • yyyy-mm-ddThh:mm:ssZ
endTimestring

End time

  • yyyymmdd_hhmm
  • yyyy-mm-ddThh:mm:ssZ
hoursBeforeNownumber

Number of hours before now to search

format'xml' | 'csv'

Output format (TAFs not available in CSV format)

mostRecentForEachStation'constraint' | 'postfilter'

Most recent per station (METARs and TAFs only)

radialDistancestring

Circular bounds defined by latitude, longitude and radial distance in statute miles (PIREPS only)

Response

successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.