Home/APIs/OCR Wizard
NLP / VisionFree tier available

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.

Input ImageEnglish
Handwritten Text — input
OCR ResultExtracted
Handwritten Text — result

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

multipart/form-dataapplication/x-www-form-urlencoded
POSThttps://ocr-wizard.p.rapidapi.com/ocr

Extract text from an image. Returns full text, detected language, and word-level annotations with bounding boxes.

imagefilerequired

Image file to process (JPEG, PNG, etc.) — use with multipart/form-data

urlstringrequired

Public URL of the image to process — use with application/x-www-form-urlencoded

Send either image (file upload) or url (form-encoded), not both.

Response Schema
{
  "statusCode": 200,
  "body": {
    "fullText": "The full extracted text...",
    "detectedLanguage": "en",
    "annotations": [
      {
        "text": "word",
        "boundingPoly": [
          [x1, y1], [x2, y2], [x3, y3], [x4, y4]
        ]
      }
    ]
  }
}
POSThttps://ocr-wizard.p.rapidapi.com/ocr-pdf

Extract text from a PDF document. Returns per-page results with full text, detected language, and word-level annotations.

pdf_filefilerequired

The PDF file to process

first_pageinteger

First page to process. Default: 1

last_pageinteger

Last page to process. Default: 1

Use first_page and last_page to control the page range for large PDFs.

Response Schema
{
  "statusCode": 200,
  "body": {
    "pages": [
      {
        "fullText": "Text from page 1...",
        "detectedLanguage": "en",
        "annotations": [
          {
            "text": "word",
            "boundingPoly": [
              [x1, y1], [x2, y2], [x3, y3], [x4, y4]
            ]
          }
        ]
      }
    ]
  }
}

Response

200

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.

Free

Basic

$0Free

30 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

5,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$22.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$92.99/mo

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.