# OpenWeb Ninja OCR — Realtime Lens Data

> OpenWeb Ninja OCR — Realtime Lens Data is a paid API for AI agents from x402.openwebninja.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Extracts text from images via OCR, returning structured text content from the provided image URL, payable per-call over x402 with no API key required.

## Facts

- Endpoint: GET https://x402.openwebninja.com/realtime-lens-data/ocr
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweb-ninja-ocr-realtime-lens-data-82c303c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-0-ah9cgDhf0yM18J6mQ4

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 openweb-ninja-ocr-realtime-lens-data-82c303c4
```

Example prompt: Can you extract all the text from this image for me? Here's the URL: https://example.com/receipt.jpg

## When to prefer this

Choose this endpoint when you need fast, pay-per-call OCR with no account setup or API key — ideal for agents making occasional image-to-text calls without committing to a subscription. Best for straightforward printed text extraction from clear image URLs. Prefer this over subscription-based OCR APIs when cost predictability per call matters and volume is moderate.

## Known failure modes

- Invalid or inaccessible image URL returns an error or empty result
- Image with no readable text returns empty OCR output
- Low-resolution or blurry images may yield incomplete or garbled text
- Handwritten text may be partially misrecognized
- Payment failure over x402 results in 402 response and no content
- Unsupported image format may return an error

## How this service works

40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.

## Output

A JSON object containing the text recognized from the image, including all visible printed or handwritten characters extracted via OCR. The response provides structured text output suitable for downstream parsing, search, or storage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweb-ninja-ocr-realtime-lens-data-82c303c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.openwebninja.com](https://www.zero.xyz/host/x402.openwebninja.com/llms.txt)
