X

x402-factory · Aviation Delay Risk

by x402-factory

GETBase

$0.02

per call · USD Coin on Base

Weather-driven delay risk for a US airport in 6-hour blocks — Next-24h delay risk for a top-100 US airport, scored per 6-hour block from forecast wind gusts, convective potential, winter and sustained precipitation, and heavy cloud cover, with the drivers named and a one-line verdict.

Endpoint

GET https://x402-factory.com/v1/aviation/delay-risk/:iata

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-factory.com/v1/aviation/delay-risk/:iata", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-factory.com/v1/aviation/delay-risk/:iata" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "blocks": [
      {
        "drivers": [
          "thunderstorm_potential"
        ],
        "risk_score": 0.34,
        "window_end": "2026-07-18T17:00:00.000Z",
        "window_start": "2026-07-18T12:00:00.000Z"
      },
      {
        "drivers": [],
        "risk_score": 0.04,
        "window_end": "2026-07-18T23:00:00.000Z",
        "window_start": "2026-07-18T18:00:00.000Z"
      },
      {
        "drivers": [
          "thunderstorm_potential",
          "sustained_precip"
        ],
        "risk_score": 0.49,
        "window_end": "2026-07-19T05:00:00.000Z",
        "window_start": "2026-07-19T00:00:00.000Z"
      },
      {
        "drivers": [],
        "risk_score": 0.04,
        "window_end": "2026-07-19T11:00:00.000Z",
        "window_start": "2026-07-19T06:00:00.000Z"
      }
    ],
    "verdict": "Moderate delay risk at BNA; pad connections by an hour."
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/weather.aviation-delay-risk",
    "endpoint": "/v1/aviation/delay-risk/{iata}",
    "freshness": "realtime",
    "generated_at": "2026-09-01T09:36:55.248Z",
    "request_id": "req_00000000",
    "sources": [
      "stub-model"
    ],
    "version": "1.0.0"
  }
}

Payment details

Pay to0xcc42ed39a06b6cf3f484307ef76b88bf56fb305f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from x402-factory & similar services