Launch a branded QR code API on RapidAPI with custom colors, PNG and SVG output, and a premium logo overlay endpoint for marketing assets, SaaS automations, product packaging, Wi-Fi cards, and link sharing.
https://qr-studio.top/api/rapid/generatehttps://qr-studio.top/api/rapid/generate-with-logoPublish the GET endpoint for standard QR generation and the POST endpoint for premium logo-based QR generation. RapidAPI will proxy requests to these origin routes and inject subscriber credentials at the edge.
Use either static spec URL when creating the API project in RapidAPI.
https://qr-studio.top/openapi/rapidapi.jsonhttps://qr-studio.top/openapi/rapidapi.yaml1,000 requests / month
Low-friction trial plan for testing the endpoint from RapidAPI.
10,000 requests / month
Entry-level production plan for small apps and internal tools.
50,000 requests / month
Best-value plan for growing SaaS products and automation workflows.
200,000 requests / month
High-volume plan for agencies, generators, and bulk automation.
| Parameter | Type | Required | Description |
|---|---|---|---|
data | string | required | The content to encode. Supports URLs, text, Wi-Fi payloads, vCard strings, and similar QR-ready data. |
size | number | optional | Image width and height in pixels. Range: 64-2048. Default: 512. |
format | string | optional | Output format: png or svg. Default: png. |
errorCorrection | string | optional | Error correction level: L, M, Q, or H. Default: M. |
darkColor | string | optional | Hex color for QR modules. Default: #000000. |
lightColor | string | optional | Hex color for background modules. Default: #FFFFFF. |
margin | number | optional | Quiet zone margin in modules. Range: 0-20. Default: 4. |
Use the premium logo endpoint when you need branded QR codes for apps, menus, packaging, event passes, or campaign assets. It accepts a JSON body and returns a PNG with the remote logo safely composited in the center.
POST https://qr-studio.top/api/rapid/generate-with-logo
Content-Type: application/json
{
"data": "https://qr-studio.top",
"logoUrl": "https://qr-studio.top/icon.svg",
"size": 768,
"darkColor": "#0F172A",
"lightColor": "#F8FAFC",
"logoScale": 0.2,
"logoPadding": 16
}| Field | Type | Required | Description |
|---|---|---|---|
data | string | required | The content to encode in the QR code. |
logoUrl | string | required | Public HTTPS URL for a PNG, JPEG, WEBP, or SVG logo. Private IPs and internal hosts are blocked. |
size | number | optional | QR image size in pixels. Range: 64-2048. Default: 512. |
darkColor | string | optional | Hex color for dark modules. Default: #000000. |
lightColor | string | optional | Hex color for light modules. Default: #FFFFFF. |
margin | number | optional | Quiet zone margin in modules. Range: 0-20. Default: 4. |
errorCorrection | string | optional | Error correction level. Default: H for safer logo overlays. |
logoScale | number | optional | Logo size ratio relative to the QR image. Range: 0.1-0.3. Default: 0.22. |
logoPadding | number | optional | Padding around the centered logo. Range: 0-32. Default: 12. |
Default 512px PNG output for a website link.
GET https://qr-studio.top/api/rapid/generate?data=https://qr-studio.topVector QR code for print or scalable UI usage.
GET https://qr-studio.top/api/rapid/generate?data=Hello+World&format=svg&size=256Custom foreground and background colors for light branding.
GET https://qr-studio.top/api/rapid/generate?data=https://example.com&darkColor=%230F172A&lightColor=%23E0F2FE&size=400Maximum resilience for denser payloads or sticker usage.
GET https://qr-studio.top/api/rapid/generate?data=https://example.com&errorCorrection=H&margin=2200 Success
Returns the QR code image directly as image/png or image/svg+xml with CDN-friendly caching headers.
400 Validation Error
{ "error": "Missing required parameter: data" }500 Generation Error
{ "error": "Failed to generate QR code" }502 Logo Fetch Error
{ "error": "Failed to fetch the logo image from logoUrl" }Publish only /api/rapid/generate on RapidAPI. Keep the existing /api/generate route for the web product, and add /api/rapid/generate-with-logo as the premium branded QR endpoint.
For stricter origin protection, set RAPIDAPI_PROXY_SECRETwith the provider secret from RapidAPI. The route also supports a custom fallback header via RAPIDAPI_SHARED_SECRET.
Search-friendly listing language should emphasize QR code API, custom QR code API, QR code with logo API, branded QR code API, and PNG/SVG QR generation for developers.