REST API
Developer API
Integrate OCR, image translation, and AI prompt generation directly into your app. Simple HTTP endpoints, JSON responses, and a free tier to get started — no API key required.
<2s response time Images never stored JSON responses
Quick Start
No API key needed for free tier — just send a multipart/form-data POST with your image file.
bash
curl -X POST https://imagetotext.click/api/extract-text \
-F "image=@your-image.jpg"
# Response:
# { "text": "All text extracted from the image..." }API Endpoints
POST
/api/extract-textExtract all readable text from an image (OCR).
Request body
multipart/form-data: image (file)Response
{ "text": "Extracted text content..." }Example
curl -X POST https://imagetotext.click/api/extract-text \ -F "image=@photo.jpg"
POST
/api/translate-imageExtract text from an image and translate it to a target language.
Request body
multipart/form-data: image (file), targetLang (string, e.g. "fr")Response
{ "original": "Hello world", "translated": "Bonjour le monde" }Example
curl -X POST https://imagetotext.click/api/translate-image \ -F "image=@photo.jpg" \ -F "targetLang=fr"
GET
/api/usageGet current usage statistics for the authenticated user.
Request body
None (requires session cookie or Authorization header)Response
{ "count": 3, "limit": 10, "plan": "free" }Example
curl https://imagetotext.click/api/usage \ -H "Authorization: Bearer YOUR_TOKEN"
Rate Limits
Limits reset daily at midnight UTC.
| Plan | Daily Limit | Notes |
|---|---|---|
| Free | 5 requests/day | No API key required, browser session |
| Pro | 100 requests/day | API token, priority processing |
| Team | 500 requests/day | Shared token, usage analytics |
| Enterprise | Unlimited | Custom integration, SLA, dedicated support |
Error Codes
| HTTP | Code | Meaning |
|---|---|---|
| 400 | INVALID_IMAGE | File is not a supported image format. |
| 402 | NO_CREDITS | Daily limit reached. Upgrade or wait until midnight UTC. |
| 413 | FILE_TOO_LARGE | Image exceeds the 5 MB size limit. |
| 429 | DAILY_LIMIT | Rate limit exceeded for this session. |
| 500 | AI_ERROR | Upstream AI model error. Retry after a moment. |
Supported Translation Languages
Pass the language code in the targetLang field.
English (en)French (fr)Spanish (es)German (de)Italian (it)Portuguese (pt)Dutch (nl)Russian (ru)Japanese (ja)Chinese Simplified (zh)Korean (ko)Arabic (ar)Hindi (hi)Turkish (tr)Polish (pl)Swedish (sv)Norwegian (no)Danish (da)Finnish (fi)Greek (el)Czech (cs)Romanian (ro)Hungarian (hu)Thai (th)Vietnamese (vi)Indonesian (id)Hebrew (he)Ukrainian (uk)
Need Higher Limits or a Dedicated Key?
Upgrade to Pro or Team for API tokens, priority processing, and higher daily limits. Enterprise plans include custom integrations and SLA guarantees.