api.24klabs.ai/api/weather-forecast
Daily high/low, precipitation, and conditions for the next N days at any lat/lon (Open-Meteo).
POST
https://api.24klabs.ai/api/weather-forecastUptime100% 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
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://api.24klabs.ai/api/weather-forecast", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"days":3,"lat":51.51,"lon":-0.13}),
});
console.log(await res.json());Example input
{
"days": 3,
"lat": 51.51,
"lon": -0.13
}More from Weather Forecast
- api.facts402.com/weatherUse when an agent needs a weather forecast for a latitude/longitude: current conditions plus up to 7 local-day summaries (min/max temperature, precipitation, max wind, weather symbol) in the local time zone. Data from MET Norway (CC BY 4.0). $0.01 USDC on Base; charged only on 2xx, never for invalid input.0.01
- x402.agentindex.world/weatherWeather forecast API. Current weather and a 3-day forecast for any city or lat/lon - temperature, humidity, wind, conditions. No account, no API key. Try GET /weather/sample.0.001
