{"uid":"cap_HWge8bJ7DzemKyHMMHWwh","slug":"ausca-extract-text-ocr-296e1ef5","name":"Ausca Extract Text (OCR)","description":"Extract normalized text from a scanned document.","url":"https://ausca.com/v1/extract-text","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{}}}}},"responseSchema":{"type":"json","example":{"status":"accepted","invocation":{"state":"succeeded","output":{"schema":"ausca.aws_documents.execution.v1","delivery":{"kind":"inline","output":{"text":"scan me","lines":[{"page":1,"text":"scan me","confidence":0.99}],"schema":"ausca.document_ocr.output.v1","source_digest":"sha256:2222222222222222222222222222222222222222222222222222222222222222"}},"output_digest":"sha256:3333333333333333333333333333333333333333333333333333333333333333"},"updated_at":"2026-01-01T00:00:00Z","receipt_ref":{"uri":"runx:receipt:discovery-example","type":"receipt"},"invocation_id":"ausca-discovery-example","output_digest":"sha256:148d0da3dedc9c4c32732baeff2c455c93dd57a4bf3a329539d8623302de4cf9","offer_revision_digest":"sha256:82e7b09268731519e39e4a091f4820de1b594027340c8df1ff02424c0ad73d00"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8xtxk_dOiPwKDREHIn2kA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from document images using OCR, returning per-line text with confidence scores and a verifiable receipt, paid per-call at $0.25 USDC with no account required.","exampleAgentPrompt":"Can you extract all the text from this scanned invoice image? I need each line of text along with confidence scores, and I'm fine paying $0.25 per call — no AWS account needed.","exampleUseCases":[{"title":"Digitizing scanned contract pages","prompt":"I have a scanned PDF of a legal contract and need all the text extracted with per-line confidence scores so I can search and edit it — can you run OCR on it and give me the results?"},{"title":"Automating receipt data extraction","prompt":"Pull the text out of this photo of a restaurant receipt so I can log the line items and total into my expense tracker."},{"title":"Verifiable document processing pipeline","prompt":"Extract the text from this scanned government form and give me a receipt I can use to prove the OCR was run correctly — I need the output digest for audit purposes."}],"resultDescription":"A JSON response containing the full extracted text as a single string, an array of per-line objects (each with page number, line text, and confidence score), a SHA-256 digest of the source document, a SHA-256 digest of the output, a receipt reference URI for verification, and an invocation ID. The schema version is ausca.document_ocr.output.v1.","failureModes":["Unsupported file format or corrupt image body results in a processing error","Low-quality or blurry scans may yield low confidence scores or incomplete text extraction","Payment failure (insufficient USDC balance or x402 protocol error) prevents invocation","Oversized document payloads may be rejected or time out","Missing required 'input' field or malformed JSON body returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call OCR with no AWS account, no provider API keys, and a cryptographically verifiable receipt. It is ideal for agents that process documents intermittently and cannot justify managing cloud credentials, or that need auditability of each OCR invocation. Prefer it over raw AWS Textract integration when you want metered, accountless access with built-in payment and receipt infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:39:14.135Z","isFirstParty":false}