PIREPs
GET
/api/v1/pirepsPrivate PilotGet All Pireps
Gets all current PIREPs. Returns all active pilot reports with reported conditions including turbulence (type, intensity, altitude), icing (type, intensity, altitude), and sky conditions. Each report includes the geographic coordinates and altitude where the observation was made.
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/pireps?limit=25"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/pireps?limit=25"Parameters
| Name | In | Type | Description |
|---|---|---|---|
| cursor | query | string? | Opaque cursor value from a previous response's pagination.nextCursor field. Omit or leave null to start from the first page. |
| limit | query | integer | Maximum number of items to return per page. Minimum 1, maximum 500, default 100. |