79trust / 100
Weather
by tokenguard in Weather & location
x402 APIPassing, checked just now
Current weather + multi-day forecast for any city or lat/lon via Open-Meteo. Temperature, humidity, wind, precipitation, WMO condition codes.
POST https://eltociear-tokenguard.hf.space/weather
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 332 ms typical, 332 ms slowest 5%
- Last check
- just now
- Next check
- in 28 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://eltociear-tokenguard.hf.space/weather" \
-H "content-type: application/json" \
-d '{"forecast_days":3,"location":"Tokyo"}'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%2Feltociear-tokenguard.hf.space%2Fweather
const res = await pay("https://eltociear-tokenguard.hf.space/weather", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"forecast_days":3,"location":"Tokyo"}),
});
console.log(await res.json());Example input
{
"forecast_days": 3,
"location": "Tokyo"
}Example output
{
"current": {
"condition": "Overcast",
"humidity_pct": 92,
"temp_c": 22.8,
"wind_kmh": 4.5
},
"forecast": [
{
"condition": "Heavy rain",
"date": "2026-06-28",
"temp_max_c": 22.8,
"temp_min_c": 20.2
}
],
"location": "Tokyo, Japan",
"timezone": "Asia/Tokyo"
}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 |
|---|---|---|---|---|
| just now | Passed | 402 | 339 ms | $0.005 |
| 3 h ago | Passed | 402 | 332 ms | $0.005 |
| 6 h ago | Passed | 402 | 332 ms | $0.005 |
| 11 h ago | Passed | 402 | 238 ms | $0.005 |