Weather forecast and alerts
data.tollkit.dev/weather
Weather forecast and alerts: give a latitude and longitude anywhere in the world, get the 7-day forecast (temperature, rain, wind). US spots use the National Weather Service and include active weather alerts; elsewhere MET Norway.
POST
https://data.tollkit.dev/weatherUptime100% of 3 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://data.tollkit.dev/weather", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"lat":38.8977,"lon":-77.0365}),
});
console.log(await res.json());Example input
{
"lat": 38.8977,
"lon": -77.0365
}