{"uid":"cap_uNWsfBZERjpk0gXLltnKA","slug":"brainiac-contract-signed-version-match-8794482e","name":"BRAINIAC Contract Signed Version Match","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/document-trust/contract-signed-version-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"asOf":{"type":"string","maxLength":40},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"files":{"type":"array","items":{"type":"object","required":["fileBase64"],"properties":{"id":{"type":"string","maxLength":80},"role":{"type":"string","maxLength":80},"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["application/pdf","application/octet-stream"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1},"versionLabel":{"type":"string","maxLength":80},"expectedSha256":{"type":"string","maxLength":128},"expectedByteRangeSha256":{"type":"string","maxLength":128}},"additionalProperties":false},"maxItems":20},"signers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":200},"email":{"type":"string","maxLength":200},"signedAt":{"type":"string","maxLength":40},"fieldName":{"type":"string","maxLength":120},"documentId":{"type":"string","maxLength":80},"certificateId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":40},"revocations":{"type":"array","items":{"type":"object","properties":{"reason":{"type":"string","maxLength":200},"source":{"type":"string","maxLength":200},"revokedAt":{"type":"string","maxLength":40},"serialNumber":{"type":"string","maxLength":128}},"additionalProperties":false},"maxItems":200},"certificates":{"type":"array","items":{"type":"object","required":["pem"],"properties":{"id":{"type":"string","maxLength":80},"pem":{"type":"string","maxLength":50000,"minLength":1},"role":{"enum":["leaf","intermediate","root"],"type":"string"},"documentId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":40},"detachedSignatures":{"type":"array","items":{"type":"object","properties":{"algorithm":{"enum":["RSA-SHA256","RSA-SHA1","RSA-SHA512"],"type":"string"},"documentId":{"type":"string","maxLength":80},"digestSha256":{"type":"string","maxLength":128},"publicKeyPem":{"type":"string","maxLength":50000},"signatureBase64":{"type":"string","maxLength":100000}},"additionalProperties":false},"maxItems":20}}},"responseSchema":{"type":"json","example":{"items":[{"leftId":"DOC-1","matched":true,"rightId":"DOC-2","hashMatch":true,"labelMatch":true,"leftVersionLabel":"v1","rightVersionLabel":"v1","commercialPlatformUsed":false,"legalEnforceabilityClaimed":false}],"status":"compared","findings":[],"checkedAt":"2026-11-04T21:00:00.000Z","pairCount":1,"limitations":["PDF bytes, certificates, signers, revocations, and detached signatures are processed only locally in this request path.","No commercial electronic-signature platform is used and no API key is required.","Technical signature, hash, certificate, and timestamp checks are not a determination of legal enforceability.","Full CMS/PKCS#7 cryptographic verification is reported only when a detached signature and public key are supplied, or when ByteRange digests match caller-supplied expectations. Missing CMS fields are not invented.","Revocation is evaluated only against caller-supplied revocation entries. Live commercial OCSP/CRL networks are not queried."],"apiKeyRequired":false,"paidProviderUsed":false,"commercialPlatformUsed":false,"legalEnforceabilityClaimed":false}},"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_6g1YqrzXSRQbT2JyP-V2L","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":"Compares two or more documents (by hash, version label, signers, certificates, and detached signatures) to determine whether a signed contract version matches its expected signed counterpart.","exampleAgentPrompt":"I need to verify that the signed contract PDF we received back from the vendor matches the original version we sent them — can you compare the two PDFs, check whether the hashes and version labels match, and flag any discrepancies?","exampleUseCases":[{"title":"Signed contract tamper detection","prompt":"We just got back a countersigned agreement PDF from our client — can you check if it matches the original document we sent them, specifically comparing the SHA-256 hashes and version labels to make sure nothing was altered?"},{"title":"Multi-party executed agreement audit","prompt":"I have three versions of the same contract signed by different parties at different times. Can you compare them pairwise and tell me whether the underlying document content and version labels are consistent across all copies?"},{"title":"Certificate-backed signature version check","prompt":"Our compliance team needs to confirm that the signed PDF and its detached RSA-SHA256 signature file correspond to version v2.1 of the master services agreement. Can you run a version match check using the PEM certificate from our signing authority?"}],"resultDescription":"A JSON object containing: a list of pairwise comparison items (each with left/right document IDs, hash match boolean, label match boolean, matched version labels, and commercial/legal enforceability flags), an overall status string, an array of findings or anomalies, the timestamp of the check, the number of pairs evaluated, and a list of limitation disclosures clarifying that legal enforceability is not asserted and no live OCSP/CRL networks are queried.","failureModes":["Missing required fileBase64 field returns a validation error","Mismatched mediaType enum value causes rejection","Oversized base64 input (>12MB per file) exceeds schema limits","Invalid PEM certificate format causes certificate parsing failure","Detached signature algorithm not in allowed enum (RSA-SHA256, RSA-SHA1, RSA-SHA512) is rejected","Revocation entries without matching serial numbers produce inconclusive revocation results","No documents provided results in zero pairs and empty findings","Payment not received via x402 returns HTTP 402 without processing"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a signed contract PDF matches an expected version — especially for compliance workflows, post-execution audits, or counterparty return checks — without requiring a commercial e-signature platform account. It is ideal for agents that need to perform local cryptographic and hash-based version matching with certificate chain support, paying only $0.04 USDC per call via x402 with no account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:37:39.040Z","isFirstParty":false,"canonicalSlug":"brainiac-contract-signed-version-match-8794482e"}