78trust / 100

Boston Window

by x402-factory in Weather & location

x402 APIPassing, checked 2 h ago

Will it rain in Boston during your event window — Event-window weather odds for Boston: pass a start and end time (or omit them for the next six hours) and get rain probability and expected conditions across the window — built for scheduling decisions. Same shape as /v1/forecast/window with the Boston coordinates built in.

GET https://x402-factory.com/v1/forecast/boston/window

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-factory.com/v1/forecast/boston/window"
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%2Fboston%2Fwindow
const res = await pay("https://x402-factory.com/v1/forecast/boston/window");
console.log(await res.json());

Example input

{}

Example output

{
  "data": {
    "comfort_index": 0.67,
    "expected_precip_mm": 14.4,
    "rain_probability": 0.52,
    "severity_flags": [],
    "temp_range": {
      "high": 25.9,
      "low": 20.5
    },
    "verdict": "Likely wet (52% chance of rain) and warm — plan for cover.",
    "wind_max": 32.2
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/weather.forecast-window.boston",
    "endpoint": "/v1/forecast/boston/window",
    "freshness": "realtime",
    "generated_at": "2026-10-05T10:15:58.049Z",
    "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
2 h agoPassed402730 ms$0.02
6 h agoPassed402377 ms$0.02
10 h agoPassed402488 ms$0.02
13 h agoPassed402126 ms$0.02
17 h agoPassed402501 ms$0.02
21 h agoPassed402673 ms$0.02
24 h agoPassed402378 ms$0.02
29 h agoPassed402381 ms$0.02
31 h agoPassed402422 ms$0.02
35 h agoPassed402376 ms$0.02
40 h agoPassed402579 ms$0.02