Return to API Services
Documentation for /cgi-bin/request/gis/pireps.py
This service emits processed and raw PIREP data. At this time, you must request 120 days or less of data at one time if you do not filter the request.
Changelog
- 2025-01-09: Added FL field (Flight Level) to the output, units are ft.
- 2024-06-28: Initital documentation release
- 2024-07-31: A product_id field was added to the output, but only non-null for PIREPs after about 18 UTC on 31 July 2024. Someday, a backfill may happen.
Example Requests
Provide all PIREPs for 31 July 2024 UTC over Minneapolis ARTCC:
Same request, but return a shapefile:
CGI Arguments
The following table lists the CGI arguments that are accepted by this service. A HTTP GET request is required. Fields of type Multi-Params or CSV value can accept either a comma separated list or multiple parameter and value combinations. For example, ?foo=1&foo=2 is equivalent to ?foo=1,2.
| Field | Type | Description |
|---|---|---|
| artcc | Multi-Params or CSV value | The ARTCC to limit the query to, use _ALL for all |
| ets | string or null | The end time of the query |
| fmt | string | The format of the output file |
| sts | string or null | The start time of the query |
| year1 | integer or null | The start year of the query, when sts not provided |
| month1 | integer or null | The start month of the query, when sts not provided |
| day1 | integer or null | The start day of the query, when sts is not provided |
| degrees | number | The distance in degrees for a spatial filter |
| filter | boolean | Should we filter by distance from a point? |
| lat | number | Latitude (decimal degrees) of point of interest |
| lon | number | Longitude (decimal degrees) of point of interest |
| hour1 | integer | The start hour of the query, when sts is not provided |
| minute1 | integer | The start minute of the query, when sts is not provided |
| year2 | integer or null | The end year of the query, when ets is not provided |
| month2 | integer or null | The end month of the query, when ets is not provided |
| day2 | integer or null | The end day of the query, when ets is not provided |
| hour2 | integer | The end hour of the query, when ets is not provided |
| minute2 | integer | The end minute of the query, when ets is not provided |