Weather Current
by TBS Weather & Climate API in Weather & location
Weather forecast by city name or coordinates: current temperature, feels-like, conditions, humidity, wind and gusts, pressure, UV, precipitation, plus 24-hour hourly and 7-day daily forecast, air quality, solar radiation, sunrise/sunset, moon phase and rule-derived alerts (heat, freeze, wind, rain, thunderstorm, UV). One call replaces separate forecast, air-quality and astronomy lookups. Local timezone.
https://x402.tbs-digital.com/weather/current- Price
- $0.002
- per call in USDC
- Uptime
- 99.02%
- last 30 days
- Response time
- 214 ms
- 278 ms slowest 5%
- Last check
- Passed
- 9 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://x402.tbs-digital.com/weather/current
Each call costs $0.002 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://x402.tbs-digital.com/weather/current?city=ParisParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | No | City name (alternative to lat/lon; aliases q, location, name, address) |
country | string | No | Optional with city: 2-letter ISO country code |
language | string | No | Optional with city: 2-letter lookup language |
lat | number | No | Latitude -90..90 (requires lon; alias latitude) |
lon | number | No | Longitude -180..180 (requires lat; alias longitude) |
timezone | string | No | Optional IANA timezone, UTC or auto |
Example response
The provider's example. We can't check it without paying.
Example response, 119 lines
{
"air_quality": {
"aerosol_optical_depth": 0.12,
"ammonia": 1.4,
"aqi_european": 20,
"aqi_us": 35,
"co": 140,
"dust": 3.1,
"no2": 12,
"observed_at": "2026-08-09T13:00",
"observed_at_utc": "2026-08-09T11:00:00.000Z",
"ozone": 68,
"pm10": 9.4,
"pm2_5": 5.1,
"pollen_alder": 0,
"pollen_birch": 0,
"pollen_grass": 4.5,
"pollen_mugwort": 1.2,
"pollen_olive": 0,
"pollen_ragweed": 0.6,
"so2": 1.2
},
"alerts": [
{
"code": "EXTREME_UV",
"message": "Very high UV index (8)",
"severity": "moderate"
}
],
"astronomy": {
"day_length_h": 15.37,
"moon_illumination_pct": 99.1,
"moon_phase": 0.52,
"moon_phase_name": "Full moon",
"moonrise": "2026-08-09T19:41:00Z",
"moonset": "2026-08-09T05:12:00Z",
"solar_noon": "2026-08-09T11:53:00Z",
"sunrise": "2026-08-09T04:12:00Z",
"sunset": "2026-08-09T19:34:00Z"
},
"cached": false,
"current": {
"cape_jkg": 120,
"cloud_cover_pct": 10,
"condition": "Clear sky",
"condition_code": "0",
"dew_point_c": 11.8,
"feels_like_c": 20.1,
"humidity_pct": 55,
"is_day": true,
"observed_at": "2026-08-09T13:00",
"observed_at_utc": "2026-08-09T11:00:00.000Z",
"precipitation_mm": 0,
"pressure_hpa": 1015,
"rain_mm": 0,
"snowfall_cm": 0,
"temp_c": 21.3,
"uv_index": 8,
"visibility_m": 24000,
"wind_dir_deg": 250,
"wind_gust_kmh": 24,
"wind_kmh": 12
},
"data_age_s": 0,
"forecast": {
"daily": [
{
"condition_code": "0",
"date": "2026-08-09",
"precip_prob_pct": 5,
"precip_sum_mm": 0,
"sunrise": "2026-08-09T06:12",
"sunset": "2026-08-09T21:34",
"temp_max_c": 25,
"temp_min_c": 15,
"uv_index_max": 8.4
}
],
"hourly": [
{
"condition_code": "0",
"precip_mm": 0,
"precip_prob_pct": 5,
"temp_c": 22.1,
"time": "2026-08-09T13:00",
"uv_index": 8,
"wind_kmh": 12
}
]
},
"generated_at": "2026-08-09T12:00:00.000Z",
"location": {
"admin1": "Île-de-France",
"alternatives": 9,
"country": "France",
"country_code": "FR",
"lat": 48.85,
"lon": 2.35,
"name": "Paris"
},
"payer": {
"address": "0x0000000000000000000000000000000000000000",
"network": "base"
},
"request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
"solar": {
"diffuse_radiation_wm2": 102,
"direct_normal_irradiance_wm2": 620,
"direct_radiation_wm2": 410,
"global_tilted_irradiance_wm2": 545,
"shortwave_radiation_wm2": 512,
"sunshine_duration_hour_s": 3600,
"sunshine_duration_s": 39600,
"sunshine_duration_today_s": 39600
},
"source": "open-meteo",
"timezone": "Europe/Paris",
"utc_offset_seconds": 7200
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://x402.tbs-digital.com/weather/current?city=Paris'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://x402.tbs-digital.com/weather/current?city=Paris' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.tbs-digital.com%2Fweather%2Fcurrent
const res = await pay("https://x402.tbs-digital.com/weather/current?city=Paris");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://x402.tbs-digital.com/weather/current?city=Paris")
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 9 h ago | Passed | 402 | 250 ms | $0.002 |
| 44 h ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 900 ms | $0.002 |
| 4 days ago | Passed | 402 | 194 ms | $0.002 |
| 4 days ago | Passed | 402 | 184 ms | $0.002 |
Show 10 older checks
| 5 days ago | Passed | 402 | 184 ms | $0.002 |
| 5 days ago | Passed | 402 | 225 ms | $0.002 |
| 6 days ago | Passed | 402 | 238 ms | $0.002 |
| 6 days ago | Passed | 402 | 188 ms | $0.002 |
| 6 days ago | Passed | 402 | 224 ms | $0.002 |
| 7 days ago | Passed | 402 | 215 ms | $0.002 |
| 7 days ago | Passed | 402 | 200 ms | $0.002 |
| 7 days ago | Passed | 402 | 177 ms | $0.002 |
| 7 days ago | Passed | 402 | 256 ms | $0.002 |
| 8 days ago | Passed | 402 | 237 ms | $0.002 |
History
| 18 Nov 2026 | Price changed from $0.001 to $0.002 |