We use essential cookies

We use strictly necessary cookies for authentication and, with your consent, optional analytics cookies to improve the product.

APIs/QR Code Generation API
Utilitiesoperational

QR Code Generation API

Generates QR codes locally with the open `qrcode` library. Returns base64 payload plus a ready-to-embed data URL. No third-party dependency, no rate cap beyond your plan.

Use cases

Event tickets
Restaurant menus
Product labels
Wi-Fi and payment codes

Endpoints

Base: /api/v1/qr
MethodPathDescriptionCredits
GET/generateGenerate QR as PNG or SVG (size 64-2000)1

Code examples

curl
curl -H "X-API-Key: $LOFTPRESS_KEY" \
  "https://loftpress.shop/api/v1/qr/generate"

Sample response

json
{
  "format": "png",
  "size": 300,
  "data_length": 21,
  "png_base64": "iVBORw0KGgo…",
  "data_url": "data:image/png;base64,iVBORw0KGgo…"
}

Live playground

No API key required. Rate-limited to 30 req/min per IP.

// Click Run to try the API

Pricing plans

100,000 req · 50 req/s
$200/mo
+ applicable taxes
1,000,000 req · 200 req/s
$500/mo
+ applicable taxes

VAT, GST or other applicable sales tax is calculated and collected by Creem at checkout based on the customer's location.

Changelog / Status
All systems operational
Live status →