Developer API
Image to Text API Documentation
Integrate powerful OCR capabilities into your applications
Fast & Accurate
High-precision OCR with sub-second response times
Easy Integration
Simple REST API with comprehensive documentation
Secure
API key authentication with rate limiting
Authentication
All API requests require authentication using an API key. Include your API key in the request header:
x-api-key: YOUR_API_KEY
API access is available for Pro and Enterprise plans. Upgrade your plan to get your API key.
OCR Endpoint
POST
/api/v1/ocrRequest Headers
| Header | Required | Description |
|---|---|---|
| x-api-key | Required | Your API key |
| Content-Type | Required | multipart/form-data or application/json |
Request Body
| Parameter | Type | Description |
|---|---|---|
| image | File / String | Image file or base64 data URL |
| language | String | Language code (default: eng). Options: eng, chi_sim, chi_tra, jpn, kor, etc. |
Response
{
"success": true,
"data": {
"text": "Extracted text content...",
"confidence": 0.95,
"language": "eng"
},
"usage": {
"credits_used": 1
}
}Code Examples
curl -X POST https://your-domain.com/api/v1/ocr \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: multipart/form-data" \ -F "image=@/path/to/image.jpg" \ -F "language=eng"
Rate Limits
| Plan | Requests/Day | Max File Size |
|---|---|---|
| Pro | 500 | 50 MB |
| Enterprise | Unlimited | 100 MB |