QR Code API - Free QR Generator
Convert any string or URL into a scannable QR code. The API returns an SVG image you can embed directly in HTML or download. Configure the output size, error correction level, and quiet zone margin to fit your design.
Code examples
curl -X POST https://api.botoi.com/v1/qr/generate \
-H "Content-Type: application/json" \
-d '{"text":"https://botoi.com","size":300,"errorCorrectionLevel":"M","margin":4}'When to use this API
Event check-in tickets
Embed a unique QR code in each attendee ticket email. Encode the ticket ID so staff can scan and validate entry at the door with any smartphone camera.
Restaurant menu links
Generate a QR code that points to your online menu. Print it on table tents or receipts so diners can pull up the full menu without downloading an app.
Inventory and asset tagging
Encode serial numbers or asset IDs into QR codes. Print them on adhesive labels so warehouse staff can scan items during receiving, audits, and shipping.
Frequently asked questions
Why does the API return SVG instead of PNG?
What is the maximum data length for a QR code?
Which error correction level should I choose?
Can I add a logo to the center of the QR code?
How do I embed the SVG directly in an HTML page?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.