C

Current Weather · Weather

by Current Weather

GETBase

$0.004

per call · USD Coin on Base

Weather for any coordinate. Current (default): temperature (C), relative humidity (%), wind speed, weather code — real-time. Historical: add start_date & end_date (YYYY-MM-DD, up to 92 days per call, archive lags ~5 days) for hourly history — backtest weather-sensitive strategies (energy, agriculture, logistics). Inputs: lat, lon, start_date?, end_date?. Keyless (Open-Meteo).

Endpoint

GET https://x402.shizu.me/weather

28

Calls / 30d

9

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.shizu.me/weather", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.shizu.me/weather?lat=52.52&lon=13.40" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "current": {
    "relative_humidity_2m": 48,
    "temperature_2m": 17.6,
    "weather_code": 1,
    "wind_speed_10m": 12.3
  },
  "lat": 52.52,
  "lon": 13.4
}

Payment details

Pay to0x217e5fe265eb78b29067bf8324ef03a7d8e167c4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Current Weather & similar services