# Datakoot Weather Alerts

> Datakoot Weather Alerts is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns active NWS/NOAA weather alerts for a specified US state

## Facts

- Endpoint: POST https://x402.datakoot.com/api/weather_alerts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-weather-alerts-5e41e654
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mbpgb7fdShtn4wSFg-kfs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability datakoot-weather-alerts-5e41e654 -d '<json body>'
```

Example prompt: What are the active NWS weather alerts for Texas right now?

## When to prefer this

Choose this endpoint when you need real-time, authoritative US weather alerts sourced directly from NWS/NOAA for a specific state. It is ideal for safety checks, travel planning, emergency monitoring, or any agent workflow that needs to know about active severe weather conditions in the US. Prefer this over general weather APIs when you specifically need official government-issued alerts rather than forecasts or current conditions.

## Known failure modes

- Invalid or unrecognized state code returns an error or empty result
- Non-US regions are not supported — only US states covered by NWS
- Payment failure via x402 results in no response being returned
- NWS/NOAA upstream outage may cause stale or missing data
- Full state names may or may not be accepted depending on normalization logic

## How this service works

48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.

## Output

Returns a JSON object with the queried state/area code, an array of active NWS/NOAA weather alerts (each describing the alert type, severity, and affected area), the total count of active alerts, and a source attribution string. If no alerts are active, the alerts array is empty and active_count is 0.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "area": {
   "type": "string",
   "description": "Two-letter US state code, e.g. PA, TX, CA (full state names such as Pennsylvania are also accepted)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "area": "PA",
  "alerts": [],
  "source": "NWS / NOAA (public domain)",
  "active_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-weather-alerts-5e41e654/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
