80trust / 100

Forecast Chicago

by x402-factory in Weather & location

x402 APIPassing, checked 19 min ago

Hourly Chicago weather forecast (blend model, method labeled) — Hourly weather forecast for Chicago: temperature, precipitation probability, and wind, up to 168 hours out. NWS-derived series, bias-blended with our calibrated station model where covered — every response labels the method that produced it. Same shape as /v1/forecast/point with the Chicago coordinates built in.

GET https://x402-factory.com/v1/forecast/chicago

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
128 ms typical, 371 ms slowest 5%
Last check
19 min ago
Next check
in 9 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-factory.com/v1/forecast/chicago?hours=24"
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-factory.com%2Fv1%2Fforecast%2Fchicago
const res = await pay("https://x402-factory.com/v1/forecast/chicago?hours=24");
console.log(await res.json());

Example input

{
  "hours": 24
}

Example output

{
  "data": {
    "hourly": [
      {
        "cloud_pct": 38,
        "feels_like": 89.6,
        "gust": 19.3,
        "humidity_pct": 72,
        "precip_amount": 0,
        "precip_prob": 0.17,
        "t": "2026-07-18T12:00:00.000Z",
        "temp": 86.9,
        "wind": 12.7
      },
      {
        "cloud_pct": 28,
        "feels_like": 88,
        "gust": 20.6,
        "humidity_pct": 71,
        "precip_amount": 0,
        "precip_prob": 0.17,
        "t": "2026-07-18T13:00:00.000Z",
        "temp": 85.5,
        "wind": 12.7
      }
    ],
    "model_run_at": "2026-07-18T12:00:00.000Z",
    "units": "imperial"
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/weather.forecast.chicago",
    "endpoint": "/v1/forecast/chicago",
    "freshness": "realtime",
    "generated_at": "2026-10-05T10:15:58.055Z",
    "request_id": "req_00000000",
    "sources": [
      "stub-model"
    ],
    "version": "1.0.0"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
19 min agoPassed402129 ms$0.01
4 h agoPassed402121 ms$0.01
7 h agoPassed402371 ms$0.01
12 h agoPassed402124 ms$0.01
15 h agoPassed402498 ms$0.01
19 h agoPassed402368 ms$0.01
22 h agoPassed402124 ms$0.01
26 h agoPassed402121 ms$0.01
31 h agoPassed402128 ms$0.01