Skip to content
Fourohtwo

Weather Forecast (Open-Meteo)

x402.freeq.one/tools/weather_forecast

Weather Forecast (Open-Meteo): Current, hourly and daily weather for any place name — no coordinates needed: temperature, feels-like, precipitation chance, wind and WMO conditions, plus US National Weather Service alerts when active. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/weather_forecast.

BaseAnswering
POSThttps://x402.freeq.one/tools/weather_forecast

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://x402.freeq.one/tools/weather_forecast", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"place":"Vancouver","latitude":49.28,"longitude":-123.12,"forecast_days":7,"temperature_unit":"celsius"}),
});
console.log(await res.json());

Example input

{
  "place": "Vancouver",
  "latitude": 49.28,
  "longitude": -123.12,
  "forecast_days": 7,
  "temperature_unit": "celsius"
}

More from x402-gatewayProvider status