Codes & Validation · V0.4.0 · 17 ENDPOINTS
QR & Barcode API

A small square. A lot of possibilities.

Generate QR codes and barcodes, read symbols from images, and validate structured payment payloads.

Production access through RapidAPI & ApyHub.
Compare available capabilities & plans

From input to outputSample preview
INPUTpayload.json
{
  "data": "https://example.com",
  "options": {
    "format": "png",
    "size": 384
  }
}
OUTPUTqr.png
READY TO SCANStored sample QR code for example.comhttps://example.com
Scannable links 1 / 3

Stored QR sample. Static codes do not include hosted redirects or scan analytics.

Try this in the Playground

Try it in the Playground.

Pick an example to open it in the Playground. Change anything and run it yourself.

Open full Playground

Your first request

import os
import httpx

base_url = "https://qr-barcode-api-generate-style-decode-validate.p.rapidapi.com"
headers = {
    "X-RapidAPI-Key": os.environ["RAPIDAPI_KEY"],
    "X-RapidAPI-Host": "qr-barcode-api-generate-style-decode-validate.p.rapidapi.com",
}
payload = {
    "data": "https://example.com",
    "options": {
        "format": "png",
        "size": 384,
    },
}
response = httpx.post(
    base_url + "/v1/generate",
    headers=headers, json=payload, timeout=120
)
response.raise_for_status()
with open("result.png", "wb") as output:
    output.write(response.content)
7 MIN
Generate, decode and validate a QR codeComplete task tutorial

Access & plans

Subscribe through a marketplace. They issue credentials, enforce plan allowances and handle billing. Check each capability’s listing for current plans and units.

CapabilityRapidAPIApyHub
Generate QR codes & barcodes Live ○ Availability pending
Read QR codes & barcodes Live Live
Payment & GS1 validation Live Live

Good to know

Static QR codes only; no hosted redirects or scan analytics. Digital verification does not guarantee every physical print will scan. Styled codes and PDF require an eligible marketplace plan.

Website demos use small inputs and an anonymous allowance. Production limits depend on your marketplace plan.

Demo limits & data handling

FAQ

Which marketplace should I pick?

Choose an available listing for the capability you need. Compare its current plans, allowance and billing units. Examples on this site support both providers.

How does the demo allowance work?

When enabled, demos share 10 light and 2 heavy dispatched attempts per UTC day, with browser and network limits. This is an anonymous allowance, not a guaranteed per-person entitlement.

What if a live demo is paused?

Use the supplied sample preview and integration examples. Available marketplace listings provide production access independently of the website’s demo gate.

Can I use my own files?

Use the editable input fields to preview your request. Review processing and retention details before submitting sensitive data.