82trust / 100
Weather Hourly
by Hourly forecast (global) in Weather & location
x402 APIPassing, checked 4 h ago
48-hour hourly weather forecast for any location: temperature, precipitation probability and amount, wind, cloud cover, humidity. Open-Meteo, no key, global.
GET https://agent402.tools/api/weather-hourly
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 191 ms typical, 191 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/weather-hourly?lat=-33.8688&lon=151.2093"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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fweather-hourly
const res = await pay("https://agent402.tools/api/weather-hourly?lat=-33.8688&lon=151.2093");
console.log(await res.json());Example input
{
"lat": -33.8688,
"lon": 151.2093
}Example output
{
"hours": [
{
"cloudCover": 25,
"condition": "Mainly clear",
"humidity": 62,
"precipProbability": 10,
"precipitation": 0,
"temperature": 18.2,
"time": "2026-06-23T14:00",
"unit": "°C",
"weatherCode": 1,
"windDirection": 195,
"windSpeed": 14.8,
"windUnit": "km/h"
}
],
"lat": -33.8688,
"lon": 151.2093,
"source": "api.open-meteo.com (CC BY 4.0)"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 191 ms | $0.002 |