82trust / 100

Weather

by Current Weather in Weather & location

x402 APIPassing, checked 3 h ago

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).

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
17 ms typical, 23 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://x402.shizu.me/weather?lat=52.52&lon=13.40"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.shizu.me%2Fweather
const res = await pay("https://x402.shizu.me/weather?lat=52.52&lon=13.40");
console.log(await res.json());

Example input

{
  "lat": "52.52",
  "lon": "13.40"
}

Example output

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

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40217 ms$0.004
6 h agoPassed40223 ms$0.004
9 h agoPassed402163 ms$0.004
15 h agoPassed4022 ms$0.004