# x402node OCR — Tesseract Image Text Extraction

> x402node OCR — Tesseract Image Text Extraction is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Runs Tesseract OCR on an image URL and returns extracted text with confidence score, supporting 8 languages

## Facts

- Endpoint: GET https://api.x402node.dev/image/ocr
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-8615632d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LRvucNt3Gv3871mM7URoc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-x402node-dev-8615632d
```

Example prompt: Can you extract all the text from this image — https://example.com/scan.jpg — using OCR? It's a scanned English document and I need the recognized text along with the confidence score.

## When to prefer this

Use this endpoint when you need to extract printed text from an image accessible via URL, especially screenshots, scanned documents, or photos of printed text. Ideal for AI agents needing to read screen captures or digitize documents without setting up their own OCR pipeline. Supports multilingual documents across 8 major languages.

## Known failure modes

- Image URL is unreachable or returns non-image content — OCR fails with error
- Unsupported language or low image quality produces low confidence or garbled text
- Handwritten text not well supported — Tesseract is optimized for printed text
- Very large images may time out or fail to process
- Payment not completed (x402) — endpoint returns 402 Payment Required

## How this service works

ocr image, image to text, OCR API, extract text from image, image OCR, tesseract OCR, optical character recognition, scan image to text, image text recognition, image to text converter, printed text OCR. Run Tesseract OCR on any image URL. Returns extracted text with confidence. Supports English Chinese Japanese Korean German French Spanish Italian. For AI agents reading screenshots scanned documents. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object containing the extracted text from the image and a confidence score indicating how reliable the recognition was. Supports English, Chinese, Japanese, Korean, German, French, Spanish, and Italian.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Target URL (required)"
      },
      "lang": {
       "type": "string",
       "description": "Lang (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-8615632d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
