{"slug":"rengi-dev-v1-doc-tools-ocr-c13298","title":"Document tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/doc-tools/ocr","category":"image","description":"Document tools: Text recognition for scans, photos of documents, screenshots and scanned PDFs: the text in reading order, each line with its page, position and confidence. English and other Latin-script text; small or soft images are enlarged first. Full schema: https://rengi.dev/v1/doc-tools/schema","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":909,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"imageUrl":"https://rengi.dev/samples/scan.png"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"image":{"description":"Image as base64: a scan, a photo of a document, a screenshot (PNG, JPEG, WebP, TIFF).","type":"string"},"imageUrl":{"format":"uri","type":"string"},"layout":{"default":"auto","description":"auto finds columns and paragraphs; single-block for one plain block of text; single-line for a label or a number; sparse for text scattered over a picture (UI, signs).","enum":["auto","single-block","single-line","sparse"],"type":"string"},"minConfidence":{"default":0,"description":"Drop lines the engine is less sure of than this (0 to 100).","maximum":100,"minimum":0,"type":"number"},"pages":{"description":"For a PDF: pages to read, like \"1-3\". The first 10 when omitted; up to 15 per call.","maxLength":100,"type":"string"},"pdf":{"description":"Or a scanned PDF as base64: its pages are drawn and read one by one.","type":"string"},"pdfUrl":{"format":"uri","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"confidence":{"description":"Mean confidence of the kept lines, 0 to 100.","type":"number"},"file":{"type":"string"},"height":{"type":"number"},"language":{"type":"string"},"lines":{"items":{"additionalProperties":false,"properties":{"box":{"additionalProperties":false,"description":"In pixels of the image as sent; for a PDF, in points of the page (1/72 inch), origin top left.","properties":{"height":{"type":"number"},"width":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y","width","height"],"type":"object"},"confidence":{"type":"number"},"page":{"description":"Page of the PDF, 1 for an image.","type":"number"},"text":{"type":"string"}},"required":["page","text","confidence","box"],"type":"object"},"type":"array"},"notes":{"items":{"type":"string"},"type":"array"},"pages":{"description":"Pages read.","type":"number"},"text":{"type":"string"},"width":{"type":"number"},"words":{"type":"number"}},"required":["text","confidence","lines","pages","words","file","language","width","height","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":975,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":877,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":958,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":876,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":930,"error":null}],"description_full":"Document tools: Text recognition for scans, photos of documents, screenshots and scanned PDFs: the text in reading order, each line with its page, position and confidence. English and other Latin-script text; small or soft images are enlarged first. Full schema: https://rengi.dev/v1/doc-tools/schema","last_updated":"2026-11-21T15:12:37.781Z","schemes":["exact"]}