{"uid":"cap_-J20F-YuC87NvLjd6RD9n","slug":"secondeyesai-com-f540aef5","name":"SecondEyes AI Document Extraction","description":"doc-extract: structured, arithmetic-reconciled extraction of an invoice, contract, or generic document from a PDF/doc URL. Evidence-only (schema-valid, totals reconcile, dates parse, ISO-4217 currency). Charges only when the extraction reconciles; on a math/schema failure it returns the discrepancy and does not settle.","url":"https://secondeyesai.com/api/bar/x402/extract","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"tax":1.6,"buyer":"Globex Inc","dates":{"due_date":"2026-02-14","issue_date":"2026-01-15"},"total":21.6,"vendor":"Acme LLC","currency":"USD","subtotal":20,"line_items":[{"qty":2,"desc":"Widget","amount":20,"unit_price":10}]},"tool":"doc-extract","doc_type":"invoice","validated":true,"attestation":{"basis":"evidence-only","claims":["schema-valid structured output","line items sum to subtotal","subtotal + tax reconciles to total"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.050000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.050000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0Xy1dOKMZ0Q-ElKFSj4RK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured, arithmetic-reconciled data from invoices, contracts, or generic documents provided as a PDF/doc URL, charging only when extraction fully reconciles.","exampleAgentPrompt":"Pull all the structured data out of this invoice PDF — https://example.com/invoice-2024-001.pdf — and make sure the line items, subtotals, taxes, and grand total actually reconcile before you give me the result.","exampleUseCases":null,"resultDescription":"Returns a schema-valid structured extraction of the document with reconciled arithmetic totals, parsed ISO-8601 dates, and ISO-4217 currency codes. If math or schema validation fails, returns the specific discrepancy and does NOT charge the $0.10 USDC fee.","failureModes":["Math reconciliation failure: totals do not add up — returns discrepancy details, no charge applied","Schema validation failure: extracted fields do not conform to expected schema — returns error with specifics, no charge","Unparseable date or non-ISO-4217 currency encountered — extraction rejected with explanation","Inaccessible or invalid document URL — returns fetch error","Unsupported file format — returns format error"],"whenToPreferThis":"Prefer this endpoint when you need verified, arithmetic-correct extraction from financial or legal documents (invoices, contracts) and want a pay-on-success guarantee — you only pay $0.10 USDC when the extraction fully reconciles. Ideal for agentic workflows where silent extraction errors would cause downstream problems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:09.930Z","isFirstParty":false}