NWS US Active Weather Alerts
List active National Weather Service weather alerts for a US state or territory. Supply an area. Sample fields include titles and headlines. Feed the data into a location-based weather dashboard.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
NWS US Active Weather Alerts
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
@context(string | object)[]@versionstring@vocabstringwxstring
featuresobject[]geometrynullidstringpropertiesobject@idstring@typestringaffectedZonesstring[]areaDescstringcategorystringcertaintystringcodestringdescriptionstringeffectivestringendsstringeventstringeventCodeobjectNationalWeatherServicestring[]SAMEstring[]
expiresstringgeocodeobjectSAMEstring[]UGCstring[]
headlinestringidstringinstructionstringlanguagestringmessageTypestringnotenullonsetstringparametersobjectAWIPSidentifierstring[]BLOCKCHANNELstring[]NWSheadlinestring[]VTECstring[]WMOidentifierstring[]eventEndingTimestring[]
referencesunknown[]responsestringscopestringsenderstringsenderNamestringsentstringseveritystringstatusstringurgencystringwebstring
typestring
titlestringtypestringupdatedstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
"@context"?: Array<string | {
"@version"?: string;
"@vocab"?: string;
wx?: string;
}>;
features?: Array<{
geometry?: null;
id?: string;
properties?: {
"@id"?: string;
"@type"?: string;
affectedZones?: Array<string>;
areaDesc?: string;
category?: string;
certainty?: string;
code?: string;
description?: string;
effective?: string;
ends?: string;
event?: string;
eventCode?: {
NationalWeatherService?: Array<string>;
SAME?: Array<string>;
};
expires?: string;
geocode?: {
SAME?: Array<string>;
UGC?: Array<string>;
};
headline?: string;
id?: string;
instruction?: string;
language?: string;
messageType?: string;
note?: null;
onset?: string;
parameters?: {
AWIPSidentifier?: Array<string>;
BLOCKCHANNEL?: Array<string>;
NWSheadline?: Array<string>;
VTEC?: Array<string>;
WMOidentifier?: Array<string>;
eventEndingTime?: Array<string>;
};
references?: Array<unknown>;
response?: string;
scope?: string;
sender?: string;
senderName?: string;
sent?: string;
severity?: string;
status?: string;
urgency?: string;
web?: string;
};
type?: string;
}>;
title?: string;
type?: string;
updated?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
nwsCurrent NWS US Active Weather Alerts · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/nws/alerts/active- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/nws/alerts/active?area=CA' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
area | URL query parametersquery | string | Yes | Two-letter US state or territory code, such as CA. minLength: 1 · maxLength: 2 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"@context": [
"https://geojson.org/geojson-ld/geojson-context.jsonld",
{
"@version": "1.1",
"@vocab": "https://api.weather.gov/ontology#",
"wx": "https://api.weather.gov/ontology#"
}
],
"features": [
{
"geometry": null,
"id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"properties": {
"@id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"@type": "wx:Alert",
"affectedZones": [
"https://api.weather.gov/zones/forecast/CAZ338"
],
"areaDesc": "Mojave Desert Slopes",
"category": "Met",
"certainty": "Likely",
"code": "IPAWSv1.0",
"description": "* WHAT...West winds 15 to 25 mph with gusts up to 45 mph expected.\n\n* WHERE...Mojave Desert Slopes.\n\n* WHEN...From 4 PM this afternoon to 6 AM PST Wednesday.\n\n* IMPACTS...Gusty winds will blow around unsecured objects. Tree\nlimbs could be blown down and a few power outages may result.\n\n* ADDITIONAL DETAILS...Highways impacted include State Routes 14, 58,\nand 178, as well as U.S. 395.",
"effective": "2026-11-03T03:01:00-08:00",
"ends": "2026-11-04T06:00:00-08:00",
"event": "Wind Advisory",
"eventCode": {
"NationalWeatherService": [
"WIY"
],
"SAME": [
"NWS"
]
},
"expires": "2026-11-03T11:15:00-08:00",
"geocode": {
"SAME": [
"006029"
],
"UGC": [
"CAZ338"
]
},
"headline": "Wind Advisory issued November 3 at 3:01AM PST until November 4 at 6:00AM PST by NWS Hanford CA",
"id": "urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"instruction": "Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.",
"language": "en-US",
"messageType": "Alert",
"note": null,
"onset": "2026-11-03T16:00:00-08:00",
"parameters": {
"AWIPSidentifier": [
"NPWHNX"
],
"BLOCKCHANNEL": [
"EAS",
"NWEM",
"CMAS"
],
"NWSheadline": [
"WIND ADVISORY IN EFFECT FROM 4 PM THIS AFTERNOON TO 6 AM PST WEDNESDAY"
],
"VTEC": [
"/O.NEW.KHNX.WI.Y.0033.261104T0000Z-261104T1400Z/"
],
"WMOidentifier": [
"WWUS76 KHNX 031101"
],
"eventEndingTime": [
"2026-11-04T06:00:00-08:00"
]
},
"references": [],
"response": "Execute",
"scope": "Public",
"sender": "w-nws.webmaster@noaa.gov",
"senderName": "NWS Hanford CA",
"sent": "2026-11-03T03:01:00-08:00",
"severity": "Moderate",
"status": "Actual",
"urgency": "Expected",
"web": "http://www.weather.gov"
},
"type": "Feature"
}
],
"title": "Current watches, warnings, and advisories for California",
"type": "FeatureCollection",
"updated": "2026-11-03T14:38:40+00:00"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# NWS US Active Weather Alerts
List active National Weather Service weather alerts for a US state or territory. Supply an area. Sample fields include titles and headlines. Feed the data into a location-based weather dashboard.
Documentation: https://openany.si/apis/83f861b9-80bd-4c97-bcb6-dc5682762ea2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/nws/alerts/active
Price: $0 / call
Provider: nws
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/nws/alerts/active?area=CA' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "NWS US Active Weather Alerts",
"endpoint": "https://api.openany.si/v1/agent-apis/nws/alerts/active",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Two-letter US state or territory code, such as CA.",
"location": "query",
"max_length": 2,
"min_length": 1,
"name": "area",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Documentation example (source abbreviated)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"area": "CA"
}
},
"response_body": {
"@context": [
"https://geojson.org/geojson-ld/geojson-context.jsonld",
{
"@version": "1.1",
"@vocab": "https://api.weather.gov/ontology#",
"wx": "https://api.weather.gov/ontology#"
}
],
"features": [
{
"geometry": null,
"id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"properties": {
"@id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"@type": "wx:Alert",
"affectedZones": [
"https://api.weather.gov/zones/forecast/CAZ338"
],
"areaDesc": "Mojave Desert Slopes",
"category": "Met",
"certainty": "Likely",
"code": "IPAWSv1.0",
"description": "* WHAT...West winds 15 to 25 mph with gusts up to 45 mph expected.\n\n* WHERE...Mojave Desert Slopes.\n\n* WHEN...From 4 PM this afternoon to 6 AM PST Wednesday.\n\n* IMPACTS...Gusty winds will blow around unsecured objects. Tree\nlimbs could be blown down and a few power outages may result.\n\n* ADDITIONAL DETAILS...Highways impacted include State Routes 14, 58,\nand 178, as well as U.S. 395.",
"effective": "2026-11-03T03:01:00-08:00",
"ends": "2026-11-04T06:00:00-08:00",
"event": "Wind Advisory",
"eventCode": {
"NationalWeatherService": [
"WIY"
],
"SAME": [
"NWS"
]
},
"expires": "2026-11-03T11:15:00-08:00",
"geocode": {
"SAME": [
"006029"
],
"UGC": [
"CAZ338"
]
},
"headline": "Wind Advisory issued November 3 at 3:01AM PST until November 4 at 6:00AM PST by NWS Hanford CA",
"id": "urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1",
"instruction": "Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.",
"language": "en-US",
"messageType": "Alert",
"note": null,
"onset": "2026-11-03T16:00:00-08:00",
"parameters": {
"AWIPSidentifier": [
"NPWHNX"
],
"BLOCKCHANNEL": [
"EAS",
"NWEM",
"CMAS"
],
"NWSheadline": [
"WIND ADVISORY IN EFFECT FROM 4 PM THIS AFTERNOON TO 6 AM PST WEDNESDAY"
],
"VTEC": [
"/O.NEW.KHNX.WI.Y.0033.261104T0000Z-261104T1400Z/"
],
"WMOidentifier": [
"WWUS76 KHNX 031101"
],
"eventEndingTime": [
"2026-11-04T06:00:00-08:00"
]
},
"references": [],
"response": "Execute",
"scope": "Public",
"sender": "w-nws.webmaster@noaa.gov",
"senderName": "NWS Hanford CA",
"sent": "2026-11-03T03:01:00-08:00",
"severity": "Moderate",
"status": "Actual",
"urgency": "Expected",
"web": "http://www.weather.gov"
},
"type": "Feature"
}
],
"title": "Current watches, warnings, and advisories for California",
"type": "FeatureCollection",
"updated": "2026-11-03T14:38:40+00:00"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example (source abbreviated)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
area- Two-letter US state or territory code, such as CA.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/nws/alerts/active?area=CA' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "@context": [ "https://geojson.org/geojson-ld/geojson-context.jsonld", { "@version": "1.1", "@vocab": "https://api.weather.gov/ontology#", "wx": "https://api.weather.gov/ontology#" } ], "features": [ { "geometry": null, "id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1", "properties": { "@id": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1", "@type": "wx:Alert", "affectedZones": [ "https://api.weather.gov/zones/forecast/CAZ338" ], "areaDesc": "Mojave Desert Slopes", "category": "Met", "certainty": "Likely", "code": "IPAWSv1.0", "description": "* WHAT...West winds 15 to 25 mph with gusts up to 45 mph expected.\n\n* WHERE...Mojave Desert Slopes.\n\n* WHEN...From 4 PM this afternoon to 6 AM PST Wednesday.\n\n* IMPACTS...Gusty winds will blow around unsecured objects. Tree\nlimbs could be blown down and a few power outages may result.\n\n* ADDITIONAL DETAILS...Highways impacted include State Routes 14, 58,\nand 178, as well as U.S. 395.", "effective": "2026-11-03T03:01:00-08:00", "ends": "2026-11-04T06:00:00-08:00", "event": "Wind Advisory", "eventCode": { "NationalWeatherService": [ "WIY" ], "SAME": [ "NWS" ] }, "expires": "2026-11-03T11:15:00-08:00", "geocode": { "SAME": [ "006029" ], "UGC": [ "CAZ338" ] }, "headline": "Wind Advisory issued November 3 at 3:01AM PST until November 4 at 6:00AM PST by NWS Hanford CA", "id": "urn:oid:2.49.0.1.840.0.36d27685614e35fbcc8682a9c2e37f391c244f9f.001.1", "instruction": "Winds this strong can make driving difficult, especially for high\nprofile vehicles. Use extra caution.", "language": "en-US", "messageType": "Alert", "note": null, "onset": "2026-11-03T16:00:00-08:00", "parameters": { "AWIPSidentifier": [ "NPWHNX" ], "BLOCKCHANNEL": [ "EAS", "NWEM", "CMAS" ], "NWSheadline": [ "WIND ADVISORY IN EFFECT FROM 4 PM THIS AFTERNOON TO 6 AM PST WEDNESDAY" ], "VTEC": [ "/O.NEW.KHNX.WI.Y.0033.261104T0000Z-261104T1400Z/" ], "WMOidentifier": [ "WWUS76 KHNX 031101" ], "eventEndingTime": [ "2026-11-04T06:00:00-08:00" ] }, "references": [], "response": "Execute", "scope": "Public", "sender": "w-nws.webmaster@noaa.gov", "senderName": "NWS Hanford CA", "sent": "2026-11-03T03:01:00-08:00", "severity": "Moderate", "status": "Actual", "urgency": "Expected", "web": "http://www.weather.gov" }, "type": "Feature" } ], "title": "Current watches, warnings, and advisories for California", "type": "FeatureCollection", "updated": "2026-11-03T14:38:40+00:00" }