{"uid":"cap_8CLhodiumMApKVjDgz7oz","slug":"brainiac-contract-version-diff-5a9541a1","name":"BRAINIAC Contract Version Diff","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/contract-operations/version-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"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}},"additionalProperties":false},"maxItems":80}},"additionalProperties":false},"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}},"additionalProperties":false},"maxItems":80}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"status":"changes_found","changes":[{"change":"changed","heading":"Supply","clauseId":"C-001","baseExcerpt":"1. Supply The Seller shall deliver the Goods within 14 days after each order.","revisedExcerpt":"1. Supply The Seller shall deliver the Goods within 30 days after each order."},{"change":"changed","heading":"Term","clauseId":"C-002","baseExcerpt":"2. Term This Agreement expires on 1 November 2027.","revisedExcerpt":"2. Term This Agreement expires on 1 November 2028."},{"change":"added","heading":"Confidentiality","clauseId":"C-003","baseExcerpt":"","revisedExcerpt":"3. Confidentiality The Seller shall keep the Buyer's information confidential."}],"findings":[],"checkedAt":"2026-11-02T19:00:00.000Z","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.","Clauses match on their number, or on the heading when no number is present. Whitespace and letter case alone are not treated as changes."],"complianceDetermined":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4Xpc_ocvBK7JGT7zuPRsu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two versions of a contract and returns a clause-by-clause diff identifying changed, added, and removed provisions","exampleAgentPrompt":"Compare these two contract drafts for me — the original PDF I sent last week and the revised version the other party just sent back — and tell me exactly which clauses were changed, added, or removed.","exampleUseCases":[{"title":"Counterparty redline review","prompt":"The supplier just sent back a revised services agreement. Can you compare it clause by clause against our original draft and show me everything they changed, added, or deleted?"},{"title":"Amendment change detection","prompt":"We signed the original lease in 2022 and now have a proposed amendment. Compare the two documents and list every clause that differs between them, including any new provisions they're trying to add."},{"title":"Contract negotiation tracking","prompt":"Here are two versions of the NDA — v1 that we sent and v3 that came back after two rounds of negotiation. Diff them and show me exactly what changed in each clause so I can review before signing."}],"resultDescription":"A JSON object with a status field ('changes_found', 'no_changes', etc.), an array of change objects each containing the change type (changed/added/removed), clause ID, heading, base excerpt, and revised excerpt, plus a checkedAt timestamp and an array of limitations clarifying that the output is not legal advice.","failureModes":["Mismatched clause numbering across versions may cause incorrect clause pairing","Very large documents (>12MB base64) will be rejected","Whitespace-only or case-only differences are intentionally ignored and not reported","Clauses without consistent headings or numbers may not be matched correctly","Payment failure on Base network will prevent result delivery"],"whenToPreferThis":"Use this endpoint when you need a structured, clause-level diff between two contract versions rather than a free-text redline or a full document summary. It is ideal when clauses have consistent numbering or headings across versions, and when you need machine-readable output identifying specifically which provisions changed. Prefer it over general document comparison tools when legal precision and clause traceability matter. At $0.08 per call with no account required, it suits agentic workflows that need to compare contracts on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:11.107Z","isFirstParty":false,"canonicalSlug":"brainiac-contract-version-diff-5a9541a1"}