AirHub API
  1. Advisories
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
    • Overview
    • Suitability
      POST
    • Classification Surface
      POST
    • Surface v2 GeoJSON
      POST
    • Surface v2 Hexbin
      POST
  • Route
    • Route v2
  • Check
    • Check Airspace
    • Get Status
  • Elevation - NEW
    • Get List
  • Map Vector Tiles - NEW
    • Overview
    • Styled Tiles
    • Vector Tile
  • Flight
    • Get Flight Last Position QUERY
    • Get Flight Last Position INFO
  • Data Notification Subscribers
    • Get List
  1. Advisories

Get Advisories GeoJSON

Sandbox
https://airhub-api-sandbox.airspacelink.com
Sandbox
https://airhub-api-sandbox.airspacelink.com
POST
/v4/advisory/query
Last modified:2024-06-30 22:17:01
Scope: advisory:read
Advisories represent geographic areas where special consideration must be made before operating drones. Examples of advisories may range from restricted airspace, where it's illegal to operate a drone, to warnings where it's important for you to understand the context of where you're flying to maximize safety.
Find advisories that intersect the input geometry as described by a GeoJSON geometry. May be a point, line, or polygon.

Request

Header Params

Body Params application/json

Example
{
    "geometry": {
        "type": "Point",
        "coordinates": [
            -84.695,
            44.695
        ]
    },
    "geoIDs": [
        "1300021",
        "13"
    ],
    "altitudeUpper": 500,
    "altitudeLower": -100,
    "startTime": "2022-06-01T23:39:00Z",
    "endTime": "2022-06-30T23:39:00Z"
}

Request Code 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/v4/advisory/query' \
--header 'Authorization: ' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "geometry": {
        "type": "Point",
        "coordinates": [
            -84.695,
            44.695
        ]
    },
    "geoIDs": [
        "1300021",
        "13"
    ],
    "altitudeUpper": 500,
    "altitudeLower": -100,
    "startTime": "2022-06-01T23:39:00Z",
    "endTime": "2022-06-30T23:39:00Z"
}'

Responses

🟢200200 Response
application/json
Body

Example
{
    "statusCode": 200,
    "message": "success",
    "data": {
        "type": "FeatureCollection",
        "features": [
            {
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                -84.69289659570808,
                                44.68428721296152
                            ],
                            [
                                -84.69476557152252,
                                44.69483277365174
                            ],
                            [
                                -84.67317443855015,
                                44.70036706219832
                            ],
                            [
                                -84.67203280238344,
                                44.67752066765469
                            ],
                            [
                                -84.686540954764,
                                44.67911058319509
                            ],
                            [
                                -84.69289659570808,
                                44.68428721296152
                            ]
                        ]
                    ]
                },
                "properties": {
                    "advisoryCategory": "admin",
                    "altitudeLower": 0,
                    "altitudeUpper": 400,
                    "contactEmail": "example@email.com",
                    "contactFirstName": "Example",
                    "contactLastName": "User",
                    "contactPhone": "+3135551234",
                    "countryGeoID": "1000",
                    "description": "Example Advisory to communicate events, conditions, activities relevant to UAS operations or planning",
                    "endTime": "2024-02-23T16:12:00Z",
                    "geoID": "26",
                    "id": "311343de-7526-444e-9cc5-bdc9d785bae3",
                    "lastEditDate": "2024-02-22T15:59:07.097661Z",
                    "name": "UAS Operation Coordination",
                    "published": true,
                    "referenceNumber": null,
                    "startTime": "2024-02-22T16:12:00Z",
                    "tags": [],
                    "timezoneName": "America/New_York",
                    "url": null
                }
            },
            {
                "type": "Feature",
                "geometry": {
                    "type": "Polygon",
                    "coordinates": [
                        [
                            [
                                -84.66588398881683,
                                44.71657210650567
                            ],
                            [
                                -84.60743044011728,
                                44.716572106505666
                            ],
                            [
                                -84.60743044011728,
                                44.683243709601655
                            ],
                            [
                                -84.66588398881683,
                                44.68324370960165
                            ],
                            [
                                -84.66588398881683,
                                44.71657210650567
                            ]
                        ]
                    ]
                },
                "properties": {
                    "advisoryCategory": "admin",
                    "altitudeLower": 0,
                    "altitudeUpper": 400,
                    "contactEmail": "example@email.com",
                    "contactFirstName": "Example",
                    "contactLastName": "User",
                    "contactPhone": "+13135551234",
                    "countryGeoID": "1000",
                    "description": "Example live fire exercise",
                    "endTime": "2024-03-06T19:57:00Z",
                    "geoID": "26",
                    "id": "73c9ddff-366b-4372-b4c2-daaea5a90199",
                    "lastEditDate": "2024-03-05T19:43:51.178522Z",
                    "name": "Demonstration Activities",
                    "published": true,
                    "referenceNumber": null,
                    "startTime": "2024-03-05T19:57:00Z",
                    "tags": [],
                    "timezoneName": "America/New_York",
                    "url": null
                }
            }
        ]
    }
}
🔴500500 Response
Modified at 2024-06-30 22:17:01
Previous
Get Advisories BBox
Next
Overview
Built with