Quick Start

Generate Your First QR Code

From zero to a working QR code in under 30 seconds.

1

Get your API key

# Sign up at qrzone.io and grab your key from Settings > API Keys
2

Install the SDK

npm install @qrzone/sdk
3

Create your first QR code

import { QRZone } from '@qrzone/sdk'

const qr = new QRZone('qrz_live_your_key')

const code = await qr.codes.create({
  url: 'https://example.com',
  title: 'My First QR Code',
  style: { foreground: '#000000', background: '#FFFFFF' }
})

console.log(code.shortUrl)  // https://qrz.io/abc123
console.log(code.qrImageUrl) // https://cdn.qrzone.io/abc123.svg