# BRAINIAC Court Case Timeline Extractor

> BRAINIAC Court Case Timeline Extractor 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).

Extracts and structures court case timelines from public records data, labeling each event (allegation, charge, judgment, penalty) without inferring guilt

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/public-records/court-case-timeline-extract?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-court-case-timeline-extractor-d21a6e2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5HOp80yL2m2_vGDwstKnm

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-court-case-timeline-extractor-d21a6e2c -d '<json body>'
```

Example prompt: Can you extract a structured court case timeline from this CSV of public court records for Acme Corp, labeling each event as an allegation, charge, or judgment without treating any charge as a conviction?

## When to prefer this

Choose this endpoint when you need to transform raw or semi-structured court case records into a compliance-safe, structured timeline where every event is independently labeled without guilt inference. It is ideal for KYB/KYC workflows, vendor onboarding, background checks, or legal research where distinguishing allegations from judgments is legally and ethically critical. Prefer this over general-purpose LLM extraction when you need deterministic compliance flags (chargeTreatedAsConviction, allegationTreatedAsJudgment) and consistent structured output with an audit trail of limitations. It accepts multiple input formats (text, CSV, JSON, file upload, feed URL) and costs a fixed $0.04 USDC per call with no account required via x402.

## Known failure modes

- Input text exceeds maxLength limits (200,000 chars for text/csv/json fields) causing validation error
- No recognizable court case data in input returns empty items array
- File base64 encoding errors if file upload is malformed
- Feed URL unreachable or returning non-court data yields no extracted events
- Ambiguous or poorly structured input may result in incomplete event extraction with missing dispositions
- Truncated input schema fields may cause partial timeline extraction

## 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 containing an array of court case items, each with a case key, case number, court name, event count, and a list of chronologically ordered events. Each event includes an ID, date, title, source, status enum (allegation/charge/judgment/penalty/etc.), disposition text, and boolean flags for isCharge, isJudgment, isPenalty, isAllegation, isInvestigation, guiltInferred, chargeTreatedAsConviction, allegationTreatedAsJudgment, and investigationTreatedAsGuilt. Also returns top-level findings (observations about the timeline), caseCount, checkedAt timestamp, limitations array, and flags confirming no paid provider was used and no guilt was inferred.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "feed": {
   "type": "object",
   "properties": {
    "url": {
     "type": "string",
     "format": "uri",
     "maxLength": 500
    },
    "limit": {
     "type": "integer",
     "maximum": 40,
     "minimum": 1
    }
   },
   "additionalProperties": false
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/xml",
      "text/xml"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "country": {
   "type": "string",
   "maxLength": 80
  },
  "notices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "area": {
      "type": "string",
      "maxLength": 160
     },
     "body": {
      "type": "string",
      "maxLength": 20000
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "title": {
      "type": "string",
      "maxLength": 400
     },
     "agency": {
      "type": "string",
      "maxLength": 200
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "status": {
      "enum": [
       "allegation",
       "investigation",
       "charge",
       "judgment",
       "penalty",
       "notice",
       "statistic",
       "unknown"
      ],
      "type": "string"
     },
     "country": {
      "type": "string",
      "maxLength": 80
     },
     "sourceUrl": {
      "type": "string",
      "maxLength": 500
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "incidents": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "area": {
      "type": "string",
      "maxLength": 160
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "source": {
      "type": "string",
      "maxLe
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "court": "District Court",
    "events": [
     {
      "id": "CRT-1",
      "date": "2026-01-10",
      "title": "Complaint",
      "source": "",
      "status": "charge",
      "isCharge": true,
      "isNotice": false,
      "isPenalty": false,
      "sourceUrl": "",
      "isJudgment": false,
      "disposition": "complaint filed",
      "isAllegation": false,
      "guiltInferred": false,
      "isInvestigation": false,
      "chargeTreatedAsConviction": false,
      "allegationTreatedAsJudgment": false,
      "investigationTreatedAsGuilt": false
     },
     {
      "id": "CRT-2",
      "date": "2026-06-01",
      "title": "Judgment",
      "source": "",
      "status": "judgment",
      "isCharge": false,
      "isNotice": false,
      "isPenalty": false,
      "sourceUrl": "",
      "isJudgment": true,
      "disposition": "judgment entered",
      "isAllegation": false,
      "guiltInferred": false,
      "isInvestigation": false,
      "chargeTreatedAsConviction": false,
      "allegationTreatedAsJudgment": false,
      "investigationTreatedAsGuilt": false
     }
    ],
    "caseKey": "22-cv-100",
    "caseNumber": "22-CV-100",
    "eventCount": 2,
    "hasJudgment": true,
    "guiltInferred": false,
    "chargeTreatedAsConviction": false,
    "allegationTreatedAsJudgment": false,
    "investigationTreatedAsGuilt": false
   }
  ],
  "status": "extracted",
  "findings": [
   {
    "code": "non_judgment_step",
    "kind": "observation",
    "detail": "Timeline includes charge, which is not treated as guilt.",
    "subject": "CRT-1"
   }
  ],
  "caseCount": 1,
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Court, enforcement, crime-statistic, incident, and notice records are copied only from labeled fields supplied by the caller, or from a key-free public feed when feed.url is requested.",
   "No paid public-records provider is used and no API key is required.",
   "Allegations, investigations, charges, penalties, and final judgments are labeled separately. Guilt is never inferred.",
   "An allegation, investigation, or charge is never treated as a conviction or final judgment.",
   "Missing counts, penalty amounts, and dispositions are not invented."
  ],
  "guiltInferred": false,
  "publicSources": [],
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "chargeTreatedAsConviction": false,
  "allegationTreatedAsJudgment": false,
  "investigationTreatedAsGuilt": false
 }
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-court-case-timeline-extractor-d21a6e2c/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)
