# BRAINIAC Contract Compliance Review API

> BRAINIAC Contract Compliance Review API is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.12/call, status unknown (last checked 2026-11-17).

Reviews a contract document against a compliance checklist or standard, extracting clauses, obligations, risks, and missing provisions, and optionally comparing against a revised version.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/contract-operations/compliance-review?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-contract-compliance-review-api-b7314cd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_USZBhwOi-XURB1T3O6uQH

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-contract-compliance-review-api-b7314cd7 -d '<json body>'
```

Example prompt: Can you review this vendor contract PDF against our standard confidentiality and indemnity checklist, flag any missing provisions and potential risks like uncapped indemnity, and tell me the overall compliance assessment as of today?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable compliance review of a contract document — especially when you have a specific checklist or standard to verify against, want to detect risky patterns like uncapped indemnities, or need to compare an original and revised version. It is preferable over general-purpose LLM contract analysis when you need deterministic finding codes, section-level status reporting, and explicit checklist-match semantics rather than free-form narrative summaries.

## Known failure modes

- Contract text or file not supplied — returns error requiring at least one of text, file, or clauses
- File exceeds 12 MB base64 limit — rejected with validation error
- Checklist provisions not found in document — findings returned with kind 'unavailable' or 'provision_missing'
- Revised version not supplied when comparison is requested — finding with code 'revised_version_unavailable' returned
- Unsupported media type — only application/pdf and text/plain accepted
- Malformed date in asOf field — rejected with format validation error
- More than 80 clauses supplied — rejected by schema maxItems constraint

## 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 structured JSON object with: an overall assessment (e.g. 'checklist_satisfied' or 'checklist_unmet'), per-finding details including kind (extracted, unavailable, potential_risk), code, detail text, and excerpt; per-section statuses (clauses, obligations, deadlines, renewal, parties, risks, changes); count summaries; a plain-language summary; a checkedAt timestamp; and explicit disclaimers that the output is not legal advice and does not determine legal compliance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOf": {
   "type": "string",
   "format": "date",
   "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "application/pdf",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "text": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "clauses": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "heading",
     "text"
    ],
    "properties": {
     "text": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1
     },
     "number": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "heading": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "revised": {
   "type": "object",
   "properties": {
    "file": {
     "type": "object",
     "required": [
      "mediaType",
      "fileBase64"
     ],
     "properties": {
      "filename": {
       "type": "string",
       "maxLength": 180,
       "minLength": 1
      },
      "mediaType": {
       "enum": [
        "application/pdf",
        "text/plain"
       ],
       "type": "string"
      },
      "fileBase64": {
       "type": "string",
       "maxLength": 12000000,
       "minLength": 1
      }
     },
     "additionalProperties": false
    },
    "text": {
     "type": "string",
     "maxLength": 200000,
     "minLength": 1
    },
    "clauses": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "heading",
       "text"
      ],
      "properties": {
       "text": {
        "type": "string",
        "maxLength": 20000,
        "minLength": 1
       },
       "number": {
        "type": "string",
        "maxLength": 40,
        "minLength": 1
       },
       "heading": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
       }
      },
     
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "counts": {
   "extracted": 1,
   "unavailable": 2,
   "potential_risk": 1
  },
  "summary": "One or more supplied checklist items were not found in the text. This review is not legal advice and does not determine legal compliance.",
  "findings": [
   {
    "code": "revised_version_unavailable",
    "kind": "unavailable",
    "detail": "A revised version was not supplied, so versions were not compared.",
    "excerpt": "",
    "heading": "",
    "clauseId": ""
   },
   {
    "code": "renewal_unavailable",
    "kind": "unavailable",
    "detail": "No renewal or expiration wording was extracted.",
    "excerpt": "",
    "heading": "",
    "clauseId": ""
   },
   {
    "code": "provision_missing",
    "kind": "extracted",
    "detail": "The supplied provision \"Confidentiality\" was not found. Similar wording was not inferred.",
    "excerpt": "",
    "heading": "",
    "clauseId": ""
   },
   {
    "code": "indemnity_without_cap",
    "kind": "potential_risk",
    "detail": "Indemnity wording was extracted and that clause does not state a cap. No cap was inferred.",
    "excerpt": "The Seller shall indemnify the Buyer against third-party claims.",
    "heading": "Liability",
    "clauseId": "C-001"
   }
  ],
  "sections": [
   {
    "name": "clauses",
    "status": "extracted"
   },
   {
    "name": "obligations",
    "status": "extracted"
   },
   {
    "name": "deadlines",
    "status": "unavailable"
   },
   {
    "name": "renewal",
    "status": "unavailable"
   },
   {
    "name": "missing",
    "status": "missing"
   },
   {
    "name": "parties",
    "status": "extracted"
   },
   {
    "name": "risks",
    "status": "risks_observed"
   },
   {
    "name": "changes",
    "status": "unavailable"
   }
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "assessment": "checklist_unmet",
  "legalAdvice": false,
  "limitations": [
   "This output is not legal advice.",
   "A checklist match is not a determination of legal compliance.",
   "Clauses, deadlines, obligations, and missing provisions are not invented.",
   "Missing provisions are reported only against a checklist or standard provisions supplied in the request.",
   "The review repeats the individual checks. checklist_satisfied means the supplied phrases were found, not that the contract is legally compliant."
  ],
  "complianceDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-contract-compliance-review-api-b7314cd7/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)
