# BRAINIAC Aviation Intelligence — Flight Delay Pattern Analyzer

> BRAINIAC Aviation Intelligence — Flight Delay Pattern Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

Analyzes a supplied batch of flight records to compute per-route and per-airline delay statistics, on-time percentages, and patterns from caller-provided data.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/aviation-intelligence/flight-delay-pattern-analyze?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-aviation-intelligence-flight-delay-pattern-analyzer-8fd243ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T0j8oAxnu3oPB3L2DVKvz

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 brainiac-aviation-intelligence-flight-delay-pattern-analyzer-8fd243ce -d '<json body>'
```

Example prompt: I have a CSV of 500 flight records for United and Delta routes between JFK and LAX over the past 3 months — can you analyze the delay patterns and tell me the on-time percentage, average delay, and worst routes?

## When to prefer this

Use this endpoint when you already have your own flight records (from an airline system, CSV export, or prior API call) and need delay pattern analytics computed over that dataset without calling an external flight tracking provider. It is ideal for batch offline analysis, cost-sensitive workflows (no premium data fees beyond the $0.04 call fee), and situations where you need on-time statistics aggregated per route or airline from supplied data rather than live lookups.

## Known failure modes

- Insufficient or malformed flight records return empty pattern list with no findings
- Missing scheduledDepartureAt or actualDepartureAt fields result in routes being excluded from delay calculations
- Exceeding 5000 flight items in the array may cause rejection or truncation
- Invalid date formats in asOf or time fields may produce incorrect delay computations
- Payment failure via x402 returns HTTP 402 and no analysis is performed

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a list of route/airline pattern objects each containing on-time percentage, late count, on-time count, sample count, max delay, median delay, and average delay in minutes. Also includes overall status ('analyzed'), a checkedAt timestamp, a patternCount, any findings, and a limitations list clarifying that only caller-supplied data was used (no paid tracking APIs or authenticated airline systems).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "flights": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "seats": {
      "type": "number",
      "maximum": 1000,
      "minimum": 0
     },
     "origin": {
      "type": "string",
      "maxLength": 8
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "status": {
      "type": "string",
      "maxLength": 80
     },
     "airline": {
      "type": "string",
      "maxLength": 120
     },
     "distanceKm": {
      "type": "number",
      "maximum": 40000,
      "minimum": 0
     },
     "fuelBurnKg": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "passengers": {
      "type": "number",
      "maximum": 1000,
      "minimum": 0
     },
     "airlineIata": {
      "type": "string",
      "maxLength": 8
     },
     "destination": {
      "type": "string",
      "maxLength": 8
     },
     "aircraftType": {
      "type": "string",

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "key": "BA100|LHR-JFK",
    "route": "LHR-JFK",
    "airline": "",
    "lateCount": 2,
    "onTimePct": 0,
    "onTimeCount": 0,
    "sampleCount": 2,
    "maxDelayMinutes": 50,
    "medianDelayMinutes": 50,
    "averageDelayMinutes": 37.5,
    "paidFlightTrackingUsed": false
   }
  ],
  "status": "analyzed",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Flight schedules, diversions, registrations, maintenance logs, documents, ground times, emission factors, and connections are copied only from labeled fields supplied by the caller, or from key-free OpenSky aircraft metadata when openSky.icao24 is requested.",
   "No paid flight-tracking API or authenticated airline system is used and no API key is required.",
   "Delay, connection, diversion, ground-time, and emissions results use only supplied times/distances/factors (or a small disclosed public-style CO2 factor table when no factor or fuel burn is supplied).",
   "Document expiry checks compare caller-supplied expiry dates to asOf only. Regulatory compliance is not determined.",
   "Operations reports aggregate only sections for which records were supplied or optionally fetched."
  ],
  "patternCount": 1,
  "apiKeyRequired": false,
  "openSkyFetched": false,
  "paidProviderUsed": false,
  "paidFlightTrackingUsed": false,
  "authenticatedAirlineSystemUsed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-aviation-intelligence-flight-delay-pattern-analyzer-8fd243ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
