Requesting Active Hazards of a Specific Severity
Get active hazards of a specific severity
GET
https://api.disasteraware.com/hazards/active/severity/{severity-id}
Path Parameters
Name | Type | Description |
---|---|---|
severity-id | string | The id of the hazard severity. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorize to access the API. |
[
{
"app_ID": 0,
"app_IDs": "",
"autoexpire": "Y",
"category_ID": "EVENT",
"charter_Uri": "",
"comment_Text": "211060",
"create_Date": "1621389930095",
"creator": "DisasterAWARE (Automated)",
"end_Date": "1622663729529",
"glide_Uri": "",
"hazard_ID": 135614,
"hazard_Name": "Volcano - Etna, Italy",
"last_Update": "1622231781373",
"latitude": 37.734,
"longitude": 15.004,
"master_Incident_ID": "130.1622231666450.1",
"message_ID": "130.1622231666450",
"org_ID": -1,
"severity_ID": "WARNING",
"snc_url": "https://hazardbrief.pdc.org/PRODUCTION/ui/index.html?uuid=baef3f05-4a44-4dff-84d9-cb1d01f9b757",
"start_Date": "1621389720000",
"status": "A",
"type_ID": "VOLCANO",
"update_Date": "1622231737570",
"update_User": null,
"product_total": "66",
"uuid": "baef3f05-4a44-4dff-84d9-cb1d01f9b757",
"in_Dashboard": "",
"areabrief_url": null,
"description": "Volcanic activity has been reported for Etna in Italy, by the Volcanic Ash Advisory Centre (VAAC) TOULOUSE on May 28, 2021, 19:52:00 GMT.\n\nThis volcanic activity is reported based on aerial, satellite and/or ground observations.\nBased on the limited data available, it is estimated that 4,025 people, 1,678 households, and $352 Million (USD) of infrastructure* are within 10 km (6 miles) and more likely to be adversely impacted, and that 955,132 people, 397,972 households, and $94.9 Billion (USD) of infrastructure* are 10-30 km (6-18 miles) from the volcano. Additional information will be provided as it becomes available by official sources.\n\nVolcano information sources for this report include: INGV VONA SAT IMAGERY\n*The cost represents the total replacement value of the infrastructure.\n",
"roles": []
},
{
"app_ID": 0,
"app_IDs": "",
"autoexpire": "Y",
"category_ID": "EVENT",
"charter_Uri": "",
"comment_Text": "TORNADO-WARNING-2021-10-KLWX",
"create_Date": "1622227044884",
"creator": "DisasterAWARE (Automated)",
"end_Date": "1622232000000",
"glide_Uri": "",
"hazard_ID": 136012,
"hazard_Name": "Tornado - Sterling, VA WFO Region, US",
"last_Update": "1622228448621",
"latitude": 38.0934,
"longitude": -76.3433,
"master_Incident_ID": "1051.317975.813470.1",
"message_ID": "1027.1622228304700",
"org_ID": -1,
"severity_ID": "WARNING",
"snc_url": "https://hazardbrief.pdc.org/PRODUCTION/ui/index.html?uuid=2c56f88f-6e33-44ba-9d56-d725372d5aba",
"start_Date": "1622226840000",
"status": "A",
"type_ID": "TORNADO",
"update_Date": "1622228363302",
"update_User": null,
"product_total": "5",
"uuid": "2c56f88f-6e33-44ba-9d56-d725372d5aba",
"in_Dashboard": "",
"areabrief_url": null,
"description": "Latest NWS Summary\nWeather Forecast Office: Sterling, VA (KLWX)\nEvent Tracking Number: 10\n\nThe storm which prompted the warning has weakened below severe\nlimits, and no longer appears capable of producing a tornado.\nTherefore, the warning will be allowed to expire.\n\nTo report severe weather, contact your nearest law enforcement\nagency. They will relay your report to the National Weather Service\nSterling Virginia.",
"roles": []
},
{
"app_ID": 0,
"app_IDs": "",
"autoexpire": "Y",
"category_ID": "EVENT",
"charter_Uri": "",
"comment_Text": "223030",
"create_Date": "1621717403150",
"creator": "DisasterAWARE (Automated)",
"end_Date": "1622646197955",
"glide_Uri": "",
"hazard_ID": 135800,
"hazard_Name": "Volcano - Nyiragongo, DR Congo",
"last_Update": "1622228128479",
"latitude": -1.52,
"longitude": 29.25,
"master_Incident_ID": "130.1622214143230.1",
"message_ID": "130.1622214143230",
"org_ID": -1,
"severity_ID": "WARNING",
"snc_url": "https://hazardbrief.pdc.org/PRODUCTION/ui/index.html?uuid=39cf484f-9de4-49fb-a9c4-8fc7ea139907",
"start_Date": "1621717320000",
"status": "A",
"type_ID": "VOLCANO",
"update_Date": "1622214202544",
"update_User": null,
"product_total": "82",
"uuid": "39cf484f-9de4-49fb-a9c4-8fc7ea139907",
"in_Dashboard": "",
"areabrief_url": null,
"description": "Volcanic activity has been reported for Nyiragongo in DR Congo, by the Volcanic Ash Advisory Centre (VAAC) TOULOUSE on May 28, 2021, 14:59:00 GMT.\n\nThis volcanic activity is reported based on aerial, satellite and/or ground observations.\nBased on the limited data available, it is estimated that 35,638 people, 5,246 households, and $15.4 Million (USD) of infrastructure* are within 10 km (6 miles) and more likely to be adversely impacted, and that 1.18 Million people, 260,884 households, and $982 Million (USD) of infrastructure* are 10-30 km (6-18 miles) from the volcano. Additional information will be provided as it becomes available by official sources.\n\nVolcano information sources for this report include: SAT IMAGERY, OVG VONA\n*The cost represents the total replacement value of the infrastructure.\n",
"roles": []
}
]
Invalid Token
See Authorizing Requests page to get your accessToken.
See Requesting Hazard Severities page to see a list of severity-id.
Below is an example request with path parameters severity-id=WARNING
curl --location --request GET \
'https://api.disasteraware.com/hazards/active/severity/WARNING' \
--header 'Authorization: Bearer '
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
URL url = new URL("https://api.disasteraware.com/hazards/active/severity/WARNING");
HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();
httpConn.setRequestMethod("GET");
httpConn.setRequestProperty("Authorization", "Bearer");
InputStream responseStream = httpConn.getResponseCode() / 100 == 2
? httpConn.getInputStream()
: httpConn.getErrorStream();
Scanner s = new Scanner(responseStream).useDelimiter("\\A");
String response = s.hasNext() ? s.next() : "";
System.out.println(response);
}
}
var fetch = require('node-fetch');
fetch('https://api.disasteraware.com/hazards/active/severity/WARNING', {
headers: {
'Authorization': 'Bearer'
}
});
<?php
include('vendor/rmccue/requests/library/Requests.php');
Requests::register_autoloader();
$headers = array(
'Authorization' => 'Bearer'
);
$response = Requests::get('https://api.disasteraware.com/hazards/active/severity/WARNING', $headers);
import requests
headers = {
'Authorization': 'Bearer',
}
response = requests.get('https://api.disasteraware.com/hazards/active/severity/WARNING', headers=headers)
Last updated