80trust / 100
Weather Forecast
by AllTheBot Weather forecast in Weather & location
x402 APIPassing, checked 3 h ago
Weather forecast API for any latitude / longitude worldwide: current conditions, next 24 hours hour by hour and a 1-7 day daily summary (min / max temperature, precipitation, wind, humidity, cloud cover, weather symbol). MET Norway data, no API key.
GET https://api.zkrobotics.fr/x402/weather/forecast
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 97 ms typical, 97 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.zkrobotics.fr/x402/weather/forecast?days=3&lat=48.85&lon=2.35"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.zkrobotics.fr%2Fx402%2Fweather%2Fforecast
const res = await pay("https://api.zkrobotics.fr/x402/weather/forecast?days=3&lat=48.85&lon=2.35");
console.log(await res.json());Example input
{
"days": 3,
"lat": 48.85,
"lon": 2.35
}Example output
{
"daily_utc": [
{
"date": "2026-10-10",
"precip_mm": 0.2,
"symbol": "partlycloudy",
"temp_max_c": 17.2,
"temp_min_c": 11.8,
"wind_max_ms": 5.4
}
],
"lat": 48.85,
"lon": 2.35,
"model_updated": "2026-10-10T09:17:18Z",
"next_24h": [
{
"cloud_pct": 35.9,
"humidity_pct": 68.3,
"precip_mm": 0,
"pressure_hpa": 1016.5,
"symbol": "fair",
"temp_c": 15.4,
"time": "2026-10-10T10:00:00Z",
"wind_dir_deg": 271.6,
"wind_ms": 4.2
}
],
"now": {
"cloud_pct": 35.9,
"humidity_pct": 68.3,
"precip_mm": 0,
"pressure_hpa": 1016.5,
"symbol": "fair",
"temp_c": 15.4,
"time": "2026-10-10T10:00:00Z",
"wind_dir_deg": 271.6,
"wind_ms": 4.2
},
"source": "MET Norway, Locationforecast 2.0 (api.met.no), CC BY 4.0",
"units": {
"precip": "mm",
"pressure": "hPa",
"temp": "celsius",
"wind": "m/s"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 117 ms | $0.002 |
| 8 h ago | Passed | 402 | 97 ms | $0.002 |