Point forecast for any latitude/longitude on Earth
agent-data.tariffdata.workers.dev/v1/weather
Point forecast for any latitude/longitude on Earth: temperature, wind, humidity, cloud, pressure, precipitation and symbol per hour for up to 48 hours, plus a summary. Data: MET Norway Locationforecast (CC BY 4.0), cached until its Expires time.
GET
https://agent-data.tariffdata.workers.dev/v1/weatherUptime0.0% of 1 check 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-data.tariffdata.workers.dev/v1/weather?lat=40.7128&lon=-74.006&hours=24");
console.log(await res.json());Example input
{
"lat": 40.7128,
"lon": -74.006,
"hours": 24
}