# QR Code Decode

> QR Code Decode is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Decodes a QR code image and returns the text or URL encoded within it

## Facts

- Endpoint: POST https://x402.agentutility.ai/qr-code-decode
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-decode-f37caa35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yQ2K6VX7gFD2VMUeK8CzH

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 qr-code-decode-f37caa35 -d '<json body>'
```

Example prompt: Can you decode this QR code image for me and tell me what URL or text is encoded in it? Here's the image URL: https://example.com/my-qr-code.png

## When to prefer this

Use this endpoint when you need to programmatically decode a QR code from an image URL and retrieve the encoded text or URL. Prefer this over manual scanning when automating workflows that receive QR code images and need to act on their contents.

## Known failure modes

- Image URL is unreachable or returns a non-image response
- Image does not contain a recognizable QR code pattern
- QR code is too blurry, damaged, or low-resolution to decode
- Unsupported image format provided
- Payment not included or insufficient USDC — 402 response returned

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object containing an array of decoded codes, each with the text/URL embedded in the QR code and its symbol index, plus the source attribution. Example: {codes: [{text: 'http://en.m.wikipedia.org', symbol_index: 0}], source: 'https://api.qrserver.com'}

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "codes": [
   {
    "text": "http://en.m.wikipedia.org",
    "symbol_index": 0
   }
  ],
  "source": "https://api.qrserver.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-code-decode-f37caa35/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
