PDF

Extract the text of a PDF

Returns the text of a PDF (not scanned images: there is no OCR). Set pages=true to also get the text page by page.

Costs 1 credit per call.

post/pdf-extract-text

Request

  • Base URL: https://api.cofferdock.com
  • URL: https://api.cofferdock.com/pdf-extract-text
  • Auth: API key in header x-api-key

Request body

filestring byte required

The PDF, base64-encoded.

pagesboolean

Also return the text split by page.

Response

The extracted text.

successboolean
textstring
num_pagesinteger
infoobject

Changes

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