OCR Image to Text
Extract text from images using Tesseract OCR. Send image as image_base64 (PNG/JPEG/WebP/TIFF/BMP, max 10 MB decoded). Returns text and confidence (0-100, where 80+ is reliable). Set language to Tesseract code: 'eng' (default), 'deu' (German), 'fra' (French), 'chi_sim' (Chinese Simplified), 'jpn' (Japanese), 'ara' (Arabic). Use for invoices, receipts, scanned documents, or screenshots with text.
Offering
- Provider
- agentsvc.io
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- General Utilities
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agentsvc.io/api/v1/proxy/ocr- MIME type
- application/json
- First seen
- 2026-10-16T01:51:02.144Z
- Last seen
- Tags
- image-to-text, text-recognition, ocr, image, Text
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.009 USDC
Atomic price: 9000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.009 USDC
Atomic price: 9000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact - Payment option 3
- 0.009 USDC
Atomic price: 9000 · Network: eip155:137 · Asset: USDC · Scheme: exact - Payment option 4
- 0.009 USDC
Atomic price: 9000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "9000",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "9000",
"payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "9000",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "9000",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
}
]Observed health
- Status
- Healthy
- Latest latency
- 313 ms
- Average latency
- 631 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH"
]
},
"bodyType": {
"type": "string",
"enum": [
"json",
"form-data",
"text"
]
},
"body": {
"properties": {
"image_base64": {
"type": "string",
"description": "Base64-encoded image. Supported formats: PNG, JPEG, WebP, TIFF, BMP. Max 10 MB decoded. For best results use high-contrast images with clear text."
},
"language": {
"type": "string",
"default": "eng",
"description": "Tesseract language code. Default: 'eng' (English). Other supported: 'deu' (German), 'fra' (French), 'spa' (Spanish), 'ita' (Italian), 'por' (Portuguese), 'rus' (Russian), 'chi_sim' (Chinese Simplified), 'jpn' (Japanese), 'ara' (Arabic), 'kor' (Korean), 'nld' (Dutch), 'pol' (Polish). Use '+' to combine: 'eng+deu'."
},
"psm": {
"type": "integer",
"default": 3,
"description": "Page Segmentation Mode. 3 = fully automatic (default, best for most images). 6 = single uniform block of text. 7 = single text line. 11 = sparse text (find text anywhere). 13 = raw line (no line ordering). Use 6 or 7 for forms/labels."
}
},
"required": [
"image_base64"
]
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"success",
"data"
],
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"required": [
"text",
"confidence",
"language",
"processed_at"
],
"properties": {
"text": {
"type": "string",
"description": "Full extracted text from the image, with line breaks preserved"
},
"confidence": {
"type": "number",
"description": "Overall OCR confidence score (0-100). Above 70 is considered reliable."
},
"language": {
"type": "string",
"description": "Language code used for recognition"
},
"word_count": {
"type": "integer",
"description": "Number of words extracted"
},
"char_count": {
"type": "integer",
"description": "Number of characters extracted (excluding whitespace)"
},
"processing_ms": {
"type": "integer",
"description": "Time taken for OCR processing in milliseconds"
},
"processed_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp"
}
}
}
}
}
},
"required": [
"type"
]
}