82trust / 100

Weather Alerts By State

by Maxwell x402 in Weather & location

x402 APIPassing, checked 34 min ago

Active NWS alerts for one US state or territory (full name, e.g. Colorado): event, severity, urgency, certainty, headline, area, onset and end times. From the NWS (US and territories), cached and refreshed about every 3 hours; a location not yet cached answers 404, is not charged, and is queued.

GET https://api.maxwellinternational.ai/v1/weather/alerts-by-state

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
200 ms typical, 200 ms slowest 5%
Last check
34 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/weather/alerts-by-state?state=Alaska"
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%2Fapi.maxwellinternational.ai%2Fv1%2Fweather%2Falerts-by-state
const res = await pay("https://api.maxwellinternational.ai/v1/weather/alerts-by-state?state=Alaska");
console.log(await res.json());

Example input

{
  "state": "Alaska"
}

Example output

{
  "alerts": [
    {
      "areaDesc": "Western Copper Valley; Central Copper Valley",
      "certainty": "Likely",
      "ends": "2026-10-05T10:00:00-08:00",
      "event": "Dense Fog Advisory",
      "headline": "Dense Fog Advisory issued October 4 at 10:03PM AKDT until October 5 at 10:00A...",
      "id": "urn:oid:2.49.0.1.840.0.4a3042abbabc389719ec25af1f955cd0041ee288.001.1",
      "onset": "2026-10-04T22:03:00-08:00",
      "severity": "Moderate",
      "urgency": "Expected"
    }
  ],
  "count": 2,
  "country": "United States",
  "generatedAt": "2026-10-05T07:08:17.606Z",
  "match": true,
  "nwsAreaCode": "AK",
  "sku": "weather.alerts-by-state",
  "sourceClass": "official-api",
  "state": "Alaska",
  "stateSlug": "alaska"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
34 min agoPassed402200 ms$0.005
4 h agoPassed402259 ms$0.005
9 h agoPassed40283 ms$0.005