🔎 Smart OCR · Data / AI

Extract text from any image — plain or layout-aware Markdown.

Turn any photo, scan, or screenshot into clean text in one call. Handles printed and handwritten text and multiple languages. Switch on Markdown mode to preserve document structure — headings, bullet/numbered lists, and tables — ideal for digitizing documents, forms, and whiteboards.

Why use it

🖼️ Any image in, text out

Printed or handwritten — photos, scans, screenshots, and documents.

🧱 Markdown mode

Set "format":"markdown" to keep headings, lists, and tables as real Markdown.

🌍 Multilingual

Auto-detects the language, or pass a language hint.

⚡ Fast & clean

Returns just the text plus character and word counts — no clutter.

💸 Priced to scale

Generous quotas built for high-volume, commodity OCR workloads.

⚙️ On-prem inference

Runs on our own GPU — private, reliable, priced low because our cost is low.

Endpoint

POST /v1/ocr
FieldTypeRequiredDescription
image_urlstringone of url/b64Public URL of the image.
image_b64stringone of url/b64Base64 image bytes (or a data: URI).
formatstringoptionaltext (plain, default) or markdown (layout-aware).
languagestringoptionalLanguage hint (e.g. en, es); blank = auto.

Example

Request
curl -X POST \
  "https://smart-ocr-image-document-to-text.p.rapidapi.com/v1/ocr" \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: smart-ocr-image-document-to-text.p.rapidapi.com" \
  -d '{
    "image_url": "https://example.com/document.jpg",
    "format": "markdown"
  }'
Response
{
  "text": "# Quarterly Report\n\n| Item | Q1 | Q2 |\n|------|----|----|\n| Revenue | 12 | 15 |",
  "format": "markdown",
  "char_count": 78,
  "word_count": 12
}

Pricing

PlanPrice / moQuotaOverage
Basic$0100 req/mo
Propopular$9.995,000 req/mo$0.0015/req
Ultra$24.9925,000 req/mo$0.001/req
Mega$79150,000 req/mo$0.0006/req
Grab a free key on RapidAPI →