WE
Agent Service · x402 · early usage

Daily weather forecast (1-7 days) by city name — max/min temperature, precipitation amo…

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…

by weather.hugen.tokyo · discovered, not yet claimed by its owner · updated 2026-09-29

30d calls3
30d payers3
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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

Tags: bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-09-29
Input example from Bazaar metadata
{
  "city": "Tokyo",
  "days": "3"
}
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
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/54485.json for the price and payment options.
  3. Pay. Call GET https://weather.hugen.tokyo/weather/forecast. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
3 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.014du4AfkjJEwch2zk3shkPJVZfyJHNDnNjEWC6AboaS5Z300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x29322Ea7EcB34aA6164cb2ddeB9CE650902E4f60",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "4du4AfkjJEwch2zk3shkPJVZfyJHNDnNjEWC6AboaS5Z",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "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"
}
Example shape — generated from the schema, not a captured live response
{
  "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
}

Examples

curl
curl -X GET 'https://weather.hugen.tokyo/weather/forecast'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://weather.hugen.tokyo/weather/forecast", {
  "method": "GET"
});
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.request("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 header

Details

Provider
weather.hugen.tokyo
Endpoint
https://weather.hugen.tokyo/weather/forecast
Machine-readable
/resources/54485.json