Q

QR Code Generator & Reader API

Freemium

Create QR codes for links, text, UPI payments, Wi-Fi logins and contact cards (PNG/SVG, custom colours) and read QR codes from images.

No reviews yet
0.0Popularity—Service Level—Latency
Othersqr codeupi qr codewifi qr codeqr scanner

Documentation

Create QR codes for links, text, UPI payments, Wi-Fi logins and contact cards (PNG/SVG, custom colours) and read QR codes from images.

What you get

  • QR codes for any link or text — PNG or SVG, custom colours and size
  • UPI payment QR — scan to pay in any UPI app
  • Wi-Fi QR — scan to join a network
  • vCard QR — scan to save a contact
  • Read QR codes from images

Great for restaurants and shops, payments, events, business cards, packaging and marketing.

Quick start

Subscribe to a plan (the Basic plan is free), then call the API at https://qr-code-generator.p.apihiver.com with your key in the X-API-Key header:

curl "https://qr-code-generator.p.apihiver.com/v1/generate?data=https://apihiver.com" \
  -H "X-API-Key: YOUR_API_KEY" -o output

Endpoints

MethodPathWhat it does
GET/v1/generateMake a QR code image for text, a URL, UPI payment link, Wi-Fi login…
GET/v1/upiQR code for a UPI payment (scannable by any UPI app)
GET/v1/wifiQR code that joins a Wi-Fi network when scanned
GET/v1/vcardQR code with a contact card (scan to save the contact)
POST/v1/decodeRead QR codes from an image (upload, url or base64)

Open the Endpoints tab to see every parameter, example request and example response, and to try the API live.

Sending a file

Endpoints that take an image accept any of:

  • multipart/form-data with the image in the file field, plus options as form fields
  • JSON {"url": "https://…"} pointing at a public image (private/internal addresses are refused)
  • JSON {"base64": "…"} (a data: URL prefix is fine)

Max size: 25 MB. Files are processed in memory and never stored.

Errors

Every error is JSON with the same shape:

{"error": {"code": "INVALID_INPUT", "message": "data: Field required"}}
HTTPCodeMeaning
400INVALID_INPUTA parameter is missing or has the wrong format — the message says which
401UNAUTHORIZEDMissing or invalid X-API-Key
413TOO_LARGEThe file is over the size limit
429—Plan quota or rate limit reached (see the X-RateLimit-* headers)
502 / 503 / 504—A data source or the API server is temporarily unavailable — retry after a few seconds

Data & privacy

Data comes from generated and decoded on our servers (segno and ZBar).

QR Code Generator & Reader API FAQ

Is the QR Code Generator & Reader API free?
Yes. The Basic plan is free and includes 50 requests per month — no card needed. Paid plans start at ₹499 per month for 2,000 requests.
How much does the QR Code Generator & Reader API cost?
Basic: free for 50 requests; Pro: ₹499/month for 2,000 requests; Ultra: ₹1,999/month for 10,000 requests; Mega: ₹4,999/month for 30,000 requests. Billing is monthly and you can cancel any time.
How do I use the QR Code Generator & Reader API?
Subscribe to a plan on APIHiver, create an API key in the Console, then send requests to https://qr-code-generator.p.apihiver.com with your key in the X-API-Key header. You can also try every endpoint in the browser playground first.
What endpoints does the QR Code Generator & Reader API have?
It has 5 endpoints: Make a QR code image for text, a URL, UPI payment link, Wi-Fi login… (GET /v1/generate); QR code for a UPI payment (scannable by any UPI app) (GET /v1/upi); QR code that joins a Wi-Fi network when scanned (GET /v1/wifi); QR code with a contact card (scan to save the contact) (GET /v1/vcard); Read QR codes from an image (upload, url or base64) (POST /v1/decode).
What are the QR Code Generator & Reader API rate limits?
Basic: 1 request per second; Pro: 2 requests per second; Ultra: 4 requests per second; Mega: 8 requests per second. Monthly quotas depend on the plan; every response includes X-RateLimit headers showing what's left.
Can I use one API key for the QR Code Generator & Reader API and other APIs?
Yes. One APIHiver key works for every API you subscribe to, so you don't need a separate account or key per provider.

Reviews

Loading reviews…

Log in to write a review.