API for Developers & AI Agents

Send a screenshot or a URL.
Get back all the text.

Upload an image or send a URL. We render the page, take a screenshot, and return every readable word as plain text. $0.01 per extraction.

From Image
From URL
Python
Response
# Send a screenshot, get back the text
curl -X POST https://api.image2text.dev/api/v1/extract \
  -H "X-API-Key: i2t_live_YOUR_KEY" \
  -F "file=@screenshot.jpg"

Quick Start

1

Register

POST /api/v1/auth/register with your email. You'll get a 6-digit verification code.

2

Verify & Get API Key

POST /api/v1/auth/verify with the code, then POST /api/v1/auth/api-key. You get 5 free credits.

3

Extract Text

POST /api/v1/extract with an image file, or POST /api/v1/extract/url with a URL. We handle both.

How It Works

Two Ways In

Upload a screenshot, or send a URL. If you send a URL, we render the page in a headless browser, take a viewport screenshot, and extract the text.

Pay Per Extraction

$0.01 per extraction. If it fails, the credit is automatically refunded. You only pay for text we return.

Any Image Format

JPEG, PNG, WebP, TIFF, BMP. Up to 20MB per image. For URLs, we render at 1440x900 and capture above the fold.

Plain Text Output

Every readable word extracted and returned as plain text. Character count and line count included. No markup, no interpretation.

Pricing

Simple. No tiers. No subscriptions. Buy credits, use them whenever.

$1
100 images

$0.01 each

$10
1,000 images

$0.01 each

$100
10,000 images

$0.01 each

5 free credits on signup. Failed extractions are automatically refunded.

API Endpoints

Text Extraction

MethodEndpointCostDescription
POST/api/v1/extract1 creditExtract text from an uploaded image
POST/api/v1/extract/url1 creditExtract text from a URL. Pass "full_page": true for entire page.

Authentication

MethodEndpointCostDescription
POST/api/v1/auth/registerFreeCreate account
POST/api/v1/auth/verifyFreeVerify email
POST/api/v1/auth/api-keyFreeGenerate API key

Account & Credits

MethodEndpointCostDescription
GET/api/v1/accountFreeView balance and usage
GET/api/v1/credits/packsFreeList credit packs
POST/api/v1/credits/purchaseFreeBuy credits via Stripe

System

MethodEndpointCostDescription
GET/api/v1/healthFreeHealth check and Tesseract status

Full API reference: llms-full.txt · OpenAPI spec

For AI Agents

This site is designed for machine consumption. AI agents can discover and integrate with this API using these files: