/api/v1/airspaces/by-icao-or-identsPrivate PilotGet By Icao Or Ident
Gets controlled airspaces associated with specific airports by ICAO code or FAA identifier.
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/airspaces/by-icao-or-idents?icaoOrIdents=value"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/airspaces/by-icao-or-idents?icaoOrIdents=value"Description
Returns all controlled airspace boundaries (Class B, C, D) associated with the given airport identifiers. Each result includes the airspace classification, altitude limits, and boundary geometry. Pass multiple identifiers as a comma-separated list to retrieve airspaces for several airports in a single request.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| icaoOrIdents | query | string | Comma-separated ICAO codes or FAA identifiers (e.g., KDFW,KORD,KJFK) |
Response Schema
ArcGIS global unique identifier. This is the key used to look up airspaces returned by the navigation log endpoint's AirspaceGlobalIds field.
FAA identifier.
ICAO identifier.
Airspace name.
Upper altitude limit description.
Upper altitude limit value. Unit determined by UpperUom (FT = feet, FL = flight level). Reference determined by UpperCode (MSL or AGL).
Upper altitude unit of measure (e.g., FT, FL).
Upper altitude reference code (e.g., MSL, AGL).
Lower altitude limit description.
Lower altitude limit value. Unit determined by LowerUom (FT = feet, FL = flight level). Reference determined by LowerCode (MSL or AGL).
Lower altitude unit of measure (e.g., FT, FL).
Lower altitude reference code (e.g., MSL, AGL).
Airspace type code (e.g., CLASS_B, CLASS_C).
Local airspace type.
Airspace class (e.g., B, C, D, E).
Military use code.
Communications facility name.
Level designation (e.g., SURFACE, UPPER).
Sector identifier.
Whether the airspace is onshore.
Exclusion area indicator.
Working hours code.
Working hours remarks.
Daylight saving time indicator.
GMT offset.
Controlling agency.
City associated with the airspace.
State associated with the airspace.
Country code.
Associated aerodrome identifier.
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.