# AgentUtility QR Reader

> AgentUtility QR Reader 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 QR codes from an image URL and returns the embedded text or URL content

## Facts

- Endpoint: POST https://x402.agentutility.ai/qr-reader
- 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/agentutility-qr-reader-f9b25019
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r8EMYDG47rPzsQDTgP4Pl

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 agentutility-qr-reader-f9b25019 -d '<json body>'
```

Example prompt: Can you scan the QR code in this image and tell me what it says? Here's the image URL: https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/QR_code_for_mobile_English_Wikipedia.svg/800px-QR_code_for_mobile_English_Wikipedia.svg.png

## When to prefer this

Use this endpoint when you need to programmatically decode a QR code from an image accessible via a public URL, especially in an agent workflow where USDC micropayment via x402 is already set up. Prefer this over manual scanning or OCR-based approaches when you need fast, structured JSON output of the QR code content.

## Known failure modes

- Image URL is unreachable or returns a non-image response — likely empty codes array or error
- Image contains no QR code — codes array returned empty
- Malformed or partially obscured QR code — decoding fails or returns garbled text
- Invalid or non-HTTP URL provided — request error
- Image format not supported by qrserver.com backend — decode failure

## 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 with a 'codes' array containing decoded QR code entries (each with the decoded 'text' string and a 'symbol_index' integer), plus a 'source' field indicating the underlying provider (api.qrserver.com).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "image_url"
     ],
     "properties": {
      "image_url": {
       "type": "string",
       "description": "Public http(s) URL of an image containing one or more QR codes. Must be directly fetchable."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "codes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "text": {
          "type": "string"
         },
         "symbol_index": {
          "type": "integer"
         }
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## 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/agentutility-qr-reader-f9b25019/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)
