# PrimeAPI QR Code Decoder

> PrimeAPI QR Code Decoder is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.095165/call, status unknown (last checked 2026-09-14).

Decodes a QR code image and extracts the embedded text or data from it

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/qr/decode
- Price: $0.095165/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-qr-code-decoder-e0d590e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iuRL1-VzHbUve7pXnszrc

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 primeapi-qr-code-decoder-e0d590e6 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to programmatically decode a QR code image to extract its embedded content — especially in automated workflows where manual scanning is not feasible. Prefer this over general OCR when the input is specifically a QR code.

## Known failure modes

- Invalid or unreadable QR code image returns an error
- Image URL is inaccessible or returns 404
- Input is not a valid QR code image
- Blurry or low-resolution image may fail to decode
- Unsupported image format

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the decoded content embedded in the QR code, such as a URL, plain text, contact info, or other encoded data that was stored in the QR code image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

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