REST API to generate QR codes in PNG, JPG, SVG, and EPS formats. Simple, fast, and reliable.
Generate QR codes from URLs, text, emails, or phone numbers
Multiple output formats: PNG, JPG, SVG, EPS
Customizable size (default 300px)
5,000 requests/month on free tier
99.99% uptime, 780ms average latency
Example Response:
Create account at omkar.cloud
Get API key from omkar.cloud/api-key
Include API-Key header in requests
curl -X GET " https://qrcode-api.omkar.cloud/qrcode?data=https://github.com&format=png" \
-H " API-Key: YOUR_API_KEY" \
--output qrcode.png
import requests
response = requests .get (
"https://qrcode-api.omkar.cloud/qrcode" ,
params = {"data" : "https://github.com" , "format" : "png" },
headers = {"API-Key" : "YOUR_API_KEY" }
)
with open ("qrcode.png" , "wb" ) as f :
f .write (response .content )
import axios from "axios" ;
import fs from "fs" ;
const response = await axios . get ( "https://qrcode-api.omkar.cloud/qrcode" , {
params : { data : "https://github.com" , format : "png" } ,
headers : { "API-Key" : "YOUR_API_KEY" } ,
responseType : "arraybuffer"
} ) ;
fs . writeFileSync ( "qrcode.png" , response . data ) ;
GET https://qrcode-api.omkar.cloud/qrcode
Headers
Parameter
Required
Description
data
Yes
Content to encode (URL, text, email, phone number)
format
Yes
Output format: png, jpg, jpeg, svg, eps
size
No
Image size in pixels (default: 300, minimum: 1)
Type
Example
URL
https://github.com
Plain text
Hello World
Email
mailto:email@example.com
Phone
tel:+1234567890
Max content length: ~2,900 characters. Shorter content = faster scanning.
response = requests .get (
"https://qrcode-api.omkar.cloud/qrcode" ,
params = {"data" : "https://example.com" , "format" : "png" },
headers = {"API-Key" : "YOUR_API_KEY" }
)
with open ("website_qr.png" , "wb" ) as f :
f .write (response .content )
response = requests .get (
"https://qrcode-api.omkar.cloud/qrcode" ,
params = {"data" : "https://example.com" , "format" : "svg" },
headers = {"API-Key" : "YOUR_API_KEY" }
)
with open ("website_qr.svg" , "wb" ) as f :
f .write (response .content )
response = requests .get (
"https://qrcode-api.omkar.cloud/qrcode" ,
params = {"data" : "https://example.com" , "format" : "png" , "size" : 500 },
headers = {"API-Key" : "YOUR_API_KEY" }
)
with open ("large_qr.png" , "wb" ) as f :
f .write (response .content )
response = requests .get (
"https://qrcode-api.omkar.cloud/qrcode" ,
params = {"data" : "https://example.com" , "format" : "png" },
headers = {"API-Key" : "YOUR_API_KEY" }
)
if response .status_code == 200 :
with open ("qrcode.png" , "wb" ) as f :
f .write (response .content )
elif response .status_code == 401 :
# Invalid API key
pass
elif response .status_code == 429 :
# Rate limit exceeded
pass
Plan
Price
Requests/Month
Free
$0
5,000
Starter
$25
100,000
Grow
$75
1,000,000
Scale
$150
10,000,000
Questions? We have answers.
Reach out anytime. We will solve your query within 1 working day.