80trust / 100

Alerts Severe

by x402-factory in Weather & location

x402 APIPassing, checked 12 min ago

Active NWS alerts for a point or state, plus model-forward hazard risk — Official National Weather Service active alerts (public domain, attributed) for a lat/lon or two-letter state, combined with our model's forward 48h hazard probabilities (extreme heat, heavy rain, damaging wind). Pass lat+lon or state.

GET https://x402-factory.com/v1/alerts/severe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
126 ms typical, 414 ms slowest 5%
Last check
12 min ago
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-factory.com/v1/alerts/severe?lat=33.4484&lon=-112.074"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-factory.com%2Fv1%2Falerts%2Fsevere
const res = await pay("https://x402-factory.com/v1/alerts/severe?lat=33.4484&lon=-112.074");
console.log(await res.json());

Example input

{
  "lat": 33.4484,
  "lon": -112.074
}

Example output

{
  "data": {
    "active": [
      {
        "event": "Flash Flood Warning",
        "expires": "2026-07-18T16:02:00-07:00",
        "headline": "Flash Flood Warning issued July 18 at 3:52PM MST until July 18 at 4:00PM MST by NWS Tucson AZ",
        "onset": "2026-07-18T15:52:00-07:00",
        "severity": "Severe",
        "source": "NWS"
      },
      {
        "event": "Flash Flood Warning",
        "expires": "2026-07-18T17:15:00-07:00",
        "headline": "Flash Flood Warning issued July 18 at 3:46PM MST until July 18 at 5:15PM MST by NWS Flagstaff AZ",
        "onset": "2026-07-18T15:46:00-07:00",
        "severity": "Severe",
        "source": "NWS"
      }
    ],
    "model_risk": [
      {
        "hazard": "extreme_heat",
        "probability": 0.138,
        "window_end": "2026-07-20T12:00:00.000Z",
        "window_start": "2026-07-18T12:00:00.000Z"
      },
      {
        "hazard": "heavy_rain",
        "probability": 0.677,
        "window_end": "2026-07-20T12:00:00.000Z",
        "window_start": "2026-07-18T12:00:00.000Z"
      }
    ]
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/weather.alerts-severe",
    "endpoint": "/v1/alerts/severe",
    "freshness": "realtime",
    "generated_at": "2026-10-05T10:15:58.016Z",
    "request_id": "req_00000000",
    "sources": [
      "NWS",
      "stub-model"
    ],
    "version": "1.0.0"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
12 min agoPassed402414 ms$0.01
4 h agoPassed402123 ms$0.01
7 h agoPassed402123 ms$0.01
11 h agoPassed402126 ms$0.01
14 h agoPassed402123 ms$0.01
19 h agoPassed402121 ms$0.01
22 h agoPassed402415 ms$0.01
25 h agoPassed402315 ms$0.01
31 h agoPassed402150 ms$0.01