Ranked 7-day weather risk for up to 50 sites in one call
agent402.tools/api/weather-risk-brief
Ranked 7-day weather risk for up to 50 sites in one call: each site gets a 0-100 risk score from frost, heat, gust, heavy rain, snow and air-quality checks. Use it to triage many sites at once. Weather data by Open-Meteo.com (CC BY 4.0). Place data from GeoNames (CC BY 4.0). Contains modified Copernicus CAMS and C3S information. Neither the European Commission nor ECMWF is responsible for any use
POST
https://agent402.tools/api/weather-risk-briefUptime100% of 4 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://agent402.tools/api/weather-risk-brief", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"sites":[{"lat":41.88,"lon":-87.63,"name":"Chicago DC"},{"lat":29.76,"lon":-95.37,"name":"Houston DC"},{"lat":39.74,"lon":-104.99,"name":"Denver DC"},{"lat":25.76,"lon":-80.19,"name":"Miami DC"},{"lat":47.61,"lon":-122.33,"name":"Seattle DC"},{"lat":33.45,"lon":-112.07,"name":"Phoenix DC"}]}),
});
console.log(await res.json());Example input
{
"sites": [
{
"lat": 41.88,
"lon": -87.63,
"name": "Chicago DC"
},
{
"lat": 29.76,
"lon": -95.37,
"name": "Houston DC"
},
{
"lat": 39.74,
"lon": -104.99,
"name": "Denver DC"
},
{
"lat": 25.76,
"lon": -80.19,
"name": "Miami DC"
},
{
"lat": 47.61,
"lon": -122.33,
"name": "Seattle DC"
},
{
"lat": 33.45,
"lon": -112.07,
"name": "Phoenix DC"
}
]
}