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

37

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

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/).

Note: this actor runs in Demo Mode by default, so a default free run returns sample data. Set demoMode to false to fetch real data.


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:

EventWhen it is chargedPrice
Actor startOnce when the run starts, one event per GB of memory (minimum one). At the default 4 GB of memory a run starts at $0.40$0.10 per GB
Page ProcessedPer PDF page OCR processed$0.20
ResultEach item written to the default dataset$0.00001

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