80trust / 100

Weather Forecast

by Invoket in Weather & location

x402 APIPassing, checked 1 h ago

Before your agent schedules a delivery, plans outdoor work or hedges short-term weather exposure: a point forecast of 2 m temperature, precipitation and 10 m wind — plus opt-in convective, humidity, cloud and snow variables — for any GPS point or city. Deterministic NOAA GFS at 0.25 deg to 16 days (384 h), NOAA GEFS ensemble mean at 0.5 deg to 35 days (840 h) — beyond 16 days the value is an ensemble mean with smoothed extremes: trend, not threshold triggers. The lead selector is optional (omitted, the forecast defaults to the current analysis time) and the response names the model that served it and the exact forecast step.

GET https://api.invoket.com/weather/forecast

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.invoket.com/weather/forecast?city=Zurich&horizon_h=24&variables=temperature%2Cprecipitation%2Cwind%2Cconvective%2Chumidity%2Cclouds%2Csnow"
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%2Fapi.invoket.com%2Fweather%2Fforecast
const res = await pay("https://api.invoket.com/weather/forecast?city=Zurich&horizon_h=24&variables=temperature%2Cprecipitation%2Cwind%2Cconvective%2Chumidity%2Cclouds%2Csnow");
console.log(await res.json());

Example input

{
  "city": "Zurich",
  "horizon_h": "24",
  "variables": "temperature,precipitation,wind,convective,humidity,clouds,snow"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402257 ms$0.01
6 h agoPassed40240 ms$0.01