Extract text from images and PDFs with AI-powered OCR
The ultimate OCR API for text recognition from handwritten documents, scanned images, and PDF files. Supports all languages with high accuracy, low latency, and word-level bounding box annotations.
See It in Action
Real examples of text extraction from handwritten notes, printed documents, and multilingual content.


Features
All Languages
Supports every language on the planet — Latin, Arabic, Chinese, Cyrillic, Devanagari and more.
Handwriting Support
Accurately recognizes handwritten text from notes, forms, and documents.
PDF Processing
Extract text from PDF documents with page range control. Process single pages or entire documents.
Word-Level Annotations
Get bounding box coordinates for every detected word — perfect for overlay and highlighting.
Language Detection
Automatically detects the language of the text in each image or PDF page.
Fast & Reliable
Low latency, high availability cloud infrastructure. Production-ready for any workload.
API Reference
2 endpoints, simple integration. Here's everything you need.
Supported Content Types
https://ocr-wizard.p.rapidapi.com/ocrExtract text from an image. Returns full text, detected language, and word-level annotations with bounding boxes.
imagefilerequiredImage file to process (JPEG, PNG, etc.) — use with multipart/form-data
urlstringrequiredPublic URL of the image to process — use with application/x-www-form-urlencoded
Send either image (file upload) or url (form-encoded), not both.
{
"statusCode": 200,
"body": {
"fullText": "The full extracted text...",
"detectedLanguage": "en",
"annotations": [
{
"text": "word",
"boundingPoly": [
[x1, y1], [x2, y2], [x3, y3], [x4, y4]
]
}
]
}
}https://ocr-wizard.p.rapidapi.com/ocr-pdfExtract text from a PDF document. Returns per-page results with full text, detected language, and word-level annotations.
pdf_filefilerequiredThe PDF file to process
first_pageintegerFirst page to process. Default: 1
last_pageintegerLast page to process. Default: 1
Use first_page and last_page to control the page range for large PDFs.
{
"statusCode": 200,
"body": {
"pages": [
{
"fullText": "Text from page 1...",
"detectedLanguage": "en",
"annotations": [
{
"text": "word",
"boundingPoly": [
[x1, y1], [x2, y2], [x3, y3], [x4, y4]
]
}
]
}
]
}
}Response
Returns JSON with extracted text, detected language, and word-level annotations with bounding box coordinates.
Quick Start
Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.
# OCR from image file
curl -X POST "https://ocr-wizard.p.rapidapi.com/ocr" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: ocr-wizard.p.rapidapi.com" \
-F "image=@document.jpg"
# OCR from image URL
curl -X POST "https://ocr-wizard.p.rapidapi.com/ocr" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: ocr-wizard.p.rapidapi.com" \
-d "url=https://example.com/document.jpg"
# OCR from PDF (pages 1 to 3)
curl -X POST "https://ocr-wizard.p.rapidapi.com/ocr-pdf" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: ocr-wizard.p.rapidapi.com" \
-F "pdf_file=@document.pdf" \
-F "first_page=1" \
-F "last_page=3"Pricing
Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.
Basic
30 requests/mo
- Full API access
- All endpoints
- Standard support
Pro
5,000 requests/mo
- Full API access
- All endpoints
- Standard support
Ultra
10,000 requests/mo
- Full API access
- All endpoints
- Standard support
Mega
50,000 requests/mo
- Full API access
- All endpoints
- Standard support
Start Using OCR Wizard Today
Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.