QR Codes via API

Generate custom QR codes with one API call. Custom colors, logo embedding, SVG and PNG output, batch generation. Free tier included.

curl
curl -X POST https://qrforge.grabshot.dev/v1/generate \
  -H "x-api-key: qrf_your_key" \
  -H "Content-Type: application/json" \
  -d '{"content": "https://example.com", "fgColor": "#6d28d9"}' \
  --output qr.png

Try It Live

400px

Click Generate to preview

Everything You Need

🎨

Custom Colors

Any foreground and background color. Match your brand perfectly.

🖼️

Logo Embedding

Add your logo to the center of any QR code. Auto-sized and positioned.

📐

SVG + PNG Output

Get pixel-perfect PNGs or scalable SVGs. Up to 2000px resolution.

📦

Batch Generation

Generate up to 200 QR codes in a single API call. Perfect for catalogs.

Fast API

Sub-100ms generation. Simple REST API with clear documentation.

🔒

Reliable & Secure

HTTPS, API key auth, rate limiting. Built for production use.

Simple Pricing

Free

$0/mo
  • ✓ 50 QR codes/month
  • ✓ PNG output
  • ✓ Custom colors
  • ✗ Logo embedding
  • ✗ SVG output
  • Includes watermark
Get Started

Starter

$9/mo
  • ✓ 1,000 QR codes/month
  • ✓ PNG + SVG output
  • ✓ Custom colors
  • ✓ Logo embedding
  • ✓ Batch (10 at once)
  • ✓ No watermark
Subscribe

Business

$79/mo
  • ✓ 100,000 QR codes/month
  • ✓ All formats
  • ✓ Logo embedding
  • ✓ Batch (200 at once)
  • ✓ No watermark
  • ✓ Dedicated support
Subscribe

API Documentation

POST /v1/generate

Generate a single QR code. Returns the image directly.

{
  "content": "https://example.com",  // Required. URL, text, vCard, WiFi, etc.
  "size": 400,                       // 100-2000px (default: 400)
  "format": "png",                   // "png" or "svg" (paid plans)
  "fgColor": "#000000",              // Foreground color
  "bgColor": "#ffffff",              // Background color
  "errorCorrection": "M",            // L, M, Q, H
  "margin": 4,                       // Quiet zone (0-10)
  "logoUrl": "https://..."           // Logo URL (paid plans)
}

Response: image/png or image/svg+xml. Headers include X-QR-Id and X-Usage-Remaining.

POST /v1/generate/batch

Generate multiple QR codes at once (paid plans only).

{
  "items": [
    { "content": "https://example.com/1", "fgColor": "#6d28d9" },
    { "content": "https://example.com/2", "fgColor": "#059669" }
  ]
}
// Returns: { results: [{ id, data (base64), format }], count }

GET /v1/usage

Check your current plan, usage, and remaining quota.

GET /v1/codes

List your generated QR codes with pagination. Query params: limit, offset.

Authentication

Include your API key as x-api-key header or api_key query parameter.