PDF OCR API - Document Extraction avatar

PDF OCR API - Document Extraction

Pricing

from $200.00 / 1,000 page processeds

Go to Apify Store
PDF OCR API - Document Extraction

PDF OCR API - Document Extraction

Extract text from PDFs including scanned documents. OCR processing, table extraction & structured data output. Process invoices, contracts & forms at scale.

Pricing

from $200.00 / 1,000 page processeds

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

17

Total users

1

Monthly active users

3 days ago

Last modified

Share

PDF OCR API

Extract text from PDF files using OCR. Supports scanned documents, images, and multi-page PDFs. Returns structured text with page numbers and confidence scores. Built by John Rippy (https://www.linkedin.com/in/johnrippy/ | https://johnrippy.link/).


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"pdfUrl": ""
}

Run with real data

{
"demoMode": false,
"pdfUrl": "",
"language": "eng",
"outputFormat": "json",
"detectTables": false
}

Input Parameters

ParameterTypeDefaultRequiredDescription
pdfUrlstring-NoURL of the PDF file to process
pdfBase64string-NoBase64-encoded PDF content (alternative to URL)
languagestring"eng"NoLanguage hint for OCR (improves accuracy)
pageRangestring-NoPages to process (e.g., '1-5' or '1,3,5'). Leave empty for all pages.
outputFormatstring"json"NoHow to structure the output
detectTablesbooleanfalseNoAttempt to preserve table structure
demoModebooleantrueNoReturn sample output without processing (for testing)
webhookUrlstring-NoOptional URL to receive results via POST request when actor completes

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Page ProcessedEach PDF page processed with OCR$0.02

Demo mode is free -- no charges for sample data.


Troubleshooting

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal