# BRAINIAC Aviation Intelligence — Flight Diversion Event Tracker

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

Tracks and analyzes flight diversion events from caller-supplied flight data, returning diversion timelines, durations, reasons, and status for each flight.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/aviation-intelligence/flight-diversion-event-track?utm_source=zero.xyz
- Price: $0.03/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-diversion-event-tracker-e23e0e45
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YRzgrNul0AeLJWUY9bNGd

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-diversion-event-tracker-e23e0e45 -d '<json body>'
```

Example prompt: Can you track any diversion events for flight BA100 scheduled from JFK to LHR on November 1st 2026 — it looks like it may have diverted to BOS due to weather?

## When to prefer this

Use this endpoint when you have caller-supplied structured flight data and need to extract, classify, and summarize diversion events without requiring a paid flight-tracking API or airline system credentials. It is best suited for post-hoc analysis of flight operations data, compliance reporting, or disruption auditing where you already have schedule and actual arrival/departure times. It is not suitable for real-time live flight tracking or when you need authoritative diversion data from airline systems.

## Known failure modes

- Missing required flight data fields result in empty or incomplete diversion records
- If no flights array is supplied the response returns zero events
- Diversion reasons and airports are only as accurate as caller-supplied data — no live tracking is performed
- OpenSky metadata fetch may return no data if ICAO24 is not found or unavailable
- Timestamps in incorrect format may cause parsing failures or be ignored
- Large flight arrays near the 5000-item limit may increase processing time

## 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 JSON object with an array of diversion event items (each with flight ID, flight number, diversion reason, diversion airport, planned and final destination, diverted-at and resumed-at timestamps, diversion duration in minutes, and active status), overall status, event count, active count, checkedAt timestamp, findings, and a list of data limitations/caveats about what sources were used.

## 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": [
   {
    "id": "D1",
    "active": false,
    "reason": "weather",
    "source": "Caller-supplied",
    "flightId": "",
    "resumedAt": "2026-11-01T19:00:00.000Z",
    "divertedAt": "2026-11-01T16:00:00.000Z",
    "flightNumber": "BA100",
    "diversionAirport": "BOS",
    "finalDestination": "JFK",
    "plannedDestination": "JFK",
    "paidFlightTrackingUsed": false,
    "diversionDurationMinutes": 180,
    "diversionDurationMinutesSupplied": true
   }
  ],
  "status": "tracked",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "eventCount": 1,
  "activeCount": 0,
  "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."
  ],
  "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-diversion-event-tracker-e23e0e45/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)
