Skip to content
Fourohtwo

agent402.tools/api/weather-history

Historical daily weather for any location and date range (up to 1 year): high/low temp, precipitation, wind, conditions. Historical archive, no key, global. Data from 1940 to 5 days ago.

BasePolygonArbitrumMonadAvalancheSei+4Unchecked
GEThttps://agent402.tools/api/weather-history

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://agent402.tools/api/weather-history?end=2025-06-07&lat=51.5074&lon=-0.1278&start=2025-06-01");
console.log(await res.json());

Example input

{
  "end": "2025-06-07",
  "lat": 51.5074,
  "lon": -0.1278,
  "start": "2025-06-01"
}