🚀 Early Adopters Release - Free + Enterprise Available

OCR API Documentation

Complete integration guide for OCR document processing

Quick Start

Get Started in 3 Steps
Start using Ainova Systems APIs in minutes
1

Sign up and get your API key

Create an account and generate your API key from the dashboard.

2

Make your first OCR call

Submit a document for text extraction using our OCR API.

3

Integrate into your application

Use direct HTTP calls to process documents in your preferred language.

Authentication

API Key Authentication
All requests require authentication via API key

Include your API key in the Authorization header:

Authorization: Bearer your_api_key_here

API Reference

OCR API
Extract text from documents and images

Base URL

https://api.ainova.systems/api/v1/ocr

Key Features

  • Multiple input methods: file upload, base64, URL
  • 60+ languages, multiple output formats
  • Webhook support and real-time processing
  • Priority job processing and expiry control
View Full OCR Docs

Error Codes

400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
403Forbidden - Insufficient plan permissions
429Rate Limited - Too many requests
500Server Error - Internal error

Code Examples (OCR API)

JavaScript
import fs from 'fs';

const formData = new FormData();
formData.append('file', new Blob([fs.readFileSync('input.pdf')], {type: 'application/pdf'}), 'input.pdf');
formData.append('languages', 'en');
formData.append('outputs', 'text');
formData.append('response', 'direct');

const response = await fetch('https://api.ainova.systems/api/v1/ocr/submit-file', {
  method: 'POST',
  headers: {'Authorization': 'Bearer put-your-token-here'},
  body: formData
});

const result = await response.json();
console.log(result);
cURL
curl -X POST "https://api.ainova.systems/api/v1/ocr/submit-file" \
  -H "Authorization: Bearer put-your-token-here" \
  -F "file=@input.pdf;type=application/pdf" \
  -F "languages=en" \
  -F "outputs=text" \
  -F "response=direct"

Ready to get started?

Sign up for free and start building with OCR API