{"uid":"cap_Z0Bgcuy_luKTmt53kPjhs","slug":"nojunk-qr-batch-code-generator-16adfb07","name":"NoJunk QR Batch Code Generator","description":"QR Code Generator batch: Encode up to 25 texts as QR Codes in one call; returns JSON with an SVG or matrix per item.","url":"https://nojunk-qr.mick8511.workers.dev/qr/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)"}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fqoIs85qy2YZeYpnQ7Lzc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Event check-in badge QR codes","prompt":"I need 10 QR codes as PNGs, one for each of these attendee profile URLs — generate them all at 1024px with M error correction and black modules on a white background."},{"title":"Restaurant Wi-Fi table cards","prompt":"Create 5 identical SVG QR codes encoding my Wi-Fi credentials WIFI:T:WPA;S:CafeLunaGuest;P:Latte2024;; so I can print them on table cards — use H error correction so they still scan even if a bit worn."},{"title":"Product packaging QR code set","prompt":"Generate QR codes for these 20 product page URLs in one batch — I want SVG format with Q error correction so they survive printing, and make the modules dark navy (#1A2340) on white."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T12:36:12.634Z","isFirstParty":false,"canonicalSlug":"nojunk-qr-batch-code-generator-16adfb07"}