QR Code API docs
Generate QR codes in PNG, SVG, or base64. Customize size, colors, error correction, and embed logos.
Authentication
All QR Code API requests authenticate via two headers. Get your API key from your RapidAPI dashboard after subscribing on the Basic (free) tier or higher.
X-RapidAPI-Key: YOUR_API_KEY X-RapidAPI-Host: qr-code-by-helix-api.p.rapidapi.com
Base URL
https://qr-code-by-helix-api.p.rapidapi.com
Endpoints
GET
/generateGenerate QR code from text/URL
POST
/generateGenerate QR code with advanced options
Code Examples
Python
import requests
url = "https://qr-code-by-helix-api.p.rapidapi.com/generate"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "qr-code-by-helix-api.p.rapidapi.com",
}
response = requests.get(url, headers=headers)
print(response.json())JavaScript
const response = await fetch(
"https://qr-code-by-helix-api.p.rapidapi.com/generate",
{
method: "GET",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "qr-code-by-helix-api.p.rapidapi.com"
}
}
);
const data = await response.json();cURL
curl -X GET "https://qr-code-by-helix-api.p.rapidapi.com/generate" \ -H "X-RapidAPI-Key: YOUR_API_KEY" \ -H "X-RapidAPI-Host: qr-code-by-helix-api.p.rapidapi.com"
Response Format
All endpoints return JSON in this consistent envelope:
{
"status": "ok",
"data": { /* endpoint-specific payload */ },
"meta": {
"cached": false,
"latency_ms": 142,
"request_id": "req_abc123"
},
"timestamp": "2026-05-21T12:00:00Z"
}Error Codes
| HTTP | Code | Meaning |
|---|---|---|
| 400 | BAD_REQUEST | Missing or invalid parameter |
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 403 | FORBIDDEN | Your plan doesn't include this endpoint |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests — back off and retry |
| 500 | INTERNAL_ERROR | Something went wrong on our side |
| 503 | UPSTREAM_UNAVAILABLE | A third-party data source is down |
Common Use Cases
Payment links
WiFi sharing
vCard contacts
App deep links
Event tickets
Restaurant menu QR code
Product packaging QR code
Real estate listing QR code
Conference badge QR code
Loyalty program QR code
Parking meter payment QR code
Museum exhibit QR code
Business storefront QR code
Wedding invitation QR code
Gym check-in QR code
Coupon and discount QR code
Medical patient ID QR code
Warehouse inventory QR code
Hotel room service QR code
Digital business card QR code