Web data & tools
QR Code Generator & Reader API
QR code and barcode generator (PNG, SVG, logo, Wi-Fi, vCard, SEPA) plus a reader for photos.
Base URLhttps://qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com/v1/qropenapi.json
- Free plan
- 10 credits a day
- Paid plans
- from $3.99 a month
- One credit
- 1 credit per code generated; 5 per image read (every code found).
- Endpoints
- 5, on
/v1/qr
Example call
curl -X POST "https://qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com/v1/qr/read" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{
"url": "https://upload.wikimedia.org/wikipedia/commons/0/06/DataMatrix_code_on_a_bottle_of_milk.jpg"
}'
import requests
url = "https://qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com/v1/qr/read"
payload = {
"url": "https://upload.wikimedia.org/wikipedia/commons/0/06/DataMatrix_code_on_a_bottle_of_milk.jpg"
}
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com",
}
r = requests.post(url, json=payload, headers=headers)
print(r.json())
const res = await fetch("https://qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com/v1/qr/read", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com",
"Content-Type": "application/json",
},
body: JSON.stringify({
"url": "https://upload.wikimedia.org/wikipedia/commons/0/06/DataMatrix_code_on_a_bottle_of_milk.jpg"
}),
});
console.log(await res.json());
{
"count": 1,
"codes": [
{
"format": "data_matrix",
"format_name": "Data Matrix",
"text": "(01)04607078117294(21)5fGHNL(93)H/xN",
"content_type": "gs1",
"symbology_identifier": "]d2",
"orientation": -8,
"position": {
"top_left": { "x": 251, "y": 205 },
"top_right": { "x": 393, "y": 184 },
"bottom_right": { "x": 422, "y": 328 },
"bottom_left": { "x": 273, "y": 350 },
"box": { "x": 251, "y": 184, "width": 171, "height": 166 }
},
"parsed": {
"kind": "gs1",
"gs1": [
{ "ai": "01", "name": "GTIN", "value": "04607078117294" },
{ "ai": "21", "name": "Serial number", "value": "5fGHNL" },
{ "ai": "93", "name": "Company internal information", "value": "H/xN" }
],
"product": {
"gtin": "04607078117294",
"check_digit_valid": true,
"prefix_country": "Russia",
"restricted": false
}
}
}
],
"image": { "width": 706, "height": 710, "mime_type": "image/jpeg" }
}
Read Codes from Image URL: POST /v1/qr/read. A real call and its real response.
What the QR Code Generator & Reader API returns
Every code this API ships is scanned back before it leaves. Generate QR codes for links, Wi-Fi logins, vCards, SEPA payments and calendar events, in your brand colours with your logo, as PNG or SVG; print EAN, UPC, ISBN, Code 128, GS1-128, DataMatrix, PDF417 and Aztec barcodes with their check digits computed; and read every code in a photo, with the content already parsed (Wi-Fi fields, contact, GS1 batch and expiry dates, payment details). From $3.99 a month for 50,000 codes.
- Links and text
- Any URL or text, UTF-8 (accents, Chinese, emoji)
- Wi-Fi login
- SSID, password and security; phones join the network in one tap
- Contact cards
- VCard 3.0 or MeCard, with phones, emails, address, website
- SEPA payment (EPC / GiroCode)
- IBAN validated (length and checksum), amount, reference; European banking apps pre-fill the transfer
- Email, SMS, WhatsApp, phone call, map location, calendar event
- Design
- Dark and light colours (with a contrast check), transparent background, quiet zone, size, error correction L/M/Q/H, Micro QR
- Logo in the centre
- From a link, error correction raised to H, still scanned back
- 16 barcode types
- EAN-13, EAN-8, UPC-A, UPC-E, ISBN, ITF-14, Code 128, GS1-128, Code 39, Code 93, ITF, Codabar, Data Matrix, GS1 DataMatrix, PDF417, Aztec
- Reader
- QR, Micro QR, rMQR, DataMatrix, Aztec, PDF417, MaxiCode, EAN/UPC, Code 128/39/93, ITF, Codabar, DataBar, several per image, rotated, inverted, low contrast
- Parsed content
- Wi-Fi, vCard, MeCard, email, SMS, phone, geo, events, EPC and Swiss QR-bill payments, GS1 AIs (GTIN, batch, expiry, serial, weights), EAN/UPC with check digit and GS1 country, ISBN, ISSN
Endpoints
Host qr-code-generator-reader-barcodes-logo-svg.p.rapidapi.com, header X-RapidAPI-Key. Parameters and examples for each one are in the API reference.
QR Codes
QR codes of a text, URL, Wi-Fi, contact, payment or event, with colours and a logo.
-
GET
/v1/qr/qrcodeQR code of a text or URL, as PNG or SVG -
POST
/v1/qr/qrcodeQR code of a Wi-Fi network, vCard, payment, event... with a logo
Barcodes
EAN, UPC, ISBN, Code 128, GS1-128, DataMatrix, PDF417, Aztec.
Reader
Every QR code and barcode in a photo, decoded and parsed.
Use cases
- Restaurants, hotels, events. Menu links and Wi-Fi codes in brand colours, on every table
- Invoices and donations. SEPA payment codes that banking apps pre-fill, IBAN checked
- Retail and e-commerce. EAN/UPC labels with correct check digits; product scans to GTIN and batch
- Logistics and pharma. GS1-128 and GS1 DataMatrix with batch, expiry and serial, printed and read back
- Ticketing. Aztec and PDF417 tickets, and reading them at the gate
- Business cards and badges. VCard codes, and contact fields parsed from scanned cards
- Bulk jobs. Thousands of codes from a spreadsheet, each verified
Tutorial
Web data & tools
Pricing
1 credit per code generated; 5 per image read (every code found). Failed calls are never billed.
| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 10 / day | resets every day |
| PRO | $3.99/mo | 50,000 / month | $0.0008 per credit |
| ULTRA | $9.99/mo | 150,000 / month | $0.0008 per credit |
| MEGA | $29.99/mo | 500,000 / month | $0.0008 per credit |
Subscribe on RapidAPI (opens in a new tab)
No code: the Apify actor
The QR Code Generator & Reader - Bulk QR Codes & Barcodes actor runs the same engine on a list of inputs and exports a table (JSON, CSV, Excel, Google Sheets). It is billed per result; free-plan users get 50 codes or 20 images per run.
| Event | Charged for | Price |
|---|---|---|
code-generated | Each code generated and stored | $0.0005 |
image-read | Each image read | $0.0008 |
Questions about the QR Code Generator & Reader API
Will my QR code scan on every phone?
Can I use my brand colours and logo?
dark, light (or transparent), and logo_url with logo_size from 0.1 to 0.3. With a logo the error correction becomes H, and if the logo hides too much the call is refused (unscannable), not billed.Does it keep my data?
Do you read barcodes from PDFs?
How do I get the image in JSON?
output=json (GET) or "output": "json" (POST): base64 holds the file, plus the encoded text, QR version and error correction.











