Skip to content
Fourohtwo

x402-toolbox.vercel.app/weather

Current conditions (temperature, humidity, wind, cloud, pressure, rain next hour) and a 3-day daily forecast for a place name or lat/lon anywhere. Metric or imperial units. Data from MET Norway, geocoding from OpenStreetMap. Not charged on bad input, unknown place or upstream failure. No API key.

BaseUnchecked
GEThttps://x402-toolbox.vercel.app/weather

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-toolbox.vercel.app/weather?place=Cincinnati&units=imperial");
console.log(await res.json());

Example input

{
  "place": "Cincinnati",
  "units": "imperial"
}