{"uid":"cap_abiJ8vgUGqBcy0ZWHFhfu","slug":"lensaocr-35d70fe8","name":"LensaOCR","description":"Reads an image's text and word boxes (Tesseract txt, TSV, hOCR and ALTO).","url":"https://lensaocr.saastemly.com/v1/ocr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"format":{"enum":["text","tsv","hocr","alto","words"],"type":"string","description":"The answer's format: text (default), tsv, hocr, alto or words"},"image_base64":{"type":"string","description":"A PNG image (up to 5 MB), base64-encoded"}}},"responseSchema":null,"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_4fdDnH-vakODfwP29toeO","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 and word bounding boxes from a PNG image using Tesseract, returning results in text, TSV, hOCR, ALTO, or words format.","exampleAgentPrompt":"Can you read all the text out of this image for me and give me back the word positions too — return it in TSV format so I can work with the coordinates?","exampleUseCases":[{"title":"Digitize scanned document text","prompt":"I have a scanned page from a contract as a PNG — can you extract all the readable text from it and give me the plain text output?"},{"title":"Extract word boxes for document layout analysis","prompt":"Take this PNG screenshot of a form and give me the word-level bounding boxes in hOCR format so I can figure out where each field label appears on the page."},{"title":"Parse receipt or invoice image","prompt":"Here's a photo of a receipt encoded in base64 — run OCR on it and return the results as TSV so I can pull out the line items and prices programmatically."}],"resultDescription":"Returns OCR results for the submitted image in the requested format: plain text string (text), tab-separated values with confidence and bounding box columns (tsv), hOCR HTML with spatial metadata (hocr), ALTO XML (alto), or a structured list of word objects with coordinates (words).","failureModes":["Image exceeds 5 MB limit — request rejected","Image not valid PNG or improperly base64-encoded — decode error","Low-quality or blurry image — Tesseract returns empty or garbled text with low confidence","Unsupported format enum value — validation error","Non-Latin or unsupported script — Tesseract may return poor results depending on language model"],"whenToPreferThis":"Choose LensaOCR when you need Tesseract-backed OCR with multiple structured output formats (especially TSV or hOCR with bounding boxes) and want a pay-per-call API without managing Tesseract infrastructure. Ideal for document processing pipelines, form digitization, and layout-aware text extraction where word-level spatial data matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:36:58.849Z","isFirstParty":false,"canonicalSlug":"lensaocr-35d70fe8"}