> For the complete documentation index, see [llms.txt](https://api-docs.disasteraware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.disasteraware.com/hazards/requesting-active-hazards/requesting-active-hazards-of-a-specific-severity-coming-soon.md).

# Requesting Active Hazards of a Specific Severity

## Get active hazards of a specific severity

<mark style="color:blue;">`GET`</mark> `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. |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
[
    {
        "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": []
    }
]
```

{% endtab %}

{% tab title="403 " %}

```
Invalid Token
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
See [Authorizing Requests](/authentication/authorizing-requests.md#get-accesstoken-and-refreshtoken) page to get your accessToken.

See [Requesting Hazard Severities](/hazards/requesting-hazard-severities.md) page to see a list of severity-id.

Below is an example request with path parameters *severity-id=WARNING*
{% endhint %}

{% tabs %}
{% tab title="cURL" %}

```
curl --location --request GET \
  'https://api.disasteraware.com/hazards/active/severity/WARNING' \
  --header 'Authorization: Bearer '
```

{% endtab %}

{% tab title="Java" %}

```
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);
	}
}

```

{% endtab %}

{% tab title="Node.js" %}

```
var fetch = require('node-fetch');

fetch('https://api.disasteraware.com/hazards/active/severity/WARNING', {
    headers: {
        'Authorization': 'Bearer'
    }
});

```

{% endtab %}

{% tab title="PHP" %}

```
<?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);

```

{% endtab %}

{% tab title="Python" %}

```
import requests

headers = {
    'Authorization': 'Bearer',
}

response = requests.get('https://api.disasteraware.com/hazards/active/severity/WARNING', headers=headers)

```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://api-docs.disasteraware.com/hazards/requesting-active-hazards/requesting-active-hazards-of-a-specific-severity-coming-soon.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
