# BRAINIAC.software COI Analyzer

> BRAINIAC.software COI Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-11).

Extracts fields from a Certificate of Insurance (COI) document and compares them against user-specified coverage requirements, flagging gaps and drafting follow-up emails

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/coi/analyze?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-software-coi-analyzer-dae42f46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TXI8TJrhIpbH-NRWEuP53

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-software-coi-analyzer-dae42f46 -d '<json body>'
```

Example prompt: Can you check this COI from Apex Roofing LLC for the Riverside Tower project — I need at least $2M general liability aggregate, $1M per occurrence, $1M umbrella, statutory workers comp with $500K employer liability, and they must be listed as additional insured with waiver of subrogation, effective 2025-01-01 through 2025-12-31?

## When to prefer this

Choose this endpoint when you need automated extraction and compliance checking of Certificates of Insurance against specific contractual coverage thresholds. It is purpose-built for COI workflows — combining OCR-style extraction, rule-based comparison, and draft communication generation in a single call — making it far more efficient than generic document extraction tools that require separate validation logic. Ideal for construction, facilities management, and vendor onboarding pipelines where COI review is a recurring bottleneck.

## Known failure modes

- Low-quality or unreadable document image may result in low extraction confidence and missing fields
- File too large (exceeds 16MB base64 limit) returns a validation error
- Unsupported media type returns an enum validation error
- Missing required fields in requirements object may cause incomplete comparison
- Certificate in a non-standard format may produce partial extraction with null observed values
- Network timeout for large PDFs

## 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 containing: (1) extracted certificate fields with confidence scores, source text excerpts, and line numbers; (2) a compliance comparison with overall status (PASS/WARN/FAIL) and per-rule findings identifying any gaps between observed values and requirements; (3) a draft follow-up email with subject and body ready to send to the vendor; and (4) a humanReviewRequired flag indicating whether manual review is recommended.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mediaType": {
   "enum": [
    "application/pdf",
    "image/png",
    "image/jpeg"
   ],
   "type": "string"
  },
  "fileBase64": {
   "type": "string",
   "maxLength": 16777216,
   "minLength": 1
  },
  "vendorName": {
   "type": "string",
   "maxLength": 200
  },
  "projectName": {
   "type": "string",
   "maxLength": 200
  },
  "requirements": {
   "type": "object",
   "properties": {
    "effectiveOn": {
     "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])))$"
    },
    "expiresAfter": {
     "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])))$"
    },
    "namedInsured": {
     "type": "string"
    },
    "generalLiability": {
     "type": "object",
     "properties": {
      "aggregate": {
       "type": "number",
       "minimum": 0
      },
      "eachOccurrence": {
       "type": "number",
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "additionalInsured": {
     "type": "boolean"
    },
    "umbrellaLiability": {
     "type": "object",
     "properties": {
      "aggregate": {
       "type": "number",
       "minimum": 0
      },
      "eachOccurrence": {
       "type": "number",
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "automobileLiability": {
     "type": "object",
     "properties": {
      "combinedSingleLimit": {
       "type": "number",
       "minimum": 0
      }
     },
     "additionalProperties": false
    },
    "waiverOfSubrogation": {
     "type": "boolean"
    },
    "workersCompensation": {
     "type": "object",
     "properties": {
      "statutory": {
       "type": "boolean"
      },
      "employerLiability": {
       "type": "number",
       "minimum": 0
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "comparison": {
   "status": "WARN",
   "findings": [
    {
     "ruleId": "COI-GL-OCC",
     "status": "WARN",
     "observed": null,
     "requirement": "GL each occurrence"
    }
   ],
   "reviewedBy": "Deterministic contract-to-certificate precheck; human review required"
  },
  "draftEmail": {
   "body": "Please review the certificate findings.",
   "subject": "Certificate of insurance update needed"
  },
  "certificate": {
   "fields": [
    {
     "line": 4,
     "name": "namedInsured",
     "value": "Example Construction LLC",
     "excerpt": "Named Insured: Example Construction LLC",
     "confidence": 0.92
    }
   ],
   "source": "Uploaded certificate",
   "status": "EXTRACTED",
   "mediaType": "application/pdf",
   "limitations": [],
   "textExcerpt": "Example certificate text",
   "extractionConfidence": 0.92
  },
  "humanReviewRequired": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-software-coi-analyzer-dae42f46/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)
