/api/v1/navlog/winds-aloft/{forecast}Commercial PilotGet Winds Aloft Data
Retrieves winds aloft (FB) forecast data for all reporting sites across the US.
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/navlog/winds-aloft/06"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/navlog/winds-aloft/06"Description
Returns wind direction, wind speed, and temperature at standard altitude levels for every winds aloft reporting station in the United States. This is the same raw forecast data that the navigation log calculator uses internally to compute wind-corrected headings and ground speeds.
Altitude Levels
Data is provided at the following standard levels (feet MSL): 3000, 6000, 9000, 12000, 18000, 24000, 30000, 34000, and 39000. Not all stations report temperature at every level. Wind direction and speed may be null for calm or light/variable conditions.
Forecast Periods
- 6-hour — Short-range forecast, most accurate for near-term flights
- 12-hour — Medium-range forecast for flights departing later in the day
- 24-hour — Long-range forecast for next-day planning
Response Structure
The response includes the forecast validity window (ValidTime, ForUseStartTime, ForUseEndTime) and a list of reporting sites. Each site has an identifier, coordinates, and a dictionary of wind/temperature data keyed by altitude level (e.g., "3000", "6000"). Wind direction is in degrees true (the direction wind is blowing *from*), speed is in knots, and temperature is in degrees Celsius.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| forecast* | path | integer | Forecast period in hours. Must be 6, 12, or 24. |
Response Schema
Valid time for the forecast data.
Start of the forecast use period.
End of the forecast use period.
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
Human-readable error message suitable for display.
Additional error details (only included in development environment).
Name of the external service that failed (only included for 503 errors).
Field-level validation errors (only for validation failures).
UTC timestamp when the error occurred.
Correlation ID for tracing the request.
Request path that generated the error.
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
Human-readable error message suitable for display.
Additional error details (only included in development environment).
Name of the external service that failed (only included for 503 errors).
Field-level validation errors (only for validation failures).
UTC timestamp when the error occurred.
Correlation ID for tracing the request.
Request path that generated the error.