78trust / 100

Wx Forecast

by eu-verify in Weather & location

x402 APIPassing, checked 27 min ago

Hourly weather forecast for any point on Earth from Open-Meteo (blend of ECMWF/GFS/ICON models, refreshed hourly; data CC-BY 4.0). Query: ?latitude=48.8566&longitude=2.3522&hourly=temperature_2m,precipitation,wind_speed_10m&forecast_days=2 (1-16 days, ~80 hourly variables available, optional daily= aggregates and timezone=auto). ISO 8601 time arrays + units. 15 min cache.

GET https://x402-datashop-production.up.railway.app/v1/wx/forecast

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
342 ms typical, 342 ms slowest 5%
Last check
27 min ago
Next check
in 2 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-datashop-production.up.railway.app/v1/wx/forecast?forecast_days=2&hourly=temperature_2m%2Cprecipitation%2Cwind_speed_10m&latitude=48.8566&longitude=2.3522"
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-datashop-production.up.railway.app%2Fv1%2Fwx%2Fforecast
const res = await pay("https://x402-datashop-production.up.railway.app/v1/wx/forecast?forecast_days=2&hourly=temperature_2m%2Cprecipitation%2Cwind_speed_10m&latitude=48.8566&longitude=2.3522");
console.log(await res.json());

Example input

{
  "forecast_days": 2,
  "hourly": "temperature_2m,precipitation,wind_speed_10m",
  "latitude": 48.8566,
  "longitude": 2.3522
}

Example output

{
  "elevation_m": 36,
  "hourly": {
    "precipitation": [
      0,
      0
    ],
    "temperature_2m": [
      17.9,
      17.4
    ],
    "time": [
      "2026-07-13T00:00",
      "2026-07-13T01:00"
    ],
    "wind_speed_10m": [
      8.7,
      7.9
    ]
  },
  "hourly_units": {
    "precipitation": "mm",
    "temperature_2m": "°C",
    "time": "iso8601",
    "wind_speed_10m": "km/h"
  },
  "latitude": 48.86,
  "longitude": 2.36,
  "source": "Open-Meteo.com weather forecast API, data CC-BY 4.0 (models updated hourly)",
  "timezone": "UTC"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
27 min agoPassed402364 ms$0.001
4 h agoPassed402342 ms$0.001
9 h agoPassed402175 ms$0.001