AirHub API
AirHub® Portal (Sandbox)
  1. Surface
AirHub API
  • Introduction
  • Authenticating
  • Briefing
    • Overview
    • What Is B4UFLY
    • The API Basics
    • Location vs Area
    • What's New in v2
    • v1
      • B4UFLY Briefing by Area
      • B4UFLY Briefing by Location
    • v2
      • B4UFLY Briefing by Area
      • B4UFLY Briefing by Location
  • Operations
    • ASL Operations
      • List Operations
      • Create Operation
      • Get Operation
      • Delete Operation
      • Update Operation
    • LAANC SDSP
      • Overview
      • LAANC Operations
        • Get Operation
        • Delete Operation
        • Create Operation
        • Update Operation
      • LAANC Authorizations
        • Rescinded and Invalid Operations
        • Submit Authorization
        • Get Authorization
        • Cancel Authorization
        • Cancel Invalid Authorization
        • Close Authorization
        • Acknowledge Rescinded Authorization
    • Ephemeral Operations
      • Create Ephemeral Operations
      • Get Ephemeral Operation
      • Delete Ephemeral Operation
      • Claim Ephemeral Operation
  • Surface
    • Overview
  • Vector Tiles
    • Overview
  • Data
    • shim
      • Send Positions
    • elevation-v1
      • Elevation
    • elevation-v2
      • Elevation
  • Schemas
    • AssetTypeEnum
    • authorizationsvc.v1.Authorization
    • asloperationsvc.v1.FlightType
    • DeviceStatus
    • authorizationsvc.v1.Class
    • ephemeralsvc.v1.ClaimEphemeralOperationResponse
    • authorizationsvc.v1.Deny
    • ElevationFeature
    • ephemeralsvc.v1.CreateEphemeralOperationRequest
    • authorizationsvc.v1.FacilityMap
    • ephemeralsvc.v1.CreateEphemeralOperationResponse
    • authorizationsvc.v1.Status
    • ElevationGeometry
    • ephemeralsvc.v1.EphemeralOperation
    • authorizationsvc.v1.SubmissionType
    • ElevationOutput
    • ElevationServerErrorResponse
    • ephemeralsvc.v1.PointOfContact
    • InvalidElevationInputResponse
    • geompb.v1.AltitudeReference
    • OwnerTypeEnum
    • geompb.v1.AltitudeUnit
    • google.protobuf.Any
    • laancsvc.v1.Action
    • PointXyElevationData
    • google.protobuf.NullValue
    • laancsvc.v1.Candidate
    • RawPositionMessageBody
    • google.rpc.Status
    • laancsvc.v1.DeleteOperationResponse
    • SourceAltitudeTypeEnum
    • laancsvc.v1.GetOperationResponse
    • Transformation
    • Unit
    • laancsvc.v1.License
    • V1ElevationInput
    • laancsvc.v1.Notice
    • V1Geometry
    • laancsvc.v1.Operation
    • V1GeometryType
    • laancsvc.v1.OperationResponse
    • V1InVDatum
    • laancsvc.v1.OperationService.CreateOperationBody
    • V2ElevationInput
    • laancsvc.v1.OperationService.UpdateOperationBody
    • laancsvc.v1.PointOfContact
    • laancsvc.v1.Reason
    • laancsvc.v1.UpdateOperationResponse
    • laancsvc.v1.ReverseLookupOperationResponse
AirHub® Portal (Sandbox)
  1. Surface

Overview

Types#

Surface generation is the foundation of all the advanced features of the Airspace Link API. It has its own
set of types and lexicon that assist in making the queries intuitive and powerful.

Layer Object#

The layer object represents the building block for requesting surface information. At a minimum, provide a code and
that data source will be fetched. You can access attributes using the JSON key fields, and you can
provide a filter using the JSON key where.
ParameterTypeDescription
codestringA metadata source.
fieldsstring[]The fields of the metadata source you'd like to return. Setting "fields": ["*"] will return all valid fields for supported data types.
where<where>A pseudo-SQL expression tree. Click here for information on how to generate one.
riskfloat64An optional risk value to assign to the layer. Only relevant when requesting risk surfaces.

SQL Expression Tree#

Backus-Naur Form
Simple comparisons
Logical operators
Several API endpoints require generating surfaces, and all surface generation supports advanced querying.
You can provide a filter via a tree data structure for each resource you request that will be parsed out
and produce a filter that suits your use case.
Logical operators
OperatorArityDescription
ANDBinary or greaterA standard logical AND. All the arguments provided to the AND will be nested.
ORBinary or greaterA standard logical OR. All the arguments provided to the OR will be nested.
Comparison operators
OperatorArityDescription
=Binary= does an equality check on the field and the passed value. Type coercion may be performed if the types are different.
>Binary> checks the field is greater than the passed value. Type coercion may be performed if the types are different.
<Binary< checks the field is less than the passed value. Type coercion may be performed if the types are different.
<=Binary<= checks the field is less than or equal to the passed value. Type coercion may be performed if the types are different.
>=Binary>= checks the field is greater than or equal to the passed value. Type coercion may be performed if the types are different.
!=Binary!= checks the field is not equal to the passed value. Type coercion may be performed if the types are different.
Modified at 2026-03-06 18:56:34
Previous
Claim Ephemeral Operation
Next
Overview
Built with