78trust / 100

Climate Events Probability

by x402-factory in Weather & location

x402 APIPassing, checked 1 h ago

Weather-event probability: temp at covered stations; precip/wind any US point — Our model's probability that a condition occurs in a future window up to 31 days out, with the method labeled. Temperature events (above/below, window_stat max or min) answer at model-covered stations only — elsewhere they return INVALID_PARAMS rather than an estimate. Precipitation, wind, and named-storm events…

GET https://x402-factory.com/v1/climate-events/probability

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
125 ms typical, 374 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://x402-factory.com/v1/climate-events/probability?city=nyc&condition=temp_above&threshold=35&window_end=2026-07-24T23%3A59%3A59Z&window_start=2026-07-24T00%3A00%3A00Z"
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%2Fclimate-events%2Fprobability
const res = await pay("https://x402-factory.com/v1/climate-events/probability?city=nyc&condition=temp_above&threshold=35&window_end=2026-07-24T23%3A59%3A59Z&window_start=2026-07-24T00%3A00%3A00Z");
console.log(await res.json());

Example input

{
  "city": "nyc",
  "condition": "temp_above",
  "threshold": 35,
  "window_end": "2026-07-24T23:59:59Z",
  "window_start": "2026-07-24T00:00:00Z"
}

Example output

{
  "data": {
    "comparable_market": {
      "market_p": 0.329,
      "slug": "nyc-high-temp-above-95f-2026-07-24"
    },
    "method": "stub",
    "probability": 0.0276
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/edge.climate-events-probability",
    "endpoint": "/v1/climate-events/probability",
    "freshness": "realtime",
    "generated_at": "2026-10-01T22:09:59.848Z",
    "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
1 h agoPassed402127 ms$0.05
5 h agoPassed402134 ms$0.05
9 h agoPassed402125 ms$0.05
12 h agoPassed402120 ms$0.05
16 h agoPassed402123 ms$0.05
19 h agoPassed402374 ms$0.05
22 h agoPassed402385 ms$0.05
27 h agoPassed402120 ms$0.05
30 h agoPassed402122 ms$0.05
34 h agoPassed402126 ms$0.05
38 h agoPassed402122 ms$0.05
41 h agoPassed402126 ms$0.05
46 h agoPassed402122 ms$0.05