80trust / 100
Phoenix Window
by x402-factory in Weather & location
x402 APIPassing, checked 13 min ago
Will it rain in Phoenix during your event window — Event-window weather odds for Phoenix: 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 Phoenix coordinates built in.
GET https://x402-factory.com/v1/forecast/phoenix/window
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 128 ms typical, 393 ms slowest 5%
- Last check
- 13 min ago
- Next check
- in 19 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-factory.com/v1/forecast/phoenix/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%2Fphoenix%2Fwindow
const res = await pay("https://x402-factory.com/v1/forecast/phoenix/window");
console.log(await res.json());Example input
{}Example output
{
"data": {
"comfort_index": 0.45,
"expected_precip_mm": 15.1,
"rain_probability": 0.72,
"severity_flags": [
"heavy_rain_risk"
],
"temp_range": {
"high": 31.2,
"low": 25.5
},
"verdict": "Caution: heavy rain risk in this window — have a backup plan.",
"wind_max": 22.1
},
"meta": {
"data_mode": "live",
"docs": "https://x402-factory.com/docs/weather.forecast-window.phoenix",
"endpoint": "/v1/forecast/phoenix/window",
"freshness": "realtime",
"generated_at": "2026-10-05T10:15:58.052Z",
"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 |
|---|---|---|---|---|
| 13 min ago | Passed | 402 | 393 ms | $0.02 |
| 4 h ago | Passed | 402 | 370 ms | $0.02 |
| 7 h ago | Passed | 402 | 128 ms | $0.02 |
| 12 h ago | Passed | 402 | 123 ms | $0.02 |
| 14 h ago | Passed | 402 | 124 ms | $0.02 |
| 19 h ago | Passed | 402 | 120 ms | $0.02 |
| 22 h ago | Passed | 402 | 125 ms | $0.02 |
| 25 h ago | Passed | 402 | 370 ms | $0.02 |
| 31 h ago | Passed | 402 | 501 ms | $0.02 |