# HTTPay Image OCR

> HTTPay Image OCR is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts text from an image URL using OCR, returning the extracted text, confidence score, and detected language via OCR.space

## Facts

- Endpoint: POST https://httpay.xyz/api/image-ocr
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-image-ocr-1ffd153c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wzY8AoYa2XkRkU3xDtIVa

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 httpay-image-ocr-1ffd153c -d '<json body>'
```

Example prompt: Can you extract all the text from this image — https://example.com/receipt.jpg — and tell me what language it's in and how confident you are?

## When to prefer this

Use this endpoint when you need to extract text from a publicly accessible image URL without setting up API keys or subscriptions. Ideal for pay-per-call OCR on receipts, scanned documents, screenshots, or any image format including PDF, GIF, TIFF, and BMP. Prefer over direct OCR.space integration when you want micropayment-based billing via USDC on Base.

## Known failure modes

- Image URL is inaccessible or returns a non-image response — OCR fails with an error
- Unsupported file format provided — error indicating incompatible image type
- Low-quality or blurry image — low confidence score or empty text extraction
- Payment not processed via x402/USDC — 402 Payment Required response
- Rate limiting or OCR.space backend unavailability — service error response

## How this service works

Extract text from any image URL using OCR. Returns extracted text, confidence, and detected language. Powered by OCR.space. Supports JPEG, PNG, PDF, GIF, TIFF, BMP.

## Output

Returns a JSON object containing the extracted text from the image, a confidence score indicating OCR accuracy, and the detected language of the text. Supports JPEG, PNG, PDF, GIF, TIFF, and BMP image formats.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Extract text from any image URL using OCR. Returns extracted text, confidence, and detected language. Powered by OCR.space. Supports JPEG, PNG, PDF, GIF, TIFF, BMP."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-image-ocr-1ffd153c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
