78trust / 100
Forecast Window
by x402-factory in Weather & location
x402 APIPassing, checked 3 h ago
One-call answer for a specific time window: rain odds, temps, comfort, verdict — Summarizes a ≤12-hour window at a coordinate into decision-ready numbers (rain probability, expected precip, temp range in °C, max gust, comfort index) plus a one-sentence plain-English verdict. Built for agents planning events, deliveries, and travel.
GET https://x402-factory.com/v1/forecast/window
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 402 ms typical, 516 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-factory.com/v1/forecast/window?lat=40.7829&lon=-73.9654"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%2Fwindow
const res = await pay("https://x402-factory.com/v1/forecast/window?lat=40.7829&lon=-73.9654");
console.log(await res.json());Example input
{
"lat": 40.7829,
"lon": -73.9654
}Example output
{
"data": {
"comfort_index": 0.67,
"expected_precip_mm": 7.6,
"rain_probability": 0.43,
"severity_flags": [],
"temp_range": {
"high": 25.7,
"low": 20.4
},
"verdict": "Mostly dry but a 43% rain chance; warm with highs near 78.3°F.",
"wind_max": 37.1
},
"meta": {
"data_mode": "live",
"docs": "https://x402-factory.com/docs/weather.forecast-window",
"endpoint": "/v1/forecast/window",
"freshness": "realtime",
"generated_at": "2026-10-05T10:15:58.048Z",
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 373 ms | $0.02 |
| 6 h ago | Passed | 402 | 387 ms | $0.02 |
| 10 h ago | Passed | 402 | 405 ms | $0.02 |
| 13 h ago | Passed | 402 | 401 ms | $0.02 |
| 17 h ago | Passed | 402 | 402 ms | $0.02 |
| 21 h ago | Passed | 402 | 516 ms | $0.02 |
| 24 h ago | Passed | 402 | 485 ms | $0.02 |
| 29 h ago | Passed | 402 | 375 ms | $0.02 |
| 31 h ago | Passed | 402 | 489 ms | $0.02 |
| 35 h ago | Passed | 402 | 123 ms | $0.02 |
| 40 h ago | Passed | 402 | 535 ms | $0.02 |