QR Generator API

Professional QR Code Generation API

Generate high-quality QR codes in PNG or SVG format

Starting at $0.001 per request

Powerful Features

Built for developers who need reliable, fast, and scalable API solutions

🎨
Customizable Size
Generate QR codes from 50px to 2000px
🛡️
Error Correction
Multiple error correction levels (L, M, Q, H)
Instant Generation
Sub-second response times
💾
24h Cache
Repeated requests served from cache

Technical Specifications

Response Time
< 500ms
Caching
24 hours
Formats
PNG, SVG
Size Range
50-2000px

Use Cases

Perfect for a wide range of applications and workflows

URL shortening and sharing

Payment and digital wallets

Contact card generation

Marketing materials

Simple, Pay-Per-Use Pricing

No subscriptions. No hidden fees. Pay only for what you use.

Pay Per Use
$0.001
per request
Simple & Scalable
Pay only for what you use
No monthly fees or subscriptions
No rate limits (pay per use)
24-hour caching included
Production-ready reliability
Powered by x402 Protocol
HTTP-native payments. No accounts, no billing cycles. Just set your API key and start using.

API Documentation

Get started in minutes with our simple REST API

Available Endpoints
RESTful API endpoints for QR Generator API
POST/generateGenerate a QR code
Integration Examples
Copy and paste examples in your favorite language
curl -X POST https://qr-generator.viralorb.com/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": "https://viralorb.com", "size": 500, "format": "png"}'
Response Format
All responses are returned in JSON format
{
  "success": true,
  "data": { ... },
  "cached": false,
  "timestamp": "2026-05-05T15:47:00Z"
}