{"slug":"rengi-dev-v1-doc-tools-pdf-text-cecf97","title":"Document tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/doc-tools/pdf-text","category":"search","description":"Document tools: Extract the text of a PDF in reading order, page by page, with its metadata (title, author, dates) and page sizes. Says which pages are scans with no text layer. Full schema: https://rengi.dev/v1/doc-tools/schema","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":901,"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":{"pdfUrl":"https://rengi.dev/samples/report.pdf"},"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":{"maxChars":{"default":80000,"description":"Cut the inline text at this length; the file always has all of it.","maximum":400000,"minimum":500,"type":"integer"},"pages":{"description":"Pages to read, like \"1-5\". All when omitted.","maxLength":200,"type":"string"},"pdf":{"description":"PDF file as base64.","type":"string"},"pdfUrl":{"description":"Link to the PDF.","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":{"file":{"type":"string"},"metadata":{"additionalProperties":false,"properties":{"author":{"type":["string","null"]},"created":{"type":["string","null"]},"creator":{"type":["string","null"]},"modified":{"type":["string","null"]},"producer":{"type":["string","null"]},"subject":{"type":["string","null"]},"title":{"type":["string","null"]}},"required":["title","author","subject","creator","producer","created","modified"],"type":"object"},"notes":{"items":{"type":"string"},"type":"array"},"pageInfo":{"items":{"additionalProperties":false,"properties":{"chars":{"type":"number"},"heightPt":{"type":"number"},"page":{"type":"number"},"widthPt":{"type":"number"}},"required":["page","chars","widthPt","heightPt"],"type":"object"},"type":"array"},"pages":{"type":"number"},"scannedPages":{"description":"Pages with no text layer: they are images and need OCR.","items":{"type":"number"},"type":"array"},"text":{"description":"Text in reading order, pages separated by a line with the page number.","type":"string"},"truncated":{"type":"boolean"},"words":{"type":"number"}},"required":["text","truncated","file","pages","pageInfo","words","metadata","scannedPages","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.02,"price_match":true,"latency_ms":891,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":895,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":946,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":908,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":922,"error":null}],"description_full":"Document tools: Extract the text of a PDF in reading order, page by page, with its metadata (title, author, dates) and page sizes. Says which pages are scans with no text layer. Full schema: https://rengi.dev/v1/doc-tools/schema","last_updated":"2026-11-21T15:12:31.994Z","schemes":["exact"]}