# NoJunk QR Batch Code Generator

> NoJunk QR Batch Code Generator is a paid API for AI agents from nojunk-qr.mick8511.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-03).

Generates up to 25 QR codes in a single call, returning each as SVG, PNG, or JSON module matrix from a fully self-contained ISO/IEC 18004 encoder.

## Facts

- Endpoint: POST https://nojunk-qr.mick8511.workers.dev/qr/batch?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-qr-batch-code-generator-16adfb07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z0Bgcuy_luKTmt53kPjhs

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 nojunk-qr-batch-code-generator-16adfb07 -d '<json body>'
```

Example prompt: Generate a batch of 3 QR codes in SVG format: one for https://myshop.com, one for my Wi-Fi network (WIFI:T:WPA;S:ShopGuest;P:Welcome2024;;), and one for https://pay.myshop.com — use H error correction and black on white so they're robust enough to print on product packaging.

## When to prefer this

Choose this endpoint when you need ISO-compliant QR codes generated entirely server-side with no external upstream dependencies, especially for batch workloads (up to 25 codes per call) or when output format flexibility (SVG for infinite scaling, PNG for raster embed, JSON matrix for custom rendering) matters. It is pay-per-valid-result via x402, so it is cost-efficient for sporadic agent use without subscription overhead. Prefer it over generic QR SaaS APIs when you need deterministic, offline-capable encoding with full ECC and version control.

## Known failure modes

- Text input exceeds 1500 characters — encoder rejects the item
- Batch array contains more than 25 items — returns validation error
- Invalid hex color string for dark or light modules — parameter rejected
- Size out of range (below 128 or above 2048) — parameter rejected
- Margin out of valid range 0-8 — parameter rejected
- Payment not completed (x402 flow) — no QR code returned and no charge applied
- Empty text field in any batch item — validation error

## How this service works

QR Code Generator batch: Encode up to 25 texts as QR Codes in one call; returns JSON with an SVG or matrix per item.

## Output

A JSON object containing the requested format (svg, png, or json), the ECC level used, the count of items, and an array of result objects — each with the original text, optional label, the QR payload (SVG document string, base64 PNG, or 0/1 module matrix), QR version number, and module grid size.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ecc": {
   "type": "string",
   "description": "Optional: error correction level L (7%), M (15%, default), Q (25%) or H (30%); higher levels survive more damage but hold less text"
  },
  "dark": {
   "type": "string",
   "description": "Optional: hex color of the dark modules (default #000000)"
  },
  "size": {
   "type": "integer",
   "description": "Optional: output width/height in pixels, 128-2048 (default 512); SVG scales freely, PNG uses whole pixels per module centred in the image"
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "text"
    ],
    "properties": {
     "text": {
      "type": "string"
     },
     "label": {
      "type": "string"
     }
    }
   },
   "description": "1-25 items, each {text (1-1500 chars), label?}"
  },
  "light": {
   "type": "string",
   "description": "Optional: hex color of the background (default #FFFFFF)"
  },
  "format": {
   "type": "string",
   "description": "Optional: \"svg\" (default; each item carries its SVG document) or \"json\" (each item carries its 0/1 matrix)"
  },
  "margin": {
   "type": "integer",
   "description": "Optional: quiet zone in modules, 0-8 (default 4; the standard recommends 4)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ecc": "M",
  "count": 2,
  "items": [
   {
    "text": "https://nojunkcrypto.com",
    "label": "home",
    "matrix": [
     "1111111000011010101111111",
     "1000001000011001101000001",
     "1011101010110001001011101",
     "1011101010100110101011101",
     "1011101010010010101011101",
     "1000001010101011001000001",
     "1111111010101010101111111",
     "0000000011010000000000000",
     "1011111001011111101111100",
     "0110010100011100100100010",
     "1000101100010111110011011",
     "1111110100101010010110001",
     "0110011000000101011010111",
     "1101000100001100100101010",
     "1011001110100111100111011",
     "1001110111101000000110001",
     "1011001001101110111110100",
     "0000000011100001100011000",
     "1111111001011100101010111",
     "1000001011010010100011001",
     "1011101011111111111110100",
     "1011101011001101111011111",
     "1011101011000110110001101",
     "1000001001000011111111001",
     "1111111010011110011111111"
    ],
    "modules": 25,
    "version": 2
   },
   {
    "text": "WIFI:T:WPA;S:MyNetwork;P:secret123;;",
    "label": "wifi",
    "matrix": [
     "11111110000011010101001111111",
     "10000010011111111110101000001",
     "10111010100111000001001011101",
     "10111010110110101001001011101",
     "10111010100000000001101011101",
     "10000010101100011010001000001",
     "11111110101010101010101111111",
     "00000000110110100011000000000",
     "10111110010000001110101111100",
     "00010001111111100101101010110",
     "11000110110001111110111101000",
     "10010101100011000011111010011",
     "10111011100000111101000111100",
     "10110100000000000001110110110",
     "10110110110100010110101100100",
     "00011100110010100001100001000",
     "10000010001000011100100101011",
     "11011100101011100011101011010",
     "10001110001101111000011110000",
     "10100100001011010000100010001",
     "10111110111110111100111111100",
     "00000000100010000011100010100",
     "11111110010100010111101010100",
     "10000010101110111001100011010",
     "10111010110000011100111111000",
     "10111010101010101001000011011",
     "10111010100011011111010111110",
     "10000010000110111010101011010",
     "11111110100111110101011011000"
    ],
    "modules": 29,
    "version": 3
   }
  ],
  "format": "json"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-qr-batch-code-generator-16adfb07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-qr.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-qr.mick8511.workers.dev/llms.txt)
