AirHub API
  1. Risk
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. Risk

Get Hazard

Deprecated
Sandbox
https://airhub-api-sandbox.airspacelink.com
Sandbox
https://airhub-api-sandbox.airspacelink.com
POST
/v1/hazard
Standard
Last modified:2024-05-17 17:24:43
Scope: hazar:read
DEPRECATED
Hazard and risk is an important part of the UAS ecosystem. The FAA publishes well established guidelines on how operations should behave with respect to population and other ground-based risk. This set of API resources will help developers quantify these hazards and their associated risk with a geographic boundary.

Request

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
coordinates
array [array] 
required
type
string 
required
Example
{
  "geometry": {
    "coordinates": [
      [
        [
          -83.3381652832031,
          42.2015642571405
        ],
        [
          -83.2059860229492,
          42.2015642571405
        ],
        [
          -83.2059860229492,
          42.274514451885
        ],
        [
          -83.3381652832031,
          42.274514451885
        ],
        [
          -83.3381652832031,
          42.2015642571405
        ]
      ]
    ],
    "type": "Polygon"
  }
}

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/hazard' \
--header 'Authorization: ' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
    "geometry": {
        "coordinates": [
            [
                [
                    -83.3381652832031,
                    42.2015642571405
                ],
                [
                    -83.2059860229492,
                    42.2015642571405
                ],
                [
                    -83.2059860229492,
                    42.274514451885
                ],
                [
                    -83.3381652832031,
                    42.274514451885
                ],
                [
                    -83.3381652832031,
                    42.2015642571405
                ]
            ]
        ],
        "type": "Polygon"
    }
}'

Responses

🟢200Success
application/json
Body
object {0}
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": {
        "Category": "Critical Infrastructure",
        "CategoryType": "Child Care Center",
        "Name": "RIVERSIDE ACADEMY EARLY CHILDHOOD CENTER",
        "Risk": 1
      },
      "type": "Feature"
    }
  ],
  "message": "success",
  "statusCode": 200
}
🔴500500
Previous
Create Ephemeral Operations
Next
Get Hazard Ground Type
Built with