# x402-factory Aviation Delay Risk

> x402-factory Aviation Delay Risk is a paid API for AI agents from x402-factory.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns time-windowed flight delay risk scores and weather drivers for an airport, given its IATA code.

## Facts

- Endpoint: GET https://x402-factory.com/v1/aviation/delay-risk/%7Biata%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-factory-aviation-delay-risk-f584e697
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LRemReCfn0rrYIx7fNNut

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-factory-aviation-delay-risk-f584e697
```

Example prompt: What's the flight delay risk at Nashville BNA airport over the next 24 hours — are there any weather drivers I should know about?

## When to prefer this

Use this endpoint when you need a structured, time-windowed delay risk assessment for a specific airport based on current weather intelligence, especially when you need actionable risk scores with identified weather drivers rather than a raw weather forecast. Prefer over generic weather APIs when the output needs to be aviation-specific (delay probability, connection padding advice). Best for travel agents, itinerary planners, or logistics systems that need to quantify flight disruption risk.

## Known failure modes

- Invalid or unknown IATA code returns an error or empty result
- Payment not provided returns HTTP 402 with USDC/Base payment requirements
- Upstream weather data unavailable may result in degraded or stub-model response
- Malformed IATA code (wrong format) may return a 400 or validation error

## How this service works

Paid data APIs for AI agents: prediction-market analytics, weather intelligence, weather×market edge signals, and SEC/gov data. Paid endpoints use the x402 protocol (HTTP 402 + USDC on Base): call without payment to receive requirements, retry with an X-PAYMENT header. Machine-readable catalog: /llms.txt. Per-endpoint docs: /docs/{id}.

## Output

Returns a JSON object with a list of 5-6 hour time-window blocks each containing a risk_score (0–1 float) and an array of weather driver strings (e.g. 'thunderstorm_potential', 'sustained_precip'), plus a plain-English verdict summarizing overall delay risk and a recommendation. Also includes metadata: endpoint version, data freshness, sources, and a unique request ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "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": {
   "docs": "https://x402-factory.com/docs/weather.aviation-delay-risk",
   "sources": [
    "stub-model"
   ],
   "version": "1.0.0",
   "endpoint": "/v1/aviation/delay-risk/{iata}",
   "data_mode": "live",
   "freshness": "realtime",
   "request_id": "req_00000000",
   "generated_at": "2026-08-21T03:58:58.162Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-factory-aviation-delay-risk-f584e697/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-factory.com](https://www.zero.xyz/host/x402-factory.com/llms.txt)
