How to batch qr code svg generation with api for bulk use cases
- Step 1Prepare your data source — Create a CSV or JSON array with one entry per QR code: { id: 'PROD-001', content: 'https://example.com/product/001', label: 'Product 001' }. The id field becomes the SVG filename; content is encoded in the QR; label is added as SVG metadata.
- Step 2Submit the batch request — POST to the /qr/batch endpoint with your data array and styling options (foreground colour, background colour, error correction level, size). The API processes all entries in parallel and returns a ZIP file with one SVG per entry.
- Step 3Integrate into your print workflow — Download the ZIP and place SVG files into your print production tool (InDesign, Illustrator, or a print-on-demand service). SVG files are directly importable — no conversion step needed. The 300 DPI requirement is automatically satisfied by SVG's resolution independence.
Frequently asked questions
What is the maximum batch size for one API request?+
Free tier: 50 QR codes per batch. Pro tier: 500 per batch. Developer tier: 10,000 per batch. For larger batches (100,000+ QR codes for product serialization), use the bulk job API which processes the batch asynchronously and notifies you via webhook when complete.
Can I add variable text below each QR code in the SVG?+
Yes. Set the includeLabel: true option in your API request. Each SVG will include the label string as an SVG text element below the QR code. You can customize the font size, family, and colour. For print production, ensure the text element uses a web-safe font or embed the font path in the SVG.
How do I track which QR code in a batch was scanned?+
Use unique redirect URLs that log the scan event server-side before redirecting: https://track.example.com/qr/{id}. The QR code encodes the tracking URL, not the final destination. Your server logs the scan event (timestamp, user agent, IP) and redirects to the actual destination. Never encode personal data directly in the QR content.
Can I generate QR codes with embedded logos for a batch?+
Yes, using error correction H and the logoUrl parameter. Provide a URL to your logo SVG — the same logo is embedded in all QR codes in the batch. The logo is centred and scaled to occupy up to 30% of the QR area. Test a sample from the batch for scan reliability before printing the entire run.
Privacy first
Every JAD SVG tool runs entirely in your browser using the DOM API and Canvas. Your SVG files never leave your device — verified by zero outbound network requests during processing.