# AgentRXI QR Code Generator & Reader

> AgentRXI QR Code Generator & Reader is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-15).

Generate QR codes (PNG or SVG, any size and error-correction level) from text or URLs, or decode text from a QR code image

## Facts

- Endpoint: GET https://agentrxi.com/v1/qr?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-qr-code-generator-reader-554e9611
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MyWrM09s7trGBzDbYm108

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 agentrxi-qr-code-generator-reader-554e9611
```

Example prompt: Can you make a QR code for https://myshop.example.com — I'd like it as a PNG at 400 pixels?

## When to prefer this

Choose this endpoint when you need to programmatically generate QR codes in PNG or SVG format with configurable size, or when you need to decode the content of a QR code from an existing image. It handles both creation and reading in a single endpoint, making it ideal for workflows that do both. It is a low-cost, fast API particularly suited for agent-driven automations using x402 micropayment billing.

## Known failure modes

- Invalid or unreachable image_url when decoding — returns an error indicating the image could not be fetched
- No QR code detected in the provided image — returns an error or empty result
- Missing required text parameter when generating — returns a validation error
- Unsupported image format for decoding (non-PNG/JPEG) — may return an error
- Extremely large size values may time out or be rejected

## How this service works

QR codes: make a QR code (PNG or SVG, any size, error-correction level) from text or a URL, or read the text from a QR code in a PNG or JPEG image. Also callable as GET with the same fields as query parameters.

## Output

For generation requests: a PNG or SVG image of the QR code encoding the provided text or URL, at the specified size. For decode requests: the plain text or URL embedded in the QR code image provided via URL or base64.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "size": {
       "type": "integer"
      },
      "text": {
       "type": "string",
       "description": "Text or URL to encode"
      },
      "format": {
       "type": "string",
       "description": "png (default) | svg"
      },
      "image_url": {
       "type": "string",
       "description": "Read a QR code instead"
      },
      "image_base64": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-qr-code-generator-reader-554e9611/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
