AirHub API
  1. Aviation
AirHub API
  • Introduction
  • Authorization
    • Overview
    • Get Oauth Token
      POST
  • Advisories
    • Advisory
      POST
    • Get Advisories BBox
      GET
    • Get Advisories GeoJSON
      POST
  • Briefing
    • Overview
    • B4UFLY
      • What Is B4UFLY
      • The API Basics
      • Location vs Area
      • v1
        • B4UFLY Briefing by Area v1
        • B4UFLY Briefing by Location v1
      • v2
        • What's New in v2
        • B4UFLY Briefing by Area v2
        • B4UFLY Briefing by Location v2
  • LAANC SDSP
    • Overview
    • ASL Operations
      • List Operations
      • Create Operation
      • Get Operation
      • Delete Operation
      • Update Operation
    • 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
    • Operation v2
      POST
    • Create Ephemeral Operations
      POST
  • Risk
    • Get Hazard
      POST
    • Get Hazard Ground Type
      POST
    • Get Hazard Ground Risk
      POST
  • Aviation
    • Aviation
      POST
  • Surface
    • Suitability
      POST
    • Classification Surface
      POST
    • Surface v2 GeoJSON
      POST
    • Surface v2 Hexbin
      POST
  • Route
    • Route v2
  • Check
    • Check Airspace
    • Get Status
  • Elevation - NEW
    • Elevation
  • Map Vector Tiles - NEW
    • Overview
    • Styled Tiles
    • Vector Tile
  1. Aviation

Aviation

Deprecated
Sandbox
https://airhub-api-sandbox.airspacelink.com
Sandbox
https://airhub-api-sandbox.airspacelink.com
POST
/v1/aviation
Standard
Last modified:2024-05-17 17:28:27
Scope: aviation:read
DEPRECATED
Returns relevant aviation data intersecting the input geometry. Airspace Link updates data sources every 10 minutes - 24 hours (depending on the data source).

Request

Query Params
buffer
number 
optional
Note: only used when type includes airports. buffer specifies the buffer around the airport in nautical miles. If not specified, the default is 3.
Header Params
Content-Type
enum<string> 
required
Allowed value:
application/json;charset=UTF-8
Example:
application/json;charset=UTF-8
Authorization
string 
required
Authorization bearer accessToken generated in Authorization step
Example:
{{access-token}}
Body Params application/json
geometry
object 
required
GeoJSON formatted geometry. Available geometries may be a point, line, or polygon. The resulting bounding box of the geometry can't have a side length greater than 30 nautical miles.
coordinates
array [array] 
required
type
string 
required
type
array[string]
required
An array of zero or more types. Specifying type will limit the results to only include the types that you specify. If you specify no type then all types will be returned.
FAA TypeDescription
controlled_airspaceControlled Airspace Classification.
uasfm_ceilingUAS Facility Management Flight Ceiling.
suaBoth sua_prohibited and sua_restricted.
washington_frzWashington DC Flight Restricted Zone.
nsufr_ptPart Time National Security UAS Flight Restriction.
nsufr_ftFull Time National Security UAS Flight Restriction.
stadiumSelect stadiums containing temporary flight restriction. The stadium points are buffered by 3 nautical miles.
airportsPoints designated for landing or takeoff. Returns all airports within 3 nautical miles of input geometry by default.
airspace_scheduleControlled airspace schedule for select airports across the country (geometry has no bearing on the result).
tfrTemporary Flight Restrictions imposed by the FAA to restrict aircraft operations within designated areas.
Example
{
  "geometry": {
    "coordinates": [
      [
        -85.5252170562744,
        41.7848170756551
      ]
    ],
    "type": "Point"
  },
  "type": [
    "sua",
    "stadium"
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://airhub-api-sandbox.airspacelink.com/v1/aviation?buffer' \
--header 'Authorization: ' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "geometry": {
        "coordinates": [
            [
                -85.5252170562744,
                41.7848170756551
            ]
        ],
        "type": "Point"
    },
    "type": [
        "sua",
        "stadium"
    ]
}'

Responses

🟢200Success
application/json
Body
data
array [object {3}] 
required
geometry
object 
optional
properties
object 
optional
type
string 
optional
message
string 
required
statusCode
integer 
required
Example
{
  "data": [
    {
      "geometry": {
        "coordinates": [
          [
            [
              -83.2320785522461,
              42.3341843859394
            ],
            [
              -83.2262420654297,
              42.3341843859394
            ],
            [
              -83.2262420654297,
              42.3364684929947
            ],
            [
              -83.2320785522461,
              42.3364684929947
            ],
            [
              -83.2320785522461,
              42.3341843859394
            ]
          ]
        ],
        "type": "Polygon"
      },
      "properties": {},
      "type": "Feature"
    }
  ],
  "message": "success",
  "statusCode": 200
}
🟠422Parameter Error
🔴500500
Previous
Get Hazard Ground Risk
Next
Suitability
Built with