82trust / 100
Weather
by us-weather in Weather & location
x402 APIPassing, checked 12 min ago
Current US weather conditions (temp in C+F, humidity, wind, pressure, description) from the NWS for coordinates OR a US address (auto-geocoded).
GET https://api.agentstools.dev/weather
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 26 ms typical, 26 ms slowest 5%
- Last check
- 12 min ago
- Next check
- in 21 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/weather?address=233+S+Wacker+Dr%2C+Chicago%2C+IL"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.agentstools.dev%2Fweather
const res = await pay("https://api.agentstools.dev/weather?address=233+S+Wacker+Dr%2C+Chicago%2C+IL");
console.log(await res.json());Example input
{
"address": "233 S Wacker Dr, Chicago, IL"
}Example output
{
"coverage": "US",
"current": {
"description": "Partly Cloudy",
"humidity_pct": 64.7,
"station": {
"id": "KORD",
"name": "Chicago O'Hare"
},
"temperature_c": 23,
"temperature_f": 73.4,
"wind_speed_kmh": 11,
"wind_speed_mph": 6.8
},
"location": {
"city": "Chicago",
"lat": 41.88,
"lon": -87.63,
"state": "IL"
}
}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 |
|---|---|---|---|---|
| 12 min ago | Passed | 402 | 72 ms | $0.003 |
| 5 h ago | Passed | 402 | 26 ms | $0.003 |