# QR Code Reader API

> QR Code Reader API is a paid API for AI agents from x402-qr-api.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Reads and decodes QR code content from a provided image or URL via a GET request

## Facts

- Endpoint: GET https://x402-qr-api.vercel.app/api/read?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-reader-api-cf968928
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qCUaNMdG_G9Rs8oxAHqG1

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-reader-api-cf968928
```

Example prompt: Can you read this QR code for me and tell me what it says? Here's the image URL: https://example.com/qrcode.png

## When to prefer this

Use this endpoint when you need to programmatically decode a QR code from an image URL without manual scanning. It is well-suited for automation pipelines, agent workflows that encounter QR codes in documents or web content, and verification tasks where you need to confirm QR code destinations before use.

## Known failure modes

- Image URL is inaccessible or returns a non-image response
- QR code in the image is too blurry or low-resolution to decode
- No QR code detected in the provided image
- Malformed or missing image URL parameter
- Payment not processed — 402 response returned if x402 payment header is missing

## How this service works

Generated by create next app

## Output

Returns the decoded text or data embedded within the QR code image, typically a URL, plain text string, or structured data such as a Wi-Fi credential or contact card.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-code-reader-api-cf968928/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-qr-api.vercel.app](https://www.zero.xyz/host/x402-qr-api.vercel.app/llms.txt)
