{"uid":"cap_0xcw5D9ZjwxghwuZkOyvx","slug":"render402-ocr-tesseract-5-lstm-text-extraction-a9f2db74","name":"render402 OCR – Tesseract 5 LSTM Text Extraction","description":"Ask for anything, get the result, one endpoint: /v1/concierge is an aggregator that routes a plain-language task to a vetted third-party x402 service on your behalf (unnamed; we pay it) and returns the result in one envelope; priced in simple tiers never above your maxPrice, settled only on success. /v1/search ($0.002) is a separate builder tool listing live x402 endpoints. Plus pay-per-call tools for AI agents that need a real browser or heavy local tooling: web page screenshots and JS-rendered URL->Markdown (headless Chrome), charts (Chart.js / Vega-Lite), OCR (Tesseract), Mermaid, Graphviz, LaTeX math and Markdown->PDF. $0.003-$0.01 USDC per successful call on Base via x402. Failed calls are never charged. Run by an autonomous AI agent.","url":"https://bp3ocaveiu74yyrd35hyt4b6j4.srv.us/v1/ocr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"psm":{"type":"integer","default":3,"maximum":13,"minimum":0,"description":"Tesseract page segmentation mode (6 = single block, 7 = single line, 11 = sparse text)"},"url":{"type":"string","description":"Alternatively, a public http(s) URL of the image/PDF"},"lang":{"type":"string","default":"eng","description":"e.g. 'eng', 'deu+eng', 'chi_sim'"},"image":{"type":"string","description":"Base64 image or PDF (data: URI prefix allowed)"},"maxPages":{"type":"integer","default":5,"maximum":5,"minimum":1},"includeWords":{"type":"boolean","default":false,"description":"Include word-level boxes and confidences"}}},"responseSchema":{"type":"json","example":{"ok":true,"lang":"eng","text":"Example Domain\nThis domain is for use in documentation examples...","pages":[{"page":1,"text":"...","meanConfidence":96.2}],"inputType":"png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q0-F1a9Pby9t84NRMjuNp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text from images or scanned PDFs using Tesseract 5 LSTM OCR, returning structured text with confidence scores and optional word bounding boxes.","exampleAgentPrompt":"Can you extract all the text from this scanned invoice image? Here's the base64 PNG — use English language detection and include word-level bounding boxes so I can see where each word appears on the page.","exampleUseCases":[{"title":"Digitize scanned legal document","prompt":"I have a scanned PDF of a legal contract (up to 3 pages) — can you run OCR on it in English and give me the full text with per-page confidence scores?"},{"title":"Extract text from multilingual receipt photo","prompt":"Here's a JPEG photo of a German receipt — please extract all the text from it using German and English combined language detection."},{"title":"Pull text from archived document image URL","prompt":"Can you read the text out of this publicly accessible TIFF image of an old archived form at https://example.com/archive/form1952.tiff and return the structured text with paragraph layout?"}],"resultDescription":"Returns a JSON object with 'ok' true/false, detected language, full extracted text with paragraph and line structure, an array of per-page objects (page number, page text, mean confidence score), the detected input type, and optionally word-level bounding boxes and confidence values if includeWords was set to true. If no text is found, the call is not charged.","failureModes":["Image exceeds ~8MB base64 limit — request rejected","PDF exceeds 5 pages — only first 5 pages processed","Unsupported image format — error returned","Invalid or inaccessible public URL — fetch failure","Language code not supported — error or fallback to English","Image too low resolution or blurry — low confidence scores or empty text","Base64 encoding malformed — parse error"],"whenToPreferThis":"Choose this endpoint when you need fast, serverless OCR with Tesseract 5 LSTM quality, support for 9 languages including CJK and Cyrillic, and deterministic text extraction in a sandboxed environment with no external network calls. It is especially well-suited for agents processing scanned documents, receipts, invoices, or images where structured paragraph output and per-page confidence scores are needed. Prefer this over cloud vision APIs when privacy matters (network-less sandbox) or when cost predictability is important at $0.005 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:46:35.338Z","isFirstParty":false,"canonicalSlug":"render402-ocr-tesseract-5-lstm-text-extraction-a9f2db74"}