# StableTravel FlightAware Disruption Counts

> StableTravel FlightAware Disruption Counts is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns flight disruption statistics (delays, cancellations, and a disruption score) for a specific airline or airport entity over a chosen time period.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/disruption-counts/entity_type/id
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-flightaware-disruption-counts-09e01e93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EYa-KCV5H9OvftrPuJVOX

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 stabletravel-flightaware-disruption-counts-09e01e93
```

Example prompt: What's American Airlines' disruption situation over the last 7 days — how many delays and cancellations have there been and what's their disruption score?

## When to prefer this

Use this endpoint when you need a quick, aggregated snapshot of an airline's or airport's disruption performance (delays + cancellations + score) over a defined historical time window. Prefer this over raw flight-list endpoints when you want summarized statistics rather than individual flight records.

## Known failure modes

- Invalid entity_type or entity_id returns an error or empty result
- Unsupported time_period enum value causes a validation error
- Entity not found in FlightAware data returns null fields
- Payment not included or insufficient results in 402 response
- Rate limiting or upstream FlightAware outage causes 503 or timeout

## How this service works

Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.

## Output

A JSON object containing the entity name, entity ID, entity type (airline or airport), total number of flights, number of delays, number of cancellations, and a numeric disruption score for the requested time period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "time_period": {
       "enum": [
        "today",
        "yesterday",
        "last3days",
        "last7days",
        "last14days",
        "last30days"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "name": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "score": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "total": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "delays": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "entity_id": {
       "type": "string"
      },
      "entity_type": {
       "type": "string"
      },
      "cancellations": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "American Airlines",
  "score": 0.12,
  "total": 47,
  "delays": 42,
  "entity_id": "AAL",
  "entity_type": "airline",
  "cancellations": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-flightaware-disruption-counts-09e01e93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
