Requesting Historical Hazards

The endpoint for fetching historical hazards:

Search historical hazard records

get

Query the historical hazard database using a SQL-style where clause. Returns an array of matching hazard records.

Authorizations
AuthorizationstringRequired

JWT access token obtained from POST /authorize. Tokens expire after 15 minutes.

Query parameters
wherestringRequired

SQL-style filter expression. Example: type_ID='EARTHQUAKE' AND severity_ID='WARNING'

Example: type_ID='EARTHQUAKE'
Responses
chevron-right
200

Array of matching historical hazard records.

application/json

A historical hazard record.

app_IDintegerOptional

Application ID.

Example: 1
app_IDsstringOptional

Comma-separated application IDs.

autoexpirestringOptional

Auto-expiration flag.

category_IDstringOptional

Category identifier.

Example: NATURAL
charter_UristringOptional

International Charter URI, if applicable.

comment_TextstringOptional

Editorial comment.

create_DatestringOptional

Creation timestamp in epoch milliseconds.

Example: 1697157024387
creatorstringOptional

Record creator.

Example: DisasterAWARE (Automated)
end_DatestringOptional

End timestamp in epoch milliseconds.

glide_UristringOptional

GLIDE number URI.

hazard_IDintegerOptional

Numeric hazard identifier.

Example: 203575
hazard_NamestringOptional

Human-readable hazard name.

Example: M 5.2 Earthquake - Southern Peru
last_UpdatestringOptional

Last update timestamp in epoch milliseconds.

latitudenumberOptional

Latitude of the hazard centroid.

Example: -16.25
longitudenumberOptional

Longitude of the hazard centroid.

Example: -71.58
master_Incident_IDstringOptional

Master incident identifier.

message_IDstringOptional

Associated message identifier.

org_IDintegerOptional

Organisation ID.

severity_IDstringOptional

Severity identifier.

Example: WARNING
snc_urlstringOptional

Situational awareness URL.

start_DatestringOptional

Start timestamp in epoch milliseconds.

Example: 1697157024387
statusstringOptional

Hazard status (e.g. active, expired).

type_IDstringOptional

Hazard type identifier.

Example: EARTHQUAKE
update_DatestringOptional

Update timestamp in epoch milliseconds.

update_UserstringOptional

User who last updated the record.

product_totalstringOptional

Total number of associated products.

uuidstringOptional

Unique identifier.

in_DashboardstringOptional

Whether the hazard appears in the dashboard.

areabrief_urlstring · nullableOptional

URL to the area brief, if available.

descriptionstringOptional

Hazard description text.

rolesstring[]Optional

Roles associated with the hazard.

get
/historical_hazards
circle-info

See Authorizing Requests page to get your accessToken.

Checking Result Count

Before querying historical hazards, use the hazards_count endpoint to verify your search will return fewer than 1000 matches:

Query Fields

The where parameter accepts the following fields:

Field
Description
Example

status

Hazard status. Use 'E' for expired hazards.

status = 'E'

type_id

Hazard type: AVALANCHE, TORNADO, WILDFIRE, etc.

type_id = 'AVALANCHE' OR type_id = 'WILDFIRE'

category_id

Hazard category: EVENT, EXERCISE, OTHER, RESPONSE

category_id = 'EVENT'

severity_id

Hazard severity: WARNING, WATCH, ADVISORY, INFORMATION

severity_id = 'WARNING'

hazard_name

Hazard name (use UPPER() and LIKE for case-insensitive search)

UPPER(hazard_name) LIKE '%HAWAII%'

comment_text

Any comment text associated with the hazard

UPPER(comment_text) LIKE '%TSUNAMI%'

create_date

Hazard creation date, typically used to check a range of dates

create_date >= to_date('2023-05-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND create_date <= to_date('2023-05-31 00:00:00', 'yyyy-mm-dd hh24:mi:ss')

latitude / longitude

Bounding box using latitude and longitude

(latitude >= 36.58 AND latitude <= 39.06) AND (longitude >= -123.99 AND longitude <= -119.68)

Examples

Filter by hazard type

Filter by multiple types

Search by hazard name (case-insensitive)

Filter by date range

Filter by geographic bounding box

Multi-field query

The following searches for expired WILDFIRE hazards of type EVENT, severity WARNING, created between 5/1/23 and 5/31/23, with "namefoo" (case-insensitive) in the hazard name and "commentfoo" (case-insensitive) in the comment text:

circle-exclamation

Last updated