Fast, reliable QR code generation API with custom colors, logo embedding, and multiple formats. Perfect for automation, marketing, and integration.
curl -X POST https://qr.endpnt.dev/api/v1/generate \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"data": "https://example.com",
"format": "png",
"size": 300,
"color": "#000000",
"background": "#ffffff",
"margin": 2,
"error_correction": "M"
}'Built with modern standards and optimized for speed, reliability, and ease of use.
Choose any hex colors for QR code and background to match your brand
Add your logo to QR codes with automatic error correction optimization
PNG, JPEG, WebP, and SVG output formats for any use case
Choose from L, M, Q, or H error correction levels for reliability
Sub-second response times with optimized QR code generation
Clean REST API that works with any programming language
Advanced QR code styling with premium customization features. Create stunning QR codes with custom shapes, gradients, borders, and photo overlays.
Rounded, extra-rounded, classy and classy-rounded dot patterns for distinctive QR codes
Independent control of outer and inner eye shapes with custom coloring
Linear and radial gradients with full control over colors and rotation
Styled borders with labels, image frames, or hand-drawn SVG shapes
Place QR codes on photos with precise positioning and opacity control
Free tier includes styling and gradients, premium features require Starter+
Simple QR code generator with essential features
Works with any programming language that can make HTTP requests
curl -X POST https://qr.endpnt.dev/api/v2/generate \
-H "x-api-key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"data": "https://example.com",
"size": 400,
"format": "png",
"dot_style": "classy-rounded",
"gradient": {
"type": "radial",
"colors": [
{"offset": 0, "color": "#667eea"},
{"offset": 1, "color": "#764ba2"}
]
},
"border": {
"mode": "styled",
"width": 20,
"color": "#2C3E50",
"label": {
"text": "SCAN FOR MORE",
"position": "bottom"
}
}
}'const response = await fetch('https://qr.endpnt.dev/api/v1/generate', {
method: 'POST',
headers: {
'x-api-key': 'your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
data: 'https://example.com',
format: 'png',
size: 300,
color: '#000000',
background: '#ffffff',
logo_url: 'https://example.com/logo.png'
})
});
const result = await response.json();
if (result.success) {
const imageData = result.data.image; // base64 encoded
}import requests
import base64
url = "https://qr.endpnt.dev/api/v1/generate"
headers = {
"x-api-key": "your_api_key",
"Content-Type": "application/json"
}
data = {
"data": "https://example.com",
"format": "png",
"size": 300,
"color": "#000000",
"background": "#ffffff",
"error_correction": "M"
}
response = requests.post(url, headers=headers, json=data)
result = response.json()
if result["success"]:
image_data = base64.b64decode(result["data"]["image"])
with open("qrcode.png", "wb") as f:
f.write(image_data)Join thousands of developers using our QR Code API for automation, marketing, and seamless integration.
Get your free API key