QR Code Generator
Generate an SVG QR code image from any text or URL
Parameters
| name | in | type | required | description |
|---|---|---|---|---|
text |
query | string | required | Content |
size |
query | number | optional |
Size in pixels
range 50 to 1000
default 200
|
format |
query | string | optional |
Format
one of
svg default svg
|
color |
query | string | optional |
Foreground Color
default #1a1a2e
|
bg |
query | string | optional |
Background Color
default #ffffff
|
margin |
query | number | optional |
Margin
range 0 to 10
default 1
|
Request
Send your key in the X-API-Key header. More languages and patterns live on the
code examples page.
curl -s "https://apixies.io/api/v1/qr-code?text=https%3A%2F%2Fgithub.com%20or%20any%20text" \ -H "X-API-Key: YOUR_API_KEY"
Response
The result sits under data in the standard envelope. See the
response format guide for errors and status codes.
returns
- body
- The QR code as an SVG image, served as image/svg+xml.
HTTP/1.1 200 OK Content-Type: image/svg+xml <raw file bytes, not a JSON envelope>
Authentication and limits
This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.
Standard rate limits apply to this endpoint.
Common use cases
Marketing and print materials
Generate QR codes for business cards, flyers, and product packaging. Link to websites, contact cards, or promotional pages.
Event ticketing
Create unique QR codes for event tickets, boarding passes, or access badges. Scan for quick validation at entry points.
Inventory and asset tracking
Generate QR code labels for inventory items, equipment, or assets. Link to detailed information pages or tracking systems.
More documentation
Get a free API key
A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.