# FastX402 OCR – Image Text Extraction

> FastX402 OCR – Image Text Extraction is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-17).

Extracts text from a publicly accessible image URL using OCR, supporting English and Turkish languages

## Facts

- Endpoint: GET https://fastx402.tools/ocr?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-ocr-image-text-extraction-9539bf16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JGIXGtP6PlWJWrp8nZ-lt

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 fastx402-ocr-image-text-extraction-9539bf16
```

Example prompt: Can you read all the text in this image for me? Here's the URL: https://example.com/scan.png — it's in English.

## When to prefer this

Use this endpoint when you need a simple, no-account, pay-per-call OCR solution that works directly from a public image URL without any API key setup. It is ideal for AI agents that need to occasionally extract text from images as part of a workflow, where setting up a full OCR subscription would be overkill. Particularly suited for English and Turkish text. If you need batch processing of many images or support for many additional languages, a dedicated OCR platform may be preferable.

## Known failure modes

- Image URL is not publicly accessible or returns a non-200 HTTP response
- Image format is not one of the supported types (PNG, JPEG, WebP, TIFF, BMP, GIF)
- Image contains no discernible text, returning an empty text field
- URL parameter is missing, resulting in a validation error
- Payment not completed via x402 protocol, resulting in 402 response
- Image is too large or the server times out fetching it

## How this service works

146 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the detected language code (e.g. 'eng' or 'tur') and the full extracted text string from the image, with newlines preserved where line breaks were detected.

## 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": "Absolute http(s) URL of a png, jpeg, webp, tiff, bmp or gif image"
      },
      "lang": {
       "enum": [
        "eng",
        "tur",
        "eng+tur"
       ],
       "type": "string",
       "description": "Language of the text, default eng+tur"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "eng",
  "text": "This is a lot of 12 point text to test the\nocr code and see if it works on all types\nof file format."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastx402-ocr-image-text-extraction-9539bf16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
