{"uid":"cap_8Vsvktui2A0utbfmxyNZP","slug":"brainiac-contradiction-detect-736e29fd","name":"BRAINIAC Contradiction Detect","description":"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.","url":"https://www.brainiac.software/api/v1/llms-txt/contradiction-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":{"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":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zyTs1mioHbCe8zXAdAXkv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects contradictions, price conflicts, and logical inconsistencies between a primary text (e.g. llms.txt) and one or more reference documents","exampleAgentPrompt":"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].","exampleUseCases":[{"title":"LLMs.txt vs API docs audit","prompt":"I just updated my llms.txt but I want to make sure it doesn't contradict my actual API documentation. Can you compare this llms.txt text against these two reference docs and flag any price conflicts, account requirement mismatches, or method inconsistencies? Give me a score and list of issues."},{"title":"Pricing page consistency check","prompt":"My pricing page and my developer guide both mention costs for the same endpoints — can you check if there are any conflicting dollar amounts? Here's the pricing page text and here's the developer guide as a reference document."},{"title":"Multi-version documentation conflict scan","prompt":"We have three versions of our API docs that might have drifted out of sync. Can you compare all three documents and flag any contradictions, especially around authentication requirements, endpoint methods, and pricing?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:36:30.482Z","isFirstParty":false,"canonicalSlug":"brainiac-contradiction-detect-736e29fd"}