API Directory › 🔧 Utilities & Media › QR Code (goQR)
No authHTTPSCORS

QR Code (goQR) API

Generate and read QR codes via a simple, free, no-key API.

Auth
No auth needed
HTTPS
Yes
CORS
Yes
Open QR Code (goQR) docs ↗

What it does

The goqr.me API (api.qrserver.com) creates QR codes from text or URLs as PNG, GIF, JPEG, SVG or EPS, with control over size, error correction, margin, and foreground/background colour. It can also decode a QR code from an image URL or upload.

Base URL

https://api.qrserver.com/v1

Authentication

None. Create: /create-qr-code/?data={text}&size=200x200&format=png&ecc=M&margin=0&color=0-0-0&bgcolor=255-255-255. Read: /read-qr-code/?fileurl={image_url} (or POST a file as file).

Code examples

HTML
<img src="https://api.qrserver.com/v1/create-qr-code/?data=https%3A%2F%2Flarzos.com&size=180x180"
     alt="QR code">
curl (create + decode)
curl -s "https://api.qrserver.com/v1/create-qr-code/?data=hello&size=150x150" -o qr.png
curl -s "https://api.qrserver.com/v1/read-qr-code/?fileurl=https://example.com/qr.png"

Rate limits & quotas

No key. Fair-use rate limiting applies — the docs suggest keeping under a few requests per second and caching generated codes (a given data + options always yields the same image). Max size is 1000x1000. data must be URL-encoded.

Key response fields

(create, image)The QR image in the requested format
eccError correction: L, M, Q, H (higher = more damage-tolerant, denser)
color / bgcolorR-G-B decimal triples
(read) [].symbol[].dataDecoded text (null with an error if unreadable)

Common errors

(unencoded data)Spaces and &/? in data break the query — URL-encode it.
414 / truncated QRVery long data plus low ecc — raise size or lower ecc; keep URLs short.
(read) symbol.errorThe source image wasn’t a readable QR — higher resolution / less blur helps.

When to use it (and alternatives)

The simplest no-signup way to generate QR codes for links, Wi-Fi credentials, vCards, event tickets and menus — and to decode them server-side. For a self-hosted option, any QR library (qrcode in Python/JS) removes the network dependency.

FAQ

How do I make a scannable QR for a long URL?

Shorten the URL first (is.gd, TinyURL), then encode the short link. Less data = a lower-density, easier-to-scan code.

Which error-correction level should I use?

M is a good default. Use Q/H if the code will be printed small, on a curved surface, or might get scuffed — at the cost of a denser pattern.

Can I brand the colours?

Yes — color and bgcolor as R-G-B. Keep strong contrast (dark on light) or scanners will struggle.

New to APIs?

Short guides for working with this API — and any other.

🛠️ Handy LarzOS tools

Free tools to help you work with this API.

QR GeneratorImage Compressor

Related Utilities & Media APIs

← Back

More Utilities & Media APIs · All 196 APIs