# OCR Text Extraction API (klymax402)

> OCR Text Extraction API (klymax402) is a paid API for AI agents from ocr-extract.api.klymax402.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Extracts text from images using OCR, accepting either an image URL or base64-encoded image data with optional language hints

## Facts

- Endpoint: GET https://ocr-extract.api.klymax402.com/api/ocr
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ocr-text-extraction-api-klymax402-53d9ef0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__tujnWm5RAp1Z5cxp-yRW

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 ocr-text-extraction-api-klymax402-53d9ef0d
```

Example prompt: Can you extract all the text from this image — https://example.com/menu-photo.jpg — using English as the language hint?

## When to prefer this

Use this endpoint when you need to extract text from an image file or URL, especially when you have a language hint to improve accuracy. Suitable for receipts, screenshots, scanned documents, signs, and labels. Prefer over general vision APIs when cost-per-call predictability and x402 micropayment compatibility are required.

## Known failure modes

- Image URL is unreachable or returns a non-image response — OCR fails or returns empty result
- Base64 data is malformed or corrupt — decoding error returned
- Unsupported image format — extraction may fail or return garbage text
- Language hint is invalid or unsupported — may fall back to default English or return an error
- Image contains no readable text — returns empty or near-empty result
- Payment not included or insufficient — 402 Payment Required response

## How this service works

Extract text from an image via OCR

## Output

Returns the text content extracted from the provided image via optical character recognition, as a string or structured text response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "language": {
   "type": "string",
   "description": "Language hint for OCR: eng, fra, deu, spa, etc. (default: eng)"
  },
  "image_url": {
   "type": "string",
   "description": "URL of the image to extract text from"
  },
  "image_base64": {
   "type": "string",
   "description": "Base64-encoded image data (alternative to image_url)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ocr-text-extraction-api-klymax402-53d9ef0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ocr-extract.api.klymax402.com](https://www.zero.xyz/host/ocr-extract.api.klymax402.com/llms.txt)
