W

Weather Forecast & Air Quality · Weather

by Weather Forecast & Air Quality

GETBase

$0.005

per call · USD Coin on Base

Weather forecast and air quality for any location worldwide. Returns current conditions plus a 16-day daily weather forecast - temperature highs and lows, precipitation, and wind - alongside air-quality readings including AQI, PM2.5, PM10, and ozone, for any latitude and longitude. Daily forecast resolution. Keyless, via Open-Meteo.

Endpoint

GET https://api.kadec0.xyz/v1/weather

13

Calls / 30d

2

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://api.kadec0.xyz/v1/weather", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.kadec0.xyz/v1/weather?forecast_days=3&lat=52.52&lng=13.41" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 1,
  "items": [
    {
      "airQuality": {
        "usAqi": 34
      },
      "current": {
        "condition": "Overcast",
        "temperature": 23.2
      },
      "forecast": [
        {
          "condition": "Clear sky",
          "date": "2026-06-21",
          "tempMax": 26
        }
      ],
      "type": "weather"
    }
  ]
}

Payment details

Pay to0x4df66b6c140778fe0717880a7c6dde5ea53acdea
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 Weather Forecast & Air Quality & similar services