Airspace
GET/api/v1/airspaces/special-use/by-global-idsPrivate Pilot

Get Special Use By Global Ids

Gets special use airspaces by their global IDs. This endpoint is designed to be used with the SpecialUseAirspaceGlobalIds returned by the navigation log endpoint (POST /api/v1/navlog/calculate) to retrieve full details for special use airspaces along a planned route.

Code Examples

curl \
  -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
  "https://api.preflightapi.io/api/v1/airspaces/special-use/by-global-ids?globalIds=value"

Description

GET /api/v1/airspaces/special-use/by-global-ids?globalIds={guid1},{guid2}

Parameters

NameInTypeDescription
globalIdsquerystringComma-separated global IDs (GUIDs from the navlog response's SpecialUseAirspaceGlobalIds field)

Response Schema

200Returns the matching special use airspaces
globalIdstringnullable

ArcGIS global unique identifier. This is the key used to look up special use airspaces returned by the navigation log endpoint's SpecialUseAirspaceGlobalIds field.

namestringnullable

Airspace name.

typeCodestringnullable

Type code (e.g., R for restricted, P for prohibited).

classstringnullable

Airspace class.

upperDescstringnullable

Upper altitude limit description.

upperValnumbernullable

Upper altitude limit value. Unit determined by UpperUom (FT = feet, FL = flight level). Reference determined by UpperCode (MSL or AGL).

upperUomstringnullable

Upper altitude unit of measure (e.g., FT, FL).

upperCodestringnullable

Upper altitude reference code (e.g., MSL, AGL).

lowerDescstringnullable

Lower altitude limit description.

lowerValnumbernullable

Lower altitude limit value. Unit determined by LowerUom (FT = feet, FL = flight level). Reference determined by LowerCode (MSL or AGL).

lowerUomstringnullable

Lower altitude unit of measure (e.g., FT, FL).

lowerCodestringnullable

Lower altitude reference code (e.g., MSL, AGL).

levelCodestringnullable

Level code.

citystringnullable

City associated with the airspace.

statestringnullable

State associated with the airspace.

countrystringnullable

Country code.

contAgentstringnullable

Controlling agency.

commNamestringnullable

Communications facility name.

sectorstringnullable

Sector identifier.

onshorestringnullable

Whether the airspace is onshore.

exclusionstringnullable

Exclusion area indicator.

timesOfUsestringnullable

Times of use for the airspace.

gmtOffsetstringnullable

GMT offset.

dstCodestringnullable

Daylight saving time code.

remarksstringnullable

Additional remarks.

400If the global IDs parameter is emptyApiErrorResponse
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.

Search Documentation

Search docs, endpoints, and schemas