Extract Text from a PDF

Extract the text from a PDF file at a URL and return it as markdown, page by page. Use it to read a PDF, parse a form, report, paper, invoice, or document, or convert a PDF to text. Works on PDFs with a text layer (scanned image-only PDFs return little or no text; no OCR).

Price: $0.005 per call. Charged once per call that returns a result, including an empty result list. Failed calls are free.

post/v1/tools/pdf_to_text

Request

  • Base URL: https://unstuckapi.com
  • URL: https://unstuckapi.com/v1/tools/pdf_to_text
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

urlstring required

The http(s) URL of the PDF file.

Response

Success

tool'pdf_to_text' required
charged_usdnumber required
balance_usdnumber required

Changes

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