Daily weather forecast (1-7 days) by city name — max/min temperature, precipitation amount
Daily weather forecast (1-7 days) by city name — max/min temperature, precipitation amount and probability, peak wind speed per day. Automatic geocoding from city name to coordinates. Structured JSON ready for immediate use in agent workflows. No API keys, no coordinate lookups, no setup needed. Accepts USDC payments on Base and Solana
10000 (raw units)
price
6
calls / 30d
3
unique payers
2026-09-11
updated
Provider
weather.hugen.tokyo · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "4du4AfkjJEwch2zk3shkPJVZfyJHNDnNjEWC6AboaS5Z",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "weather",
"discoverable": true,
"info": {
"input": {
"method": "GET",
"queryParams": {
"city": "Tokyo",
"days": "3"
},
"type": "http"
},
"output": {
"example": {
"city": "Tokyo",
"country": "Japan",
"days": [
{
"condition": "Slight rain",
"date": "2026-02-21",
"precipitation_mm": 12.5,
"precipitation_probability_pct": 85,
"temp_max_c": 15.2,
"temp_min_c": 8.1,
"weather_code": 61,
"wind_max_kmh": 22
}
],
"latitude": 35.6895,
"longitude": 139.6917
},
"type": "json"
}
},
"schema": {
"properties": {
"input": {
"required": [
"method"
]
}
}
},
"tags": [
"weather",
"forecast",
"7-day",
"daily"
]
}
}Use it
curl
curl "https://weather.hugen.tokyo/weather/forecast" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://weather.hugen.tokyo/weather/forecast");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://weather.hugen.tokyo/weather/forecast")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/12811.json, and this resource appears in /discovery/resources and /discovery/search.