Skip to content
Fourohtwo

agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/weather/us

US weather forecast, current conditions and severe-weather alerts for a latitude/longitude from the National Weather Service (NWS) in one call. Useful when an agent needs local temperature, a forecast or active alerts for a US location. Returns the latest station observation, next 12 hourly periods, 6-period forecast and active alerts as normalized JSON. Errors: 400 JSON {error} for invalid input.

BaseAnswering
GEThttps://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/weather/us

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/weather/us?lat=43.2165&lon=-123.3417");
console.log(await res.json());

Example input

{
  "lat": 43.2165,
  "lon": -123.3417
}