{"uid":"cap_c2yAbL8pxk-qRFbNdXiEF","slug":"qr-code-batch-generator-67c1e5aa","name":"QR Code Batch Generator","description":"Generate and decode QR codes with x402 payments and an MCP server.","url":"https://qr.payapi.market/generate/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["data"],"properties":{"data":{"type":"string"},"label":{"type":"string"}}},"maxItems":20,"description":"Up to 20 items, each with 'data' (text/URL to encode) and an optional 'label'."}}},"responseSchema":{"type":"json","example":{"count":2,"results":[{"data":"https://payapi.market","index":0,"label":"home","width":330,"border":4,"format":"png","height":330,"modules":25,"version":2,"box_size":10,"back_color":"#ffffff","fill_color":"#000000","size_bytes":512,"image_base64":"iVBORw0KGgoAAAANSUhEUgAAASIAAAEiCAYAAABdvt+2AAAABmJLR0QA/wD/AP+gvaeTAAAF...","error_correction":"M"},{"data":"https://payapi.market/docs","index":1,"label":"docs","width":330,"border":4,"format":"png","height":330,"modules":25,"version":2,"box_size":10,"back_color":"#ffffff","fill_color":"#000000","size_bytes":548,"image_base64":"iVBORw0KGgoAAAANSUhEUgAAASIAAAEiCAYAAABdvt+2AAAABmJLR0QA/wD/AP+gvaeTAAAF...","error_correction":"M"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SjXNzqkx80XSSLd9b6X6v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generate up to 20 QR code images in a single batch call, returning base64-encoded PNG images with metadata for each item.","exampleAgentPrompt":"Can you generate QR codes for these three URLs at once — https://myshop.com/product-a (label it 'Product A'), https://myshop.com/product-b (label it 'Product B'), and https://myshop.com/product-c (label it 'Product C')? I need the PNG images back as base64.","exampleUseCases":[{"title":"Event ticket QR code batch","prompt":"I need QR codes for 10 event check-in URLs — each one is like https://events.mycompany.com/ticket/1 through /ticket/10. Generate them all at once with labels like 'Ticket 1', 'Ticket 2', etc. so I can print them."},{"title":"Restaurant menu item links","prompt":"Can you make QR codes for five of our menu items? The URLs are https://menu.tastybistro.com/burger, /pizza, /salad, /pasta, and /dessert — label each one with the dish name so we can put them on table cards."},{"title":"Marketing campaign landing pages","prompt":"Generate QR codes for our three campaign landing pages: https://brand.com/summer-sale labeled 'Summer Sale', https://brand.com/newsletter labeled 'Newsletter Signup', and https://brand.com/app-download labeled 'Download App'. We need the images to print on flyers."}],"resultDescription":"Returns a JSON object with a count of generated QR codes and a results array. Each result includes the original data string, its index in the batch, the optional label, PNG image dimensions (width/height in pixels), border size, QR version, number of modules, box size, background and fill colors, file size in bytes, the full base64-encoded PNG image, and the error correction level used.","failureModes":["Exceeding the 20-item batch limit returns a validation error","Missing required 'data' field on any item causes rejection","Payment failure (insufficient USDC balance) blocks the request","Invalid or empty data strings may produce malformed QR codes","Very long data strings may increase QR version and image size unexpectedly"],"whenToPreferThis":"Use this endpoint when you need to generate multiple QR codes in a single API call (up to 20 at a time), reducing latency and cost compared to making individual requests. Ideal for bulk workflows like printing campaigns, event ticketing, product catalogs, or any scenario requiring a batch of QR images delivered as base64 PNGs with structured metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:00:44.784Z","isFirstParty":false,"canonicalSlug":"qr-code-batch-generator-67c1e5aa"}