# Image and PDF OCR (`mambalabs/image-pdf-ocr`) Actor

Read text from images and scanned PDFs by web address: one row per image or page with the text, word count, and a confidence score. PDFs that already hold text are read from that text, cheaper. Open source OCR inside the run; no API key, your files go to no outside service.

- **URL**: https://apify.com/mambalabs/image-pdf-ocr.md
- **Developed by:** [Mamba Labs](https://apify.com/mambalabs) (community)
- **Categories:** AI, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $17.00 / 1,000 pages read by ocr

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Image and PDF OCR

Give web addresses of images or PDF files. The actor reads each image, and each page of a scanned PDF, into text with OCR, and returns one row per page: the text with its lines kept, word and line counts, Tesseract's mean word confidence, and the number of words it was unsure of. A PDF page that already holds text is read from that text instead, which is exact and cheaper. You pay per page. Failed downloads, unsupported files, summary rows, and a refused input are free.

### Features

- One row per image or PDF page, with the text, `word_count`, `line_count`, `mean_confidence` (0 to 100), and `low_confidence_words` so you know which pages to check by eye.
- PNG, JPEG, GIF (first frame), WebP, BMP, and TIFF images, and PDF files, up to 30 MB each. Phone photos are turned upright from their camera tag before reading.
- PDFs: pages with a text layer are read from it (`method` `text_layer`, charged as `page-text`), and pages without one go through OCR (`method` `ocr`, charged as `page-ocr`). Set `use_pdf_text_layer` to no to OCR every page.
- English, German, French, Spanish, Dutch, Italian, and Portuguese, one language per run.
- `page_layout` sparse for receipts, forms, signs, and screenshots; auto for letters, articles, and book scans.
- `max_pages_per_file` (default 10) caps the pages read, and so the charge, per PDF.
- Each file ends with a free summary row: pages read, pages by OCR, pages from the text layer, or why the file was not read.
- Number and on or off inputs are text, so Clay can send them as they are.

### How the data is read

The actor downloads each address directly, and retries through the Apify proxy pool only if the host refuses the direct address. It never uses residential proxies. Images are converted to gray and scaled so the long side is at most 2,500 pixels; PDF pages are rendered at 200 dpi with the same limit. Tesseract, the open source OCR engine, reads each page inside the run. No AI model, no API key, and no outside OCR service: your files go nowhere but the run. The same file gives the same text.

How it differs from other Mamba Labs actors: Business PDF Field Extractor reads invoices, purchase orders, and contracts into fixed fields such as totals and due dates; Media URL Transcriber turns audio and video into text. This actor returns the plain text of any image or page, for any later step you choose.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `urls` | array |  | Web addresses of PNG, JPEG, GIF, WebP, BMP, or TIFF images, or PDF files, up to 30 MB each. The address must answer without a login. In Clay, put the column in a one item list. |
| `language` | string | `eng` | Language of the text: eng (default), deu, fra, spa, nld, ita, or por. One language per run; run files in another language as a separate run. |
| `page_layout` | string | `auto` | auto (default) finds columns and blocks, which suits letters, articles, and scans. block reads the page as one block of text. sparse finds scattered text, which suits receipts, forms, signs, and screenshots. |
| `max_pages_per_file` | string | `10` | Pages to read per PDF, from page 1, up to 100. Default 10. This caps the charge per file. |
| `use_pdf_text_layer` | string | `yes` | yes (default): a PDF page that already holds text is read from that text, charged as page-text, which is cheaper and exact. no: every page is read by OCR and charged as page-ocr. |
| `max_files` | string | `100` | Files to read in this run, up to 1,000. Default 100. |
| `max_charge_usd` | string |  | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |

Example:

```json
{
  "urls": [
    "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif",
    "https://example.com/scanned-letter.pdf"
  ],
  "language": "eng",
  "max_pages_per_file": "10"
}
```

### Output

| Field | Type | What it holds |
|---|---|---|
| `row_type` | string | One of: page, file_summary, run_summary. run_summary is the one free row written when the input is refused. |
| `input_url` | string | The image or PDF address from your input. |
| `file_type` | string | image or pdf, from the file's first bytes. |
| `content_type` | string | Content type the host sent. |
| `file_bytes` | integer | Size of the downloaded file. |
| `page_number` | integer | Page of the PDF this row holds; 1 for an image. |
| `page_count` | integer | Pages in the file. |
| `method` | string | ocr when Tesseract read the page, text_layer when the PDF's own text was used. |
| `language` | string | Tesseract language code used, for example eng or deu. |
| `text` | string | The page text, lines kept, up to 100,000 characters. |
| `char_count` | integer | Characters of text on the page. |
| `word_count` | integer | Words on the page. |
| `line_count` | integer | Lines of text on the page. |
| `mean_confidence` | number | Tesseract's mean word confidence, 0 to 100. Null for a text_layer page. |
| `low_confidence_words` | integer | Words Tesseract read with confidence under 60. Check these by eye. |
| `page_width_px` | integer | Width of the image Tesseract read, after scaling. |
| `page_height_px` | integer | Height of the image Tesseract read, after scaling. |
| `pages_read` | integer | On a file summary row: pages returned for this file. |
| `pages_ocr` | integer | On a file summary row: pages read by OCR, each charged as page-ocr. |
| `pages_text_layer` | integer | On a file summary row: pages read from the PDF's text layer, each charged as page-text. |
| `row_status` | string | ok, or why this row carries no data: no_results, no_change, partial, blocked, or error. |
| `error_reason` | string | Why the row is not ok. A refused input reads input_invalid: followed by what to fix. |
| `billable_events_json` | string | What this row was billed as, for example {"page-ocr":1}. {} means free. |
| `scraped_at` | string | When the row was written, UTC. |

### Pricing

Pay per event. Summary rows, failed downloads, unsupported files, and a refused input are free.

| Event | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| `page-ocr`, one image or scanned page read by OCR | $0.02 | $0.019 | $0.018 | $0.017 |
| `page-text`, one PDF page read from its text layer | $0.001 | $0.00095 | $0.0009 | $0.00085 |
| `apify-actor-start`, once per run (one per GB of memory; the default 1024 MB is one) | $0.005 | $0.005 | $0.005 | $0.005 |

Per 1,000 rows of `page-ocr`: $20.00 on the free plan, $17.00 on Gold.

Free plan cap: 1.50 USD of evaluation a month, about 75 rows. Any paid Apify plan removes the cap, and it resets on the 1st. The run stops before a charge that passes your maximum charge per run in Apify or your `max_charge_usd` input.

Mamba Labs pays the platform costs of your run, Apify proxy traffic included.

A page that holds no text is still charged as `page-ocr`, because the page was read: the row says `no_results` and Tesseract found no text. Use `max_pages_per_file` to cap the pages read per PDF.

### Usage examples

**Clay.** Number and on or off inputs are text fields, which is what Clay sends. `urls` takes a JSON list, so put the file address column inside a one item list.

**Receipts and forms.** Run photos with `page_layout` sparse, then send `text` to a parser or an AI step for the fields you need. Sort by `mean_confidence` to find photos to retake.

**Document archives.** Run scanned PDFs with `max_pages_per_file` set to the longest file, and join rows on `input_url` and `page_number`.

**MCP.** The Mamba Labs MCP server `@mambalabsdev/mcp-image-pdf-ocr` exposes this actor to Claude and other MCP clients.

### Error handling

| Case | What you get |
|---|---|
| Missing or unreadable input | One free row, `row_type` `run_summary`, `error_reason` starting `input_invalid:` with what to fix. The run ends successfully and charges nothing but the run start |
| An unknown language or page layout | Refused the same way, with the value |
| The address answers 404 or another error | One free `file_summary` row with `row_status` `error` |
| The host refuses the download (HTTP 403, 429, or 503) | One free `file_summary` row with `row_status` `blocked` |
| The file is not an image or a PDF, is over 30 MB, or needs a password | One free `file_summary` row that says which |
| A PDF longer than `max_pages_per_file` | Pages 1 to the cap, then a `file_summary` row with `row_status` `partial` |
| The run is close to its timeout | The actor stops starting new pages 90 seconds before the timeout and delivers what it has |

### Limitations

- OCR quality follows the image. Clean scans at 200 dpi or more read well; phone photos at an angle, low light, handwriting, and stylized fonts read poorly and show a low `mean_confidence`. Handwriting is not supported.
- Images larger than 2,500 pixels on the long side are scaled down before reading, so very small print on a very large image can be lost; crop it first.
- Tables come back as text lines, not cells.
- Languages outside the seven listed are not installed. Right to left and Asian scripts are not supported.
- The address must answer without a login. Private network addresses are not read.
- A PDF text layer is used as the PDF holds it. A text layer made by bad OCR elsewhere is returned as is; set `use_pdf_text_layer` to no to read those pages again.

### Mamba Labs actor suite

| Actor | Actor ID |
|---|---|
| [Account Hiring Watch](https://apify.com/mambalabs/account-hiring-watch?fpr=mamba) | `gRAZA5WBi1r6L0gy7` |
| [Agent Accessibility Auditor](https://apify.com/mambalabs/agent-accessibility-auditor?fpr=mamba) | `anxbRv0lKrpQ1pnua` |
| [Agent to Brokerage Resolver](https://apify.com/mambalabs/agent-brokerage-resolver?fpr=mamba) | `ePRRGLxOGyaVHO4dI` |
| [AI Answer Visibility Tracker](https://apify.com/mambalabs/ai-answer-visibility-tracker?fpr=mamba) | `RJZvzKniYK4nswcMg` |
| [AI List Extractor for Any Website](https://apify.com/mambalabs/ai-list-extractor-any-website?fpr=mamba) | `D5hOdIez45M0NX5jD` |
| [AI Tooling Detector](https://apify.com/mambalabs/ai-tooling-detector?fpr=mamba) | `EwkHhmqiuJgRoVEbE` |
| [AliExpress Search Products](https://apify.com/mambalabs/aliexpress-search-products?fpr=mamba) | `MNu77ocjpdabzxeAH` |
| [Amazon Product, Price, and Stock Tracker](https://apify.com/mambalabs/amazon-product-price-stock-tracker?fpr=mamba) | `MtJPZoyjJ3IeqTFyo` |
| [Amazon Top Reviews Scraper](https://apify.com/mambalabs/amazon-top-reviews-scraper?fpr=mamba) | `wh6Mq6G6BlW1CRPwx` |
| [API Deprecation and Breaking Change Monitor](https://apify.com/mambalabs/api-change-monitor?fpr=mamba) | `pHsbS3xXUK8Jqutz5` |
| [Apify Run Health Monitor](https://apify.com/mambalabs/apify-run-health-monitor?fpr=mamba) | `fjABMkrLziyQ4gFNw` |
| [App Store and Google Play Review Monitor](https://apify.com/mambalabs/app-store-google-play-review-monitor?fpr=mamba) | `MaCMEhGrbchxQZ92G` |
| [B2B Reddit Conversation Monitor](https://apify.com/mambalabs/b2b-reddit-conversation-monitor?fpr=mamba) | `SoDryzzsjmY3SsiyG` |
| [B2B Social Video Transcripts](https://apify.com/mambalabs/b2b-social-video-transcripts?fpr=mamba) | `dG2UYVKE2e4zfDucK` |
| [BBB Business Search](https://apify.com/mambalabs/bbb-business-search?fpr=mamba) | `TpjYgiza0npRmeaSJ` |
| [Bluesky Brand Presence Mapper](https://apify.com/mambalabs/bluesky-brand-presence-mapper?fpr=mamba) | `eLpxzP4IuXznlFVND` |
| [Bluesky Posts Scraper](https://apify.com/mambalabs/bluesky-posts-scraper?fpr=mamba) | `KldSjS7wjoeZ7vQGm` |
| [Brand Sponsor Finder](https://apify.com/mambalabs/brand-sponsor-finder?fpr=mamba) | `PPgK6xrgOmvL7Nrys` |
| [Brazil CNPJ Company Data](https://apify.com/mambalabs/brazil-cnpj-company-data?fpr=mamba) | `cTVqsjG6A56xtLkBA` |
| [Bulk WHOIS and RDAP Domain Age Lookup](https://apify.com/mambalabs/whois-domain-lookup?fpr=mamba) | `MTrkG5FLU6SjqLdJY` |
| [Business PDF Field Extractor](https://apify.com/mambalabs/business-pdf-field-extractor?fpr=mamba) | `vM7JCk0CMAx5W0oJh` |
| [Career Change Signal Engine](https://apify.com/mambalabs/career-change-signal-engine?fpr=mamba) | `vX2Yga1a6wGaXaP14` |
| [Company Careers Page Jobs, 17 ATS Boards](https://apify.com/mambalabs/ats-jobs-feed?fpr=mamba) | `izP0rfIgf5YaRZfIh` |
| [Company Change Event Feed](https://apify.com/mambalabs/company-change-event-feed?fpr=mamba) | `oX44rS0fkEJ3rXLWe` |
| [Company Discovery List Builder](https://apify.com/mambalabs/company-discovery-list-builder?fpr=mamba) | `jch0HdaZnpbMqlcGS` |
| [Company Firmographic Enricher](https://apify.com/mambalabs/company-firmographic-enricher?fpr=mamba) | `YlUtLWjfPpqykmB8g` |
| [Company Funding Record](https://apify.com/mambalabs/funding-investor-record?fpr=mamba) | `OFS4Mt1gyYNtGfUbE` |
| [Company Headcount Estimator](https://apify.com/mambalabs/company-headcount-estimator?fpr=mamba) | `aHC4GROnNt6kfZe5r` |
| [Company Identity Resolver](https://apify.com/mambalabs/company-identity-resolver?fpr=mamba) | `lr8fTRAmZCBZmuwwh` |
| [Company Role Email, Phone and Address Finder](https://apify.com/mambalabs/company-contact-details-extractor?fpr=mamba) | `4mMncKaJykiq94grz` |
| [Company Social Presence Mapper](https://apify.com/mambalabs/company-social-presence-mapper?fpr=mamba) | `4k6CCemkgBDz18m2h` |
| [Competitor Price, Stock, and Changelog Monitor](https://apify.com/mambalabs/competitor-price-stock-changelog-monitor?fpr=mamba) | `yxdgCbUQ4PYQWwRNU` |
| [Contact Classifier](https://apify.com/mambalabs/contact-classifier?fpr=mamba) | `0lGSeYJmniXhGANnO` |
| [Contractor License Search, CA, TX, WA, OR, LA](https://apify.com/mambalabs/contractor-license-lookup?fpr=mamba) | `WBYK3CPI2kdeq4bP1` |
| [Court Docket Monitor](https://apify.com/mambalabs/court-docket-monitor?fpr=mamba) | `cFucrSDOihalrfmzU` |
| [CRM Contact Job Change Checker](https://apify.com/mambalabs/job-change-tracker?fpr=mamba) | `L8UbEmMJC1XYPSZOb` |
| [Cutshort Jobs Scraper](https://apify.com/mambalabs/cutshort-jobs-scraper?fpr=mamba) | `n6QehKZuPaa2L5Pwx` |
| [Dailymotion Video Search](https://apify.com/mambalabs/dailymotion-video-search?fpr=mamba) | `J36vXFWwQgnlT7HDe` |
| [Discord Server Directory](https://apify.com/mambalabs/discord-server-directory?fpr=mamba) | `Jx3PK3b2q2ZMQYTJx` |
| [Domain Deliverability Checker](https://apify.com/mambalabs/domain-deliverability-checker?fpr=mamba) | `0tVgxI7A6o9jMlxmc` |
| [Domain to LinkedIn URL Resolver](https://apify.com/mambalabs/domain-to-linkedin-url-resolver?fpr=mamba) | `3HtnSaqPHOg1Qg5gx` |
| [Dropped Domains from ICANN Zone Files](https://apify.com/mambalabs/zone-file-dropped-domains?fpr=mamba) | `L5zSdrAePjKMKz24b` |
| [Ecommerce Platform Profiler](https://apify.com/mambalabs/ecommerce-platform-profiler?fpr=mamba) | `5G2NeYjBbQTjaTn9L` |
| [Ecommerce Store Discovery](https://apify.com/mambalabs/ecommerce-store-discovery?fpr=mamba) | `PeHu4sLyFvQHXUUrX` |
| [Email List Verifier, Bring Your Own Key](https://apify.com/mambalabs/email-verifier?fpr=mamba) | `CzVJ4NlaCKk80xpgE` |
| [Europages Suppliers](https://apify.com/mambalabs/europages-suppliers?fpr=mamba) | `Xcw9ilHlDf9RYlecC` |
| [Event Presence Index](https://apify.com/mambalabs/event-presence-index?fpr=mamba) | `WLhMy8fMDgsxdYxv5` |
| [Eventbrite Events Scraper](https://apify.com/mambalabs/eventbrite-events-scraper?fpr=mamba) | `sgc6znyrbjOy5Yk9f` |
| [Expert Witness Finder, US and Australia](https://apify.com/mambalabs/expert-witness-directory?fpr=mamba) | `LIpwlgfE3LaQBaXd4` |
| [Facebook Posts Scraper](https://apify.com/mambalabs/facebook-posts-scraper?fpr=mamba) | `T6jxIeq4ua0SLXnqG` |
| [Facebook Reels Scraper](https://apify.com/mambalabs/facebook-reels-scraper?fpr=mamba) | `AkOg4iNPHwYZD7Q5E` |
| [FDA Clearance and Recall Monitor](https://apify.com/mambalabs/fda-clearance-recall-monitor?fpr=mamba) | `3D0hAd87XgXenSsL1` |
| [Funding and Press Signal Scanner](https://apify.com/mambalabs/funding-press-signal-scanner?fpr=mamba) | `FS13X6dhQVgX3XOM6` |
| [GDPR Cookie Banner and Consent Checker](https://apify.com/mambalabs/cookie-consent-audit?fpr=mamba) | `TrKyOS0KBoGC35nbr` |
| [GitHub Followers and Following Export](https://apify.com/mambalabs/github-followers-following-export?fpr=mamba) | `SGNxDmFb9v3tRDaFI` |
| [GitHub Organization Signal Scanner](https://apify.com/mambalabs/github-organization-signal-scanner?fpr=mamba) | `ahF8RRpv5mzPao5CN` |
| [GitHub Repository Search](https://apify.com/mambalabs/github-repo-search?fpr=mamba) | `F0TGFfIvENZu47Kdl` |
| [Google Ads Transparency Center Scraper by Domain](https://apify.com/mambalabs/google-ads-transparency-monitor?fpr=mamba) | `1eOwxhBVxzvOXAm4s` |
| [Google Flights Fares](https://apify.com/mambalabs/google-flights-fares?fpr=mamba) | `oVCatSfzcXbkFfcav` |
| [Google Hotels Prices](https://apify.com/mambalabs/google-hotels-prices?fpr=mamba) | `ua9mDci66setpfd0B` |
| [Google Maps Places Scraper](https://apify.com/mambalabs/google-maps-places-scraper?fpr=mamba) | `SuvHCNJ7pIuw6gn54` |
| [Google Patents Search](https://apify.com/mambalabs/google-patents-search?fpr=mamba) | `h65NY3mybCzdjke7i` |
| [Google Play App Details](https://apify.com/mambalabs/google-play-app-details?fpr=mamba) | `23ijMNH1onNrTicdz` |
| [Google Sheets Import and Export](https://apify.com/mambalabs/google-sheets-import-export?fpr=mamba) | `0VT1IaI5S3lIllONL` |
| [Google Trends Scraper](https://apify.com/mambalabs/google-trends-scraper?fpr=mamba) | `OeDzaACKmBYJXzHZk` |
| [GTM Hiring Signal Scraper](https://apify.com/mambalabs/gtm-hiring-signal-scraper?fpr=mamba) | `D7O1SA2EqwHGsGr1P` |
| [GTM Signals Aggregator](https://apify.com/mambalabs/b2b-buying-signals-hiring-tech-stack-intent-for-clay?fpr=mamba) | `xKdRfnfFNkdMpFuNs` |
| [Healthcare Provider NPI Enricher](https://apify.com/mambalabs/healthcare-provider-npi-enricher?fpr=mamba) | `MrgbHzcpDq3mOv9Df` |
| [Houzz Professionals Directory](https://apify.com/mambalabs/houzz-professionals?fpr=mamba) | `gv0DatXK2mOidqKLe` |
| [HubSpot and Salesforce Partner Directory](https://apify.com/mambalabs/hubspot-salesforce-partner-directory?fpr=mamba) | `wcTpF7BuFVPV4H9V1` |
| [ICP Fit Scorer](https://apify.com/mambalabs/icp-account-lead-scoring-fit-scorer-0-100-for-clay?fpr=mamba) | `W161DT8W4kW55dMFh` |
| [Image and PDF OCR](https://apify.com/mambalabs/image-pdf-ocr?fpr=mamba) | `cu2QyC8rn484D3A56` |
| [India MCA Company Data](https://apify.com/mambalabs/india-mca-company-data?fpr=mamba) | `0rMHHRAFR5rxjhzNQ` |
| [Influencer Change Monitor](https://apify.com/mambalabs/creator-change-monitor?fpr=mamba) | `d2VVgahNL6UmcLkhg` |
| [Influencer Lead List Builder](https://apify.com/mambalabs/creator-lead-list-all-in-one?fpr=mamba) | `KnmByszcv135yM30G` |
| [Influencer Profile Scraper](https://apify.com/mambalabs/creator-profile-reader?fpr=mamba) | `EqEnklDVMIcB1V499` |
| [Influencer Search Across TikTok, Instagram and YouTube](https://apify.com/mambalabs/creator-finder?fpr=mamba) | `tpkedmloIIWtXx6sg` |
| [Influencer Talent Agency Lookup](https://apify.com/mambalabs/talent-agency-lookup?fpr=mamba) | `zCuX4Mgyg6JvXgGzd` |
| [Instagram Facebook Brand Presence Mapper](https://apify.com/mambalabs/meta-brand-presence-mapper?fpr=mamba) | `HXh65I0JBjPsunbY8` |
| [Integration and Marketplace Presence Mapper](https://apify.com/mambalabs/integration-marketplace-presence-mapper?fpr=mamba) | `V0guNuvM85Q61f2gj` |
| [Job Board Keyword Signal Scanner](https://apify.com/mambalabs/job-board-keyword-signal-scanner?fpr=mamba) | `4DvqpvhMR74NLcDDY` |
| [Job Posting Liveness Checker](https://apify.com/mambalabs/job-posting-liveness-checker?fpr=mamba) | `qRI0ohsnkCwLeDKtw` |
| [Job Posting Monitor](https://apify.com/mambalabs/gtm-job-discovery?fpr=mamba) | `QCfICD9kOPiOdj5iI` |
| [Journalist and Media List Builder](https://apify.com/mambalabs/journalist-media-list-builder?fpr=mamba) | `mAfizsZC8qRoR0ecS` |
| [Keepa Price History](https://apify.com/mambalabs/keepa-price-history?fpr=mamba) | `aGNyKJMVbwJQHVqgx` |
| [Kick Channels, Streams, and Clips](https://apify.com/mambalabs/kick-channels-streams?fpr=mamba) | `REl7yEdagIx2YvoQU` |
| [Launch Directory List Builder](https://apify.com/mambalabs/launch-directory-list-builder?fpr=mamba) | `cRq3bmvEZxZtioQ7U` |
| [Lead File Import Checker](https://apify.com/mambalabs/lead-file-import-checker?fpr=mamba) | `RwlGVXTf46LqZdUgt` |
| [Legal Entity Resolver](https://apify.com/mambalabs/legal-entity-resolver?fpr=mamba) | `KHFyPCDIx7CyqULYm` |
| [Likee Creator Profiles and Videos](https://apify.com/mambalabs/likee-creators-videos?fpr=mamba) | `PpIDC7DFW6023SNoG` |
| [Link in Bio Scraper and Newsletter Detector](https://apify.com/mambalabs/link-in-bio-newsletter-checker?fpr=mamba) | `OorucdheTIgu7RFzK` |
| [LinkedIn Company Page Details](https://apify.com/mambalabs/linkedin-company-page-details?fpr=mamba) | `N9rfy1Cj2FRTOawvx` |
| [LinkedIn Company Page Mapper](https://apify.com/mambalabs/linkedin-company-presence-mapper?fpr=mamba) | `zOPm6A9JEhUGcIdFW` |
| [LinkedIn Jobs Feed](https://apify.com/mambalabs/linkedin-jobs-feed?fpr=mamba) | `SH6N0d8cz46BhCC8B` |
| [LinkedIn Post Tracker](https://apify.com/mambalabs/linkedin-post-engager-capture?fpr=mamba) | `oiGLNPuaf5BRaz9K5` |
| [Local Business Lead Builder](https://apify.com/mambalabs/local-business-lead-builder?fpr=mamba) | `qMN97aoHhsAS5bznV` |
| [Local Rank and Map Pack Tracker](https://apify.com/mambalabs/local-rank-map-pack-tracker?fpr=mamba) | `gv0kyHGDIg8XscclB` |
| [Lookalike Companies from Seed Domains](https://apify.com/mambalabs/lookalike-company-finder?fpr=mamba) | `e2O426WBAbLLQL4Z2` |
| [Luma Events Scraper](https://apify.com/mambalabs/luma-events-scraper?fpr=mamba) | `j1wGSJAFrlfe3VqFz` |
| [Manufacturer and Supplier Finder](https://apify.com/mambalabs/manufacturer-supplier-finder?fpr=mamba) | `Qcsdmd0lUfPzVkonh` |
| [MCP Server Change and Health Monitor](https://apify.com/mambalabs/mcp-server-change-health-monitor?fpr=mamba) | `IeqjWF9U0BdDQFY08` |
| [Media URL Transcriber](https://apify.com/mambalabs/media-url-transcriber?fpr=mamba) | `Syfr7Ya3EsHgWfrB6` |
| [Medium Articles Scraper](https://apify.com/mambalabs/medium-articles-scraper?fpr=mamba) | `vw3X3RXnB353CXdxC` |
| [Meta Ad Library Ads by Company, Graph API](https://apify.com/mambalabs/meta-ad-library-monitor?fpr=mamba) | `J1GWlSXfSGU3u8Wng` |
| [Mobile Phone Waterfall](https://apify.com/mambalabs/mobile-phone-waterfall-orchestrator?fpr=mamba) | `6OOgPktf7RIa5XCOP` |
| [Moz Domain Authority Checker](https://apify.com/mambalabs/moz-domain-authority-checker?fpr=mamba) | `VhnN084JWsnkohAKm` |
| [Multi Platform Social Posts and Comments](https://apify.com/mambalabs/multi-platform-social-posts-comments?fpr=mamba) | `icFuHR1EzDvUcfCQ5` |
| [Naver Blog Search](https://apify.com/mambalabs/naver-blog-search?fpr=mamba) | `wBoNdClM1j37oxis5` |
| [Netherlands Rental Listings](https://apify.com/mambalabs/dutch-rental-listings?fpr=mamba) | `sGKGsbwoX18lFb6dR` |
| [New Hire Finder](https://apify.com/mambalabs/new-hire-finder?fpr=mamba) | `cKuc38p4nYHNF3IW8` |
| [Newly Registered Companies, UK, Norway, Finland, France](https://apify.com/mambalabs/new-company-registrations-feed?fpr=mamba) | `g2WfZhWvCtc57g2Jo` |
| [News and Media Mention Monitor](https://apify.com/mambalabs/news-media-mention-monitor?fpr=mamba) | `gol1PPUKrsIk4QLBd` |
| [News Site Article Archive](https://apify.com/mambalabs/news-site-article-archive?fpr=mamba) | `NjcF3UD8791raFNHh` |
| [Newsletter Sponsor Tracker](https://apify.com/mambalabs/newsletter-sponsor-tracker?fpr=mamba) | `qSwpqxD1TiPZpLQHv` |
| [Open Tender and RFP Finder](https://apify.com/mambalabs/open-tender-rfp-finder?fpr=mamba) | `kPTGz6t6TFoUUyfaO` |
| [Outbound Stack Detector](https://apify.com/mambalabs/outbound-infrastructure-fingerprint?fpr=mamba) | `v43UJC8r7qW7cBSTG` |
| [Page Finder and Extractor](https://apify.com/mambalabs/page-finder-extractor?fpr=mamba) | `TpurgcOZbVnknlaiC` |
| [PageSpeed Insights Bulk Audit](https://apify.com/mambalabs/pagespeed-insights-bulk-audit?fpr=mamba) | `mEbdfpzHm4j7Rh8YZ` |
| [Partner and Member Directory Extractor](https://apify.com/mambalabs/partner-member-directory-extractor?fpr=mamba) | `ZX0XJPPUvnFJxeC1a` |
| [People Finder & Email Verifier](https://apify.com/mambalabs/people-finder?fpr=mamba) | `LEgloG7tWgQl4o6TD` |
| [Perplexity Answer Reader](https://apify.com/mambalabs/perplexity-answer-reader?fpr=mamba) | `FUbX5uEE2C2jOl2xC` |
| [Person LinkedIn URL Resolver](https://apify.com/mambalabs/person-linkedin-url-resolver?fpr=mamba) | `ssuyPV8LnEsL8qbnb` |
| [Person Social Footprint Mapper](https://apify.com/mambalabs/person-social-footprint-mapper?fpr=mamba) | `jfQXa2zW9FHCJot9K` |
| [Personal Email to Company Resolver](https://apify.com/mambalabs/personal-email-to-company-resolver?fpr=mamba) | `AefT5Ye6YNPFQwJBf` |
| [Pinterest Brand Presence Mapper](https://apify.com/mambalabs/pinterest-brand-presence-mapper?fpr=mamba) | `d1HvjZfKhgvWsoEwn` |
| [Podcast Guest and Host Finder](https://apify.com/mambalabs/podcast-guest-host-finder?fpr=mamba) | `o2MGSvgbSLeeXOsIo` |
| [Podcast Ratings and Chart Ranks](https://apify.com/mambalabs/podcast-ratings-chart-ranks?fpr=mamba) | `F9xfyNI53hoxFWi0o` |
| [Private Company Funding History](https://apify.com/mambalabs/private-company-funding-history?fpr=mamba) | `H02K3rQIVOYpnLYc3` |
| [Product Hunt Daily Launches with Maker Domains](https://apify.com/mambalabs/product-hunt-launches-feed?fpr=mamba) | `O4VX63drWK9Y9x641` |
| [Property Owner Records](https://apify.com/mambalabs/property-owner-records?fpr=mamba) | `0J7ovG1iaZpQD1P0T` |
| [Prospect Engine](https://apify.com/mambalabs/b2b-prospect-engine?fpr=mamba) | `q9rT6v64nUJdPexOQ` |
| [Public Feature Board and Roadmap Monitor](https://apify.com/mambalabs/public-feature-board-roadmap-monitor?fpr=mamba) | `rcHF5gj5r2Vqnry35` |
| [Publishing Frequency Tracker](https://apify.com/mambalabs/blog-publishing-frequency?fpr=mamba) | `TbLwaUUATdYb6wp4N` |
| [Recent Funding Rounds Feed](https://apify.com/mambalabs/recent-funding-rounds-feed?fpr=mamba) | `KueVp9MOz7iOoAgDp` |
| [Reddit Brand Presence Mapper](https://apify.com/mambalabs/reddit-brand-presence-mapper?fpr=mamba) | `pKQZmDaT70SEb54bZ` |
| [Reddit Search and Thread Scraper](https://apify.com/mambalabs/reddit-search-thread-scraper?fpr=mamba) | `4Gsth5cP2Xt9V2xDN` |
| [Remote Job Boards Feed](https://apify.com/mambalabs/remote-job-boards-feed?fpr=mamba) | `VTGLcaqH4DUy8cmyz` |
| [Reporting Window Finder](https://apify.com/mambalabs/public-company-reporting-window-finder?fpr=mamba) | `uINxR7a1IW8qUTRUX` |
| [Research Topic Institutions and Authors](https://apify.com/mambalabs/research-topic-institutions-authors?fpr=mamba) | `OH8ANqt7bCKbo72Gk` |
| [Sanctions List Screening](https://apify.com/mambalabs/sanctions-list-screening?fpr=mamba) | `TbMlHCgvcP6d8SeTS` |
| [SEC EDGAR Filings Search](https://apify.com/mambalabs/sec-edgar-filings-search?fpr=mamba) | `UyUhxjv5kx1bLhSlu` |
| [SEC Form 4 Insider Trades](https://apify.com/mambalabs/sec-form4-insider-trades?fpr=mamba) | `hUzHrDz8oLjaSRiHc` |
| [Semrush Domain Metrics](https://apify.com/mambalabs/semrush-domain-metrics?fpr=mamba) | `3dqa0abJrpssHtrYL` |
| [Sequencer Event Poller](https://apify.com/mambalabs/sequencer-event-poller?fpr=mamba) | `S6s8Rjd61tGdrMRk4` |
| [Sequencer Lead Push](https://apify.com/mambalabs/clay-to-instantly-smartlead-push?fpr=mamba) | `0Jv27VeWM5tSZQs9x` |
| [Shopify App Store and Chrome Web Store Listings](https://apify.com/mambalabs/shopify-app-store-chrome-web-store-listings?fpr=mamba) | `gaY0BzkLyN77mD3wI` |
| [Site Crawler for Links and Tables](https://apify.com/mambalabs/site-crawler-links-tables?fpr=mamba) | `lLLJ6JxZ4XqN8ULz0` |
| [Spain Company Directory](https://apify.com/mambalabs/spain-company-directory?fpr=mamba) | `Q6gYdBSfcBh2Rwr99` |
| [Sports Scores and Fixtures](https://apify.com/mambalabs/sports-scores-fixtures?fpr=mamba) | `yLoRnLcvqptp08cvX` |
| [Streaming Subscription Prices by Country](https://apify.com/mambalabs/streaming-subscription-prices-by-country?fpr=mamba) | `tbMroS2Zyn57bW17E` |
| [Substack Newsletter and Posts Scraper](https://apify.com/mambalabs/substack-scraper?fpr=mamba) | `UEFsdwiPLmPNVy9xd` |
| [Tatoeba Sentences and Audio](https://apify.com/mambalabs/tatoeba-sentences?fpr=mamba) | `TmpWwlIBwwo55CHQX` |
| [TCGplayer Card Prices](https://apify.com/mambalabs/tcgplayer-card-prices?fpr=mamba) | `SMpFkXjlyaywe7VFR` |
| [Team Page People Extractor](https://apify.com/mambalabs/team-page-people-extractor?fpr=mamba) | `j8a9zX0k4mNbvDbWK` |
| [Tech Stack Signal Detector](https://apify.com/mambalabs/gtm-tech-stack-signal-scraper?fpr=mamba) | `qyd7nNyqFPelQViBx` |
| [Telegram Channel Messages](https://apify.com/mambalabs/telegram-channel-messages?fpr=mamba) | `Kr0zhiIG8Qk3ibKer` |
| [Tennis Match Data](https://apify.com/mambalabs/tennis-match-data?fpr=mamba) | `v3OX6zxXHZOf2yurO` |
| [Threads Posts by Keyword, Exact Match](https://apify.com/mambalabs/threads-keyword-search?fpr=mamba) | `2OT8K8RiEEWtaj2MW` |
| [Threads Profile and Posts](https://apify.com/mambalabs/threads-profile-posts?fpr=mamba) | `MbwVXjHdBt01kr2aF` |
| [Ticketmaster Event Prices](https://apify.com/mambalabs/ticketmaster-event-prices?fpr=mamba) | `CrvPX4IwLXQX9bls1` |
| [TikTok Brand Presence Mapper](https://apify.com/mambalabs/tiktok-brand-presence-mapper?fpr=mamba) | `fco8FvoJcSafbeyd1` |
| [TikTok Shop Products](https://apify.com/mambalabs/tiktok-shop-products?fpr=mamba) | `aRkzO8JUEJ0WLEy14` |
| [TikTok Video Stats](https://apify.com/mambalabs/tiktok-video-stats?fpr=mamba) | `uz9Q3cEycRgA6NfqA` |
| [Trustpilot Reputation Enricher](https://apify.com/mambalabs/review-platform-reputation-enricher?fpr=mamba) | `3lIqfCt61j4hqE1xz` |
| [UK Companies House Lookup](https://apify.com/mambalabs/uk-companies-house-lookup?fpr=mamba) | `ysga0Ewg5JTe04GaA` |
| [US and UK Contract Award Winners by Company](https://apify.com/mambalabs/public-award-monitor?fpr=mamba) | `zhEtllASykOcx9hJ8` |
| [US Building Permits](https://apify.com/mambalabs/us-building-permits?fpr=mamba) | `5xdw349kSjiLLXllv` |
| [US Import Records Buyer Finder](https://apify.com/mambalabs/us-import-records-buyer-finder?fpr=mamba) | `VIMafpKF5ggOw0COU` |
| [VC and Accelerator Portfolio List Builder](https://apify.com/mambalabs/vc-accelerator-portfolio-list-builder?fpr=mamba) | `chH8hrfuoqqolW06m` |
| [Wayback Machine Snapshots](https://apify.com/mambalabs/wayback-machine-snapshots?fpr=mamba) | `j4XNxd1yyvndqCJe6` |
| [Website Accessibility Checker, WCAG 2.2 AA](https://apify.com/mambalabs/wcag-accessibility-audit?fpr=mamba) | `P3jBj3FRghKEhX52z` |
| [Website Logo Finder](https://apify.com/mambalabs/website-logo-finder?fpr=mamba) | `jiPsXBQb3AwhTcJyi` |
| [Website Phrase and Business Model Classifier](https://apify.com/mambalabs/website-phrase-business-model-classifier?fpr=mamba) | `CBuZ9k7sRwBeiKiCS` |
| [Website Screenshot Capture](https://apify.com/mambalabs/website-screenshot-capture?fpr=mamba) | `nWd9M6qngY0sFiM8N` |
| [Website Traffic Rank Estimator](https://apify.com/mambalabs/website-traffic-rank-estimator?fpr=mamba) | `GnOFUzlNVIoXgeJjH` |
| [Work Email Waterfall](https://apify.com/mambalabs/email-waterfall-orchestrator?fpr=mamba) | `OT6xqTFThC0Rjf7Zj` |
| [Workplace Program Detector](https://apify.com/mambalabs/workplace-program-detector?fpr=mamba) | `Li6pPDhqbdzFz3h7G` |
| [X Brand Presence Mapper](https://apify.com/mambalabs/x-brand-presence-mapper?fpr=mamba) | `oLOgadhHUkNAyDA3w` |
| [XING Jobs Scraper](https://apify.com/mambalabs/xing-jobs-scraper?fpr=mamba) | `GLceikOabe2bk8cRR` |
| [Y Combinator Startup Jobs](https://apify.com/mambalabs/yc-startup-jobs?fpr=mamba) | `dKhUjewBbzfN7Crt9` |
| [Yahoo Finance Quotes and Fundamentals](https://apify.com/mambalabs/yahoo-finance-quotes-fundamentals?fpr=mamba) | `ZX7JsMAOv3FNw8yjG` |
| [YouTube Channel and Video List Scraper](https://apify.com/mambalabs/youtube-video-channel-scraper?fpr=mamba) | `txaAjeBqgj5MStFE4` |
| [YouTube Channel Email Finder](https://apify.com/mambalabs/youtube-channel-email-finder?fpr=mamba) | `IDgKZcmeeuunUbccN` |
| [YouTube Channel from Company Domain](https://apify.com/mambalabs/youtube-channel-transcript-extractor?fpr=mamba) | `6hSpD3kd2s2IQ4VSs` |
| [YouTube Keyword Suggestions](https://apify.com/mambalabs/youtube-keyword-suggestions?fpr=mamba) | `3WH3MK5A9TocBqYZq` |
| [YouTube Shorts Scraper](https://apify.com/mambalabs/youtube-shorts-scraper?fpr=mamba) | `jUTHnhThr8jaI5ZQS` |
| [Zillow Listing Details](https://apify.com/mambalabs/zillow-listing-details?fpr=mamba) | `yG4zM0Enfsw2NefJ1` |

Built by [Mamba Labs](https://apify.com/mambalabs).

# Actor input Schema

## `urls` (type: `array`):

Web addresses of PNG, JPEG, GIF, WebP, BMP, or TIFF images, or PDF files, up to 30 MB each. The address must answer without a login. In Clay, put the column in a one item list.

## `language` (type: `string`):

Language of the text: eng (default), deu, fra, spa, nld, ita, or por. One language per run; run files in another language as a separate run.

## `page_layout` (type: `string`):

auto (default) finds columns and blocks, which suits letters, articles, and scans. block reads the page as one block of text. sparse finds scattered text, which suits receipts, forms, signs, and screenshots.

## `max_pages_per_file` (type: `string`):

Pages to read per PDF, from page 1, up to 100. Default 10. This caps the charge per file.

## `use_pdf_text_layer` (type: `string`):

yes (default): a PDF page that already holds text is read from that text, charged as page-text, which is cheaper and exact. no: every page is read by OCR and charged as page-ocr.

## `max_files` (type: `string`):

Files to read in this run, up to 1,000. Default 100.

## `max_charge_usd` (type: `string`):

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned.

## `source_tag` (type: `string`):

Internal attribution tag. Leave empty.

## Actor input object example

```json
{
  "urls": [
    "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif"
  ],
  "language": "eng",
  "page_layout": "auto",
  "max_pages_per_file": "10",
  "use_pdf_text_layer": "yes",
  "max_files": "100"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `run_summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif"
    ],
    "max_pages_per_file": "10"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mambalabs/image-pdf-ocr").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif"],
    "max_pages_per_file": "10",
}

# Run the Actor and wait for it to finish
run = client.actor("mambalabs/image-pdf-ocr").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif"
  ],
  "max_pages_per_file": "10"
}' |
apify call mambalabs/image-pdf-ocr --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mambalabs/image-pdf-ocr"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cu2QyC8rn484D3A56/builds/PLdK90n3Srjisb2j4/openapi.json
