x402 Weather API · Weather

by x402 Weather API

GETBaseSolanaArbitrumPolygon

$0.001

per call · USD Coin on Base

Live current weather conditions for any city, sourced from Open-Meteo

Endpoint

GET https://x402tap.com/api/weather

14

Calls / 30d

8

Unique payers / 30d

Sep 8

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://x402tap.com/api/weather", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402tap.com/api/weather?city=Austin" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "location": "Austin, Texas, United States",
  "observedAt": "2026-08-15T12:00",
  "report": {
    "feelsLike": 94,
    "humidityPercent": 48,
    "temperature": 91,
    "weather": "partly cloudy",
    "windMph": 7
  },
  "source": "open-meteo.com"
}

Payment details

Pay to0xb810b599bc730aa85800babe7f5d160524322c86
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from x402 Weather API & similar services