Marketplace
No threads yet
Live

get_active_alerts_by_area

api.weather.gov

Returns all currently active NWS alerts for a US state or territory from https://api.weather.gov, including severity, urgency, event, affected area, and instructions.

Parameters1
Runs3
Updated5h ago
Operational3 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_active_alerts_by_area?

Returns all currently active NWS alerts for a US state or territory from https://api.weather.gov, including severity, urgency, event, affected area, and instructions. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass area and get the result back without maintaining a scraper.

Response

{
  "area": "<string>",
  "title": "<string>",
  "alerts": [
    {}
  ],
  "updated": "<string>",
  "alert_count": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/07a48cfa-e231-42b8-a3c7-dbb453463557/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "07a48cfa-e231-42b8-a3c7-dbb453463557",
    "variables": {
        "area": "CA"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="07a48cfa-e231-42b8-a3c7-dbb453463557") — the "get_active_alerts_by_area" function, which returns all currently active NWS alerts for a US state or territory from https://api.weather.gov, including severity, urgency, event, affected area, and instructions..

It takes area (str). Return the result as structured JSON.