Check aviation document expiry API

Compare caller-supplied document expiry dates to asOf and flag expired or soon-expiring items. Regulatory compliance is not determined.

The Check aviation document expiry operation is part of the Aviation & Airport Operations Intelligence API on BRAINIAC.software. Compare caller-supplied document expiry dates to asOf and flag expired or soon-expiring items. Regulatory compliance is not determined. It is exposed as POST /api/v1/aviation-intelligence/document-expiry-check and priced at $0.03 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied flight schedules, diversions, registrations, maintenance logs, documents, ground times, and emission factors OpenSky aircraft metadata when openSky.icao24 is requested Limitations: 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. OpenSky enrichment is optional aircraft metadata only—not live paid tracking. Operations reports aggregate only sections for which records were supplied or optionally fetched. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Normalize flight schedules, Analyze flight delay patterns, Calculate airport connection risk, Track flight diversion events. Open the group documentation for the full request schema, field notes, and response examples before integrating.

POST$0.03 USDC
/api/v1/aviation-intelligence/document-expiry-check

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/aviation-intelligence/document-expiry-check" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{
  "asOf": "2026-11-04T21:00:00.000Z",
  "expiryWarningDays": 30,
  "documents": [
    {
      "id": "DOC1",
      "subject": "CoA",
      "documentType": "certificate",
      "registration": "G-STBA",
      "issuedAt": "2025-01-01",
      "expiresAt": "2026-11-20",
      "source": "Caller-supplied"
    },
    {
      "id": "DOC2",
      "subject": "Insurance",
      "documentType": "insurance",
      "registration": "G-STBA",
      "expiresAt": "2026-10-01",
      "source": "Caller-supplied"
    }
  ]
}
JSON

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

Aviation & Airport Operations Intelligence APIFull docsHow it works