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-text

Extract 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-image

Extract 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/usage

Get 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.

PlanDaily LimitNotes
Free5 requests/dayNo API key required, browser session
Pro100 requests/dayAPI token, priority processing
Team500 requests/dayShared token, usage analytics
EnterpriseUnlimitedCustom integration, SLA, dedicated support

Error Codes

HTTPCodeMeaning
400INVALID_IMAGEFile is not a supported image format.
402NO_CREDITSDaily limit reached. Upgrade or wait until midnight UTC.
413FILE_TOO_LARGEImage exceeds the 5 MB size limit.
429DAILY_LIMITRate limit exceeded for this session.
500AI_ERRORUpstream 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.