QR Code API

Generate QR Codes at Scale with a Simple API

Create high-quality QR codes programmatically. Support for 10+ content types, customizable styling, and blazing-fast response times. Start free, scale to millions.

Everything You Need for QR Code Generation

A full-featured QR code API designed for developers who need reliability and flexibility.

10+ Content Types

Generate QR codes for URLs, plain text, vCards, WiFi credentials, email, phone numbers, SMS, geo locations, and more.

Sub-100ms Response

Optimized rendering engine delivers QR codes in under 100 milliseconds. Object pooling and caching ensure consistent performance.

Custom Styling

Choose module shapes (square, rounded, circle), custom foreground and background colors, and eye styles for branded QR codes.

PNG & SVG Output

Get pixel-perfect PNG images at any resolution (100px to 2000px) or infinitely scalable SVG vector output.

Error Correction

Four error correction levels (L, M, Q, H) ensure your QR codes remain scannable even when partially damaged or obscured.

RESTful API

Simple JSON request/response API with comprehensive documentation, SDKs for .NET, JavaScript, and Python, and Swagger UI.

Get Started in Minutes

A single API call is all you need to generate a QR code.

cURL .NET JavaScript
curl -X POST https://api.printivo.cloud/api/v1/qr \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "https://example.com",
    "contentType": "Url",
    "size": 400,
    "format": "png",
    "foregroundColor": "#000000",
    "backgroundColor": "#FFFFFF",
    "errorCorrection": "M",
    "moduleShape": "Rounded"
  }'

# Response: PNG image binary (Content-Type: image/png)
# Or use format: "svg" for vector output

Request

Send a POST request with your content, desired format, and optional styling parameters.

Response

Receive the generated QR code image directly as binary content (PNG or SVG).

Authentication

Use your API key via the X-API-Key header or Authorization: Bearer token.

Built for Real-World Applications

Our QR Code API powers thousands of applications across industries.

E-Commerce

Generate QR codes for product pages, payment links, and order tracking. Embed in packing slips and receipts.

Marketing

Create branded QR codes for campaigns, flyers, and business cards. Track engagement with custom URLs.

Event Management

Issue QR code tickets, digital passes, and check-in codes. Generate thousands in seconds for large events.

Healthcare

Encode patient information, appointment links, and medication details in secure, scannable QR codes.

Start Generating QR Codes Today

Get your free API key and start making requests in under 2 minutes. No credit card required.

An unhandled error has occurred. Reload X