# x402-factory Extreme Heat Alerts

> x402-factory Extreme Heat Alerts is a paid API for AI agents from x402-factory.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns active NWS extreme heat alerts and model-based heat risk forecasts for any US latitude/longitude point or state.

## Facts

- Endpoint: GET https://x402-factory.com/v1/alerts/heat
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-factory-extreme-heat-alerts-78bb7d2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GRGYNNPdMp_3ilWfbp9BL

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 x402-factory-extreme-heat-alerts-78bb7d2e
```

Example prompt: Are there any active extreme heat warnings or advisories right now for Phoenix, Arizona (lat 33.45, lon -112.07), and what does the model say the heat risk looks like over the next few days?

## When to prefer this

Use this endpoint when you specifically need extreme heat hazard information for a US location — it pre-filters NWS alerts to only heat-related hazards and augments them with model-based risk probabilities, saving the extra step of filtering a general alerts feed. Prefer it over the general /v1/alerts/severe endpoint when heat is your only concern.

## Known failure modes

- Missing or out-of-range lat/lon returns a validation error
- No active alerts returns an empty 'active' array, not an error
- Invalid state code (not 2 letters) returns a 400 error
- Service may return stale data if NWS feed is delayed
- Payment of 0.01 USDC required per call; unpaid requests return 402

## How this service works

Active and forecast extreme heat risk (NWS + model) — Active NWS alerts filtered to extreme heat hazards for any US point, with model-based risk context. Same shape as /v1/alerts/severe with the hazard class fixed to extreme heat.

## Output

Returns two arrays: 'active' containing current NWS extreme heat alerts (event name, severity, headline, onset/expiry timestamps, source), and 'model_risk' containing forward-looking heat hazard entries with probability scores (0–1) and time windows. Also includes a meta object with request context.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180
      },
      "state": {
       "type": "string",
       "pattern": "^[A-Za-z]{2}$",
       "maxLength": 2,
       "minLength": 2
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "active",
        "model_risk"
       ],
       "properties": {
        "active": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "event",
           "severity",
           "headline",
           "onset",
           "expires",
           "source"
          ],
          "properties": {
           "event": {
            "type": "string"
           },
           "onset": {
            "type": "string"
           },
           "source": {
            "type": "string",
            "const": "NWS"
           },
           "expires": {
            "type": "string"
           },
           "headline": {
            "type": "string"
           },
           "severity": {
            "type": "string"
           }
          },
          "additionalProperties": false
         }
        },
        "model_risk": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "hazard",
           "window_start",
           "window_end",
           "probability"
          ],
          "properties": {
           "hazard": {
            "type": "string"
           },
           "window_end": {
            "type": "string"
           },
           "probability": {
            "type": "number",
            "maximum": 1,
            "minimum"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-factory-extreme-heat-alerts-78bb7d2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-factory.com](https://www.zero.xyz/host/x402-factory.com/llms.txt)
