# QR Code Generator

> QR Code Generator is a paid API for AI agents from qrcode.187.77.111.249.sslip.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Generates a QR code PNG image on demand from a URL, text, vCard, or Wi-Fi string, returning the encoded image as a base64 PNG.

## Facts

- Endpoint: POST https://qrcode.187.77.111.249.sslip.io/generate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-generator-52646986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MBj-qDc4vCI8TDCIQZyt1

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-generator-52646986 -d '<json body>'
```

Example prompt: Can you generate a URL-type QR code for https://myshop.example.com at 400 pixels so I can drop it into my product flyer?

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call QR code generated from a URL, text, vCard, or Wi-Fi string and want a raw PNG back — especially in automated agent workflows where you need to embed a QR image in a document, flyer, or web page without setting up your own QR library.

## Known failure modes

- Missing required 'data' field returns a validation error
- Unsupported 'product' enum value causes a 400 error
- Extremely long data strings may exceed QR code capacity and fail encoding
- Payment not provided or insufficient USDC results in a 402 Payment Required response
- Invalid size value (e.g. non-integer) may return a 400 error

## How this service works

QR code generation on demand (x402, USDC on Base).

## Output

Returns a JSON object with a 'status' field indicating success and a 'qr_code_png' field containing the QR code image as a base64-encoded PNG string, along with the image size in pixels.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "string",
   "description": "Data to encode (URL, text, etc.)"
  },
  "size": {
   "type": "integer",
   "description": "QR code size in pixels (default 300)"
  },
  "product": {
   "enum": [
    "url",
    "text",
    "vcard",
    "wifi"
   ],
   "type": "string",
   "description": "QR code type"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "qr_code_png"
 ],
 "properties": {
  "size": {
   "type": "integer"
  },
  "status": {
   "type": "string"
  },
  "qr_code_png": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-code-generator-52646986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qrcode.187.77.111.249.sslip.io](https://www.zero.xyz/host/qrcode.187.77.111.249.sslip.io/llms.txt)
