PDF tools

Text of a PDF, page by page

The text of each page, in reading order, or laid out as on the page with layout=true. needs_ocr is true when the pages hold almost no text, as in a scan: send those to /v1/ocr. Options go in the query string, or as form fields when the file is sent as multipart/form-data.

post/v1/pdf/text

Request

  • Base URL: https://api.dharun.dev
  • URL: https://api.dharun.dev/v1/pdf/text
  • Auth: none declared

Query parameters

firstinteger

First page. Default 1.

lastinteger

Last page; at most 500 pages per request.

layout'true' | 'false'

Keep the page's layout with spaces, for tables.

Response

Success

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.