OCR Text Extraction API — Image to Text avatar

OCR Text Extraction API — Image to Text

Pricing

from $5.00 / 1,000 results

Go to Apify Store
OCR Text Extraction API — Image to Text

OCR Text Extraction API — Image to Text

Extract text from images with OCR in multiple languages and image formats. Send an image, get the recognized text back — ideal for digitizing documents, receipts, screenshots, and scans.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Fabio Suizu

Fabio Suizu

Maintained by Community

Actor stats

0

Bookmarked

21

Total users

1

Monthly active users

4 days ago

Last modified

Share

OCR - Text Extraction

Extract text from images using advanced OCR. Supports multiple languages and formats.

Features

  • Fast Processing: Lightning-fast ocr - text extraction powered by Azure
  • Reliable: 99.9% uptime with automatic failover
  • Scalable: Handle single requests or bulk operations
  • Secure: Enterprise-grade security with API key authentication
  • Well Documented: Comprehensive API documentation and examples

Use Cases

  • E-commerce: Process product images at scale
  • Media: Automate image processing pipelines
  • Apps: Add image processing to your applications

Input Parameters

ParameterTypeRequiredDescription
imageUrlstringNoURL of the image to extract text from
imageUrlsarrayNoArray of image URLs for batch processing
languagestringNoExpected language (auto-detect if not specified)
outputFormatstringNoOutput format for extracted text

Output Format

{
"success": true,
"result": { ... },
"timestamp": "2026-01-07T00:00:00Z"
}

Code Examples

JavaScript (Node.js)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const input = {
"imageUrl": "example_imageUrl",
"imageUrls": [],
"language": "auto",
"outputFormat": "text"
};
const run = await client.actor("vivid_astronaut/ocr").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run_input = {
"imageUrl": "example_imageUrl",
"imageUrls": [],
"language": "auto",
"outputFormat": "text"
}
run = client.actor("vivid_astronaut/ocr").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

cURL

curl -X POST "https://api.apify.com/v2/acts/vivid_astronaut~ocr/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"imageUrl": "example_imageUrl",
"imageUrls": [],
"language": "auto",
"outputFormat": "text"
}'

Pricing

Model: Pay per result Price: $0.020 per result

You only pay for successful results. Platform usage costs are included.

API Documentation

Full API documentation is available at:

Support

Version History

See ./CHANGELOG.md for version history.


Powered by Azure Cloud Infrastructure