84trust / 100

Weather

by Weather Forecast & Air Quality in Weather & location

x402 APIPassing, checked 3 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
206 ms typical, 206 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.kadec0.xyz/v1/weather?forecast_days=3&lat=52.52&lng=13.41"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.kadec0.xyz%2Fv1%2Fweather
const res = await pay("https://api.kadec0.xyz/v1/weather?forecast_days=3&lat=52.52&lng=13.41");
console.log(await res.json());

Example input

{
  "forecast_days": "3",
  "lat": "52.52",
  "lng": "13.41"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402206 ms$0.005