# Agent Tools OCR – Read Text from Image URL

> Agent Tools OCR – Read Text from Image URL is a paid API for AI agents from agents.crowdspark.me, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Performs OCR on a public image URL (PNG/JPEG) and returns all extracted text with line breaks preserved

## Facts

- Endpoint: GET https://agents.crowdspark.me/v1/ocr?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-ocr-read-text-from-image-url-6a0e0c1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IcJYb5nPRbaP4iOuE-i8t

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 agent-tools-ocr-read-text-from-image-url-6a0e0c1a
```

Example prompt: Can you read all the text from this receipt image for me? Here's the URL: https://example.com/receipt.jpg — make sure to keep the line breaks.

## When to prefer this

Choose this endpoint when you have a public image URL (PNG or JPEG) containing text you need to extract — such as receipts, signs, scanned pages, screenshots, or charts — and you need a fast, pay-per-call OCR result with line break fidelity. Especially suitable for agent pipelines where documents arrive as image URLs rather than uploaded files.

## Known failure modes

- Image URL is not publicly accessible (returns error)
- Image exceeds 10 MB size limit
- Unsupported image format (non-PNG/JPEG)
- Image contains no readable text (returns empty or minimal text)
- URL is malformed or unreachable
- Very low resolution or blurry image may yield incomplete extraction

## How this service works

Pay-per-call utilities for AI agents over x402, USDC on Base.

## Output

A JSON object with a single 'text' field containing all text extracted from the image, with original line breaks preserved as they appear in the source image.

## 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": "Public image URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Hello Agent Tools"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-ocr-read-text-from-image-url-6a0e0c1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.crowdspark.me](https://www.zero.xyz/host/agents.crowdspark.me/llms.txt)
