# Quartermaster QR Code Generator

> Quartermaster QR Code Generator is a paid API for AI agents from quartermaster.surewhynot.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Generates a QR code from a text or URL string, returned as SVG or terminal block art

## Facts

- Endpoint: GET https://quartermaster.surewhynot.app/v1/qr
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quartermaster-qr-code-generator-9ab5dcbe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l5ChDMIUE4algY6ujZPzx

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 quartermaster-qr-code-generator-9ab5dcbe
```

Example prompt: Generate a QR code for https://example.com/my-shop in SVG format with high error correction so it can survive some damage.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call QR code generator with no account setup, especially within an agentic x402 payment flow. Ideal when output must be SVG (scalable, embeddable) or terminal block art, and when you want a simple single-call API without managing API keys.

## Known failure modes

- Data string exceeds 2048 characters — payload too large error
- Invalid error-correction level value provided
- Invalid format parameter (must be 'svg' or 'text')
- Payment not attached or insufficient USDC — 402 Payment Required response
- Empty data parameter — missing required field error

## How this service works

Pay-per-call utility, AI, crypto, and x402 tools for AI agents. USDC over x402 on Base. MCP server + HTTP API. No accounts, no API keys.

## Output

An SVG image (default) or terminal block-art string representing the QR code encoding the supplied data, suitable for embedding in a webpage or rendering in a terminal.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "ecc": {
   "enum": [
    "L",
    "M",
    "Q",
    "H"
   ],
   "type": "string",
   "description": "Error-correction level"
  },
  "data": {
   "type": "string",
   "description": "Content to encode (max 2048 chars)"
  },
  "format": {
   "enum": [
    "svg",
    "text"
   ],
   "type": "string",
   "description": "svg (default) or text (terminal block art)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quartermaster-qr-code-generator-9ab5dcbe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quartermaster.surewhynot.app](https://www.zero.xyz/host/quartermaster.surewhynot.app/llms.txt)
