82trust / 100
Weather Now
by TBS Weather & Climate API in Weather & location
x402 APIPassing, checked 16 min ago
Current weather right now, cheap: temperature, feels-like, humidity, wind speed and direction, pressure, cloud cover, precipitation, UV, day/night — plus a live air-quality snapshot (AQI, PM2.5) and today’s high/low. City or lat/lon. The budget "weather now" call.
GET https://x402.tbs-digital.com/weather/now
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 61 ms typical, 61 ms slowest 5%
- Last check
- 16 min ago
- Next check
- in 11 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.tbs-digital.com/weather/now?city=Paris"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%2Fx402.tbs-digital.com%2Fweather%2Fnow
const res = await pay("https://x402.tbs-digital.com/weather/now?city=Paris");
console.log(await res.json());Example input
{
"city": "Paris"
}Example output
{
"air_quality": {
"aqi_european": 20,
"pm2_5": 5.1
},
"current": {
"condition": "Clear sky",
"condition_code": "0",
"feels_like_c": 20.1,
"humidity_pct": 55,
"is_day": true,
"observed_at": "2026-08-09T11:00:00Z",
"temp_c": 21.3,
"wind_kmh": 12
},
"generated_at": "2026-08-09T12:00:00.000Z",
"location": {
"country": "FR",
"lat": 48.85,
"lon": 2.35,
"name": "Paris"
},
"payer": {
"address": "0x0000000000000000000000000000000000000000",
"network": "base"
},
"request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
"source": "open-meteo",
"timezone": "Europe/Paris",
"today": {
"date": "2026-08-09",
"temp_max_c": 25,
"temp_min_c": 15
},
"utc_offset_seconds": 7200
}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 |
|---|---|---|---|---|
| 16 min ago | Passed | 402 | 283 ms | $0.001 |
| 5 h ago | Passed | 402 | 61 ms | $0.001 |