REST API

QR codes in
any format.

Generate QR codes as PNG, SVG, or Base64 with custom colours, sizes, and error correction. One API endpoint, zero dependencies.

3Output formats
4Error correction levels
<50msAvg generation time
Free tier1,000 req/mo

Features

Professional QR codes via a single POST

PNG, SVG & Base64
Choose your output format. PNG for images, SVG for scalable vector output, Base64 to embed inline.
Custom colours
Set foreground and background colours via hex codes. Dark QR on white, or white on brand colour.
Error correction
L, M, Q, or H correction levels. Use H when embedding a logo — up to 30% of the code can be obscured.
Custom size
Control output size in pixels. From thumbnail (128px) to print-ready (2048px+). No quality loss on SVG.
REST API
Simple POST endpoint with JSON body. Returns binary image or Base64 string. Works from any language.
Per-key quotas
Rate limits scoped per API key and tier. Check your usage at any time via /usage.

Pricing

Simple pricing, no surprises

Hobby
£5/mo
1,000 requests / month
PNG & Base64 output
Custom colours
All error correction levels
Get started
Business
£39/mo
Unlimited requests
Everything in Pro
SLA guarantee
Dedicated support
Get started

Quickstart

Generate your first QR code

Generate a QR code (PNG)curl
$ curl -X POST "https://qr.dranco.uk/generate" \
     -H "x-api-key: YOUR_KEY" \
     -H "Content-Type: application/json" \
     -d '{"data":"https://example.com","format":"png","size":512,"color":"#000000"}' \
     --output qr.png