# BRAINIAC Contradiction Detect

> BRAINIAC Contradiction Detect 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).

Detects contradictions, price conflicts, and logical inconsistencies between a primary text (e.g. llms.txt) and one or more reference documents

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/llms-txt/contradiction-detect?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-contradiction-detect-736e29fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Vsvktui2A0utbfmxyNZP

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-contradiction-detect-736e29fd -d '<json body>'
```

Example prompt: Check my llms.txt file against my API pricing guide and changelog for any contradictions — especially conflicting prices, account requirements, or HTTP methods. Here's my llms.txt: [text] and here are the reference docs: [documents].

## When to prefer this

Use this endpoint when you need to programmatically detect logical contradictions, price discrepancies, or conflicting claims between a primary text and reference documents — especially for llms.txt files, API documentation, pricing pages, or policy documents. It is particularly well-suited for agents that need to audit documentation consistency without fetching external URLs or running inference-heavy LLM comparisons. At $0.04 USDC per call with no account required, it is ideal for pay-per-use agent workflows via x402 on Base.

## Known failure modes

- Text or documents exceeding maximum length limits (text: 200,000 chars; per-document: 100,000 chars; max 12 documents) returns validation error
- Submitting fewer than 1 document in the documents array returns a schema validation error
- Malformed JSON input returns a 400 error
- Payment not provided or insufficient USDC on Base returns HTTP 402
- No comparable statements found between documents may result in score being omitted rather than 0
- Parser only handles markdown-structured content; unstructured prose may produce fewer detected conflicts

## 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 a numeric contradiction score (0-100, with 25 subtracted per detected conflict), an array of issue objects each containing type (e.g. price_conflict, account_conflict), severity, evidence snippets with quoted source text, locations (line references), and descriptions. Also includes an analysis summary string, warnings array, limitations list, and recommendations array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "document": {
   "type": "object",
   "properties": {
    "title": {
     "type": "string",
     "maxLength": 200
    },
    "summary": {
     "type": "string",
     "maxLength": 5000
    },
    "sections": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "name",
       "links"
      ],
      "properties": {
       "name": {
        "type": "string",
        "maxLength": 200
       },
       "links": {
        "type": "array",
        "items": {
         "type": "object",
         "required": [
          "title",
          "url"
         ],
         "properties": {
          "url": {
           "type": "string",
           "maxLength": 2000
          },
          "title": {
           "type": "string",
           "maxLength": 200
          },
          "description": {
           "type": "string",
           "maxLength": 1000
          }
         },
         "additionalProperties": false
        },
        "maxItems": 200
       }
      },
      "additionalProperties": false
     },
     "maxItems": 50
    }
   },
   "additionalProperties": false
  },
  "documents": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "maxLength": 100000
     }
    },
    "additionalProperties": false
   },
   "maxItems": 12,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 50,
  "issues": [
   {
    "type": "account_conflict",
    "evidence": "> No account is required. | > No account is required.",
    "location": "line 3 and line 3",
    "severity": "high",
    "description": "One text says an account is not required and another says an account is required."
   },
   {
    "type": "price_conflict",
    "evidence": "/api/v1/widgets $0.03 vs $0.10",
    "location": "line 6; guide line 2",
    "severity": "high",
    "description": "The same API path is shown with two different dollar amounts. Amounts are taken from the same line as the path."
   }
  ],
  "success": true,
  "analysis": "Compared the llms.txt text with 1 supplied documents using lexical account, API key, price, and method patterns.",
  "warnings": [],
  "limitations": [
   "The parser reads ATX headings, a blockquote directly after the H1, and markdown list links. It does not fetch URLs, run HTML, or decide that a link works.",
   "Conflicts are exact phrase or same-line pattern matches. The check does not infer meaning beyond those patterns.",
   "A price conflict requires a path beginning with /api/ and a $ amount on the same line. A method conflict requires one of GET, POST, PUT, PATCH, or DELETE directly before that kind of path.",
   "Each conflict subtracts 25. When no comparable statement exists, the score is omitted.",
   "Documents are not fetched. Only the text in this request is compared."
  ],
  "recommendations": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-contradiction-detect-736e29fd/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)
