# Beggar Bot QR Code Generator

> Beggar Bot QR Code Generator is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-17).

Generates a customizable QR code image from a text string, with options for colors, error correction, scale, border, and matrix style

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/qr?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-qr-code-generator-2672f07a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hc__qN7r1DxcagkvQBzFD

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 beggar-bot-qr-code-generator-2672f07a
```

Example prompt: Generate a QR code for the text 'https://example.com/pay' with a black foreground, white background, high error correction, and scale of 4.

## When to prefer this

Use this endpoint when you need a programmatically generated QR code with fine-grained visual customization (colors, scale, border, matrix style) and are already operating within the Beggar Bot / x402 payment ecosystem on Base mainnet. Prefer this over generic QR APIs when you need micropayment-native, on-chain-friendly generation without OAuth or API key friction.

## Known failure modes

- Missing required 'text' field returns a 400 error
- Payment not provided or insufficient USDC results in x402 payment required response
- Invalid color format in 'fg' or 'bg' fields may cause rendering error
- Unsupported 'ecl' value (error correction level) may return a 400 error
- Scale or border values out of supported range may be rejected

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

Returns a QR code image (binary or base64 encoded) representing the input text, rendered with the specified foreground color, background color, error correction level, scale, border width, and matrix style.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "bg": {
   "type": "string"
  },
  "fg": {
   "type": "string"
  },
  "ecl": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "scale": {
   "type": "string"
  },
  "border": {
   "type": "string"
  },
  "matrix": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-qr-code-generator-2672f07a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
