# BRAINIAC Aviation Document Expiry Check

> BRAINIAC Aviation Document Expiry Check 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).

Checks aviation documents (certificates, insurance, etc.) supplied by the caller against an as-of date and reports which are expired or expiring soon

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/aviation-intelligence/document-expiry-check?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-document-expiry-check-a55a89d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OXunRQ-UcpwJjEGp4Tsge

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-document-expiry-check-a55a89d7 -d '<json body>'
```

Example prompt: Can you check these aviation documents for aircraft G-STBA and tell me which ones are expired or expiring soon as of today? I'll paste the document records including the certificate of airworthiness expiring 2026-11-20 and the insurance expiring 2026-10-01.

## When to prefer this

Use this endpoint when you have aviation document records with expiry dates and need a fast, structured check of which documents are expired or expiring soon relative to a specific date. It is ideal for fleet operators, charter companies, or compliance tools that need to audit document validity without access to a live aviation registry. It works entirely from caller-supplied data, requires no API keys to external systems, and costs $0.03 USDC per call with no account required.

## Known failure modes

- Missing or malformed expiry date fields result in documents being unclassifiable
- No asOf date provided may default to server time, causing unexpected results
- Documents without registration or ID fields may be hard to identify in the response
- Oversized CSV or JSON inputs exceeding 200,000 characters will be rejected
- Regulatory compliance determination is explicitly not performed — only date comparison is done

## 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 items array where each document has a status (expired, expiring_soon, or valid), days remaining (positive or negative), issuedAt, expiresAt, document type, subject, and aircraft registration. Also includes a findings array with coded compliance alerts, counts of expired and expiring-soon documents, and limitation disclaimers noting that only caller-supplied dates are checked and regulatory compliance is not determined.

## 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": "DOC1",
    "source": "Caller-supplied",
    "status": "expiring_soon",
    "subject": "CoA",
    "issuedAt": "2025-01-01",
    "expiresAt": "2026-11-20",
    "documentType": "certificate",
    "registration": "G-STBA",
    "daysRemaining": 15.125,
    "daysRemainingSupplied": true,
    "regulatoryComplianceDetermined": false
   },
   {
    "id": "DOC2",
    "source": "Caller-supplied",
    "status": "expired",
    "subject": "Insurance",
    "issuedAt": "",
    "expiresAt": "2026-10-01",
    "documentType": "insurance",
    "registration": "G-STBA",
    "daysRemaining": -34.875,
    "daysRemainingSupplied": true,
    "regulatoryComplianceDetermined": false
   }
  ],
  "status": "checked",
  "findings": [
   {
    "code": "document_expiry",
    "kind": "conflict",
    "detail": "Document is expiring_soon (15.125 days from asOf).",
    "subject": "DOC1"
   },
   {
    "code": "document_expiry",
    "kind": "conflict",
    "detail": "Document is expired (-34.875 days from asOf).",
    "subject": "DOC2"
   }
  ],
  "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."
  ],
  "expiredCount": 1,
  "documentCount": 2,
  "apiKeyRequired": false,
  "openSkyFetched": false,
  "paidProviderUsed": false,
  "expiringSoonCount": 1,
  "paidFlightTrackingUsed": false,
  "authenticatedAirlineSystemUsed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-aviation-document-expiry-check-a55a89d7/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)
