Use when an agent is choosing a date and has to justify the choice
flat-rate-llm.kikoribera03.workers.dev/v1/weather/forecast
Use when an agent is choosing a date and has to justify the choice: a day-by-day forecast for any point on Earth, up to nine days out, from the Norwegian Meteorological Institute's official model. Each day carries its minimum and maximum temperature, total precipitation, strongest wind and the midday symbol, with the exact model run and the institute's declared units.
POST
https://flat-rate-llm.kikoribera03.workers.dev/v1/weather/forecastUptime100% 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://flat-rate-llm.kikoribera03.workers.dev/v1/weather/forecast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"days":5,"lat":40.4165,"lon":-3.7026}),
});
console.log(await res.json());Example input
{
"days": 5,
"lat": 40.4165,
"lon": -3.7026
}