pdf-text avatar

pdf-text

Pricing

from $20.00 / 1,000 results

Go to Apify Store
pdf-text

pdf-text

Extract text from a PDF URL

Pricing

from $20.00 / 1,000 results

Rating

0.0

(0)

Developer

tough_haircomb

tough_haircomb

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Share

pdf-text: Extract text from a PDF URL using pypdf.

Input: JSON with a single field 'url' containing the HTTPS URL to a PDF.

Output: JSON with fields:

  • url: original URL
  • pages: integer number of pages
  • text: extracted text, at most 20000 characters
  • truncated: boolean, true if text was cut to 20000 chars
  • error: null on success or a string describing the error

Example input: {"url": "https://example.com/file.pdf"}