QR Builder

API Documentation

Programmatically generate QR codes using our REST API.

POST
/api/qr/generate

Generate a single QR code

Request Body

{
  "type": "url",
  "content": {
    "url": "https://example.com"
  },
  "style": {
    "foregroundColor": "#000000",
    "backgroundColor": "#FFFFFF",
    "dotShape": "rounded"
  },
  "output": {
    "format": "png",
    "size": 1024
  }
}

Supported Types

url
text
wifi
vcard
email
phone
sms
geo

Response

{
  "success": true,
  "data": {
    "dataUrl": "data:image/png;base64,...",
    "isDynamic": false
  }
}
GET
/api/templates

List available QR code templates

{
  "success": true,
  "data": {
    "templates": [...],
    "categories": [...]
  }
}
GET
/api/health

Health check endpoint

{
  "status": "ok",
  "timestamp": "2026-02-28T00:00:00.000Z",
  "version": "1.0.0"
}
Rate Limits
QR Generation30 requests/minute per IP
Bulk Generation5 requests/hour per IP
Templates60 requests/minute