/tools namespace · APlicious

QR code generator API — PNG, SVG, or data URL in one GET request

Generate QR codes for URLs, text, or any data with a single GET or POST request — choose PNG, SVG, or base64 data URL output, and set size and error-correction level.

3output formats
Get free API key View docs
GET /api/v1/tools/qr/generate
// Returns PNG image binary
const imageUrl =
  'https://aplicious.com/api/v1/tools/qr/generate' +
  '?data=https://aplicious.com&format=png&size=300&error_correction=H';

// Use in an <img> tag directly (with auth header via fetch + blob URL):
const res = await fetch(imageUrl, { headers: { 'X-API-Key': 'lapi_live_••••' } });
const blob = await res.blob();
document.querySelector('img').src = URL.createObjectURL(blob);

No credit card · Free to start · X-API-Key header auth

What's included in /tools

GET or POST

GET ?data=...&format=png for quick generation. POST JSON for the same parameters without URL encoding issues.

3 output formats

PNG (binary), SVG (vector), or dataurl (base64 string) — cover every embedding and print use case.

Configurable size

64px to 2048px — from favicon-sized thumbnails to print-ready QR codes.

Error correction levels

L (7%), M (15%), Q (25%), H (30%) — use H for logos overlaid on QR codes.

Pairs with /tools/url/shorten

Shorten a URL then generate its QR code — two calls, one shareable asset.

Start using the QR code API today

Free tier — 250 calls/month, no credit card. Upgrade when you need more.

Get free API keyExplore /tools docs

Frequently asked questions

Can I use the data URL format in HTML directly?

Yes — format=dataurl returns a base64-encoded PNG you can embed as an <img src='data:image/png;base64,...'> without a separate request.

What error correction level should I use?

H (30%) if you plan to overlay a logo on the QR code. M (15%) for clean codes without overlay.

Is there a size limit?

Size must be between 64 and 2048 pixels. 300px is good for web; 600px+ for print.

Related API guides

URL Shortener API — Custom Codes, Expiry, Analytics

REST API to shorten URLs with optional custom codes and expiry dates. GET analyt

Read guide

OCR API — Extract Text from Images, Free Tier, No Setup

OpenAI-powered OCR REST API. POST a multipart image or a public image URL, get e

Read guide

RapidAPI Alternative — One Key, 34 APIs, No Per-API Billing

Tired of managing multiple API keys and invoices? APlicious gives you 10 live na

Read guide

One key unlocks all 10 namespaces — finance, legal, property, jobs, wellness, and more.

View all plans and pricing →