G-AIRMETs
GET
/api/v1/g-airmets/hazard/{hazardType}Private PilotGet G Airmets By Hazard Type
Gets G-AIRMETs filtered by hazard type.
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/g-airmets/hazard/turb?limit=25"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/g-airmets/hazard/turb?limit=25"Description
Hazard Types
IFR— IFR conditions (ceiling below 1000 ft and/or visibility below 3 SM)
MT_OBSC— mountain obscuration
TURB_LO— low-level turbulence (below FL180)
TURB_HI— high-level turbulence (FL180 and above)
LLWS— low-level wind shear
SFC_WIND— strong surface winds (30 kt or greater)
ICE— icing
FZLVL— freezing level
M_FZLVL— multiple freezing levels
GET /api/v1/g-airmets/hazard/ICE
GET /api/v1/g-airmets/hazard/TURB_LOReturns paginated results of GAirmetDto
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| hazardType* | path | string | Hazard type: MT_OBSC, IFR, TURB_LO, TURB_HI, LLWS, SFC_WIND, ICE, FZLVL, or M_FZLVL |
| 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. |
Response Schema
codestring
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
messagestring
Human-readable error message suitable for display.
detailsstringnullable
Additional error details (only included in development environment).
servicestringnullable
Name of the external service that failed (only included for 503 errors).
validationErrorsRecord<string, string[]>nullable
Field-level validation errors (only for validation failures).
timestampstring
UTC timestamp when the error occurred.
traceIdstringnullable
Correlation ID for tracing the request.
pathstringnullable
Request path that generated the error.