Art QR Codes

Features / QR code API

Free QR code API

One GET request returns a static QR code as SVG or PNG. No key and no sign-up; fair use is 120 requests per 10 minutes per address.

Request

GET https://artqrcodes.com/api/v1/qr?data=https%3A%2F%2Fyourbusiness.com&format=svg
ParameterMeaning
dataRequired. The text or link to encode, URL-encoded, up to 1,500 characters.
formatsvg (default, vector) or png.
sizePNG width in pixels, 100 to 2,000 (default 600). Rounded down to whole modules.
dark, lightColours as #rrggbb, written %23rrggbb in the URL. Keep dark darker than light.
marginQuiet zone in modules, 0 to 10 (default 4; scanners need at least 2).
eccError correction l, m (default), q or h. Use h if you will place a logo on top.

Try it

A QR code made by this API

Examples

<img src="https://artqrcodes.com/api/v1/qr?data=https%3A%2F%2Fyourbusiness.com%2Fmenu&format=png&size=400" alt="Menu QR code">
curl -o code.svg "https://artqrcodes.com/api/v1/qr?data=Hello&dark=%231d3a2f"

Errors return JSON with an error message and status 400, or 429 when over the limit.

Questions

Is the API free?
Yes, for static codes, with a fair-use limit of 120 requests per 10 minutes per address. No key or sign-up.
Can the API make dynamic or art codes?
Not yet. It makes static codes, which print your data itself and never depend on us. Dynamic and art codes are made in the app.
Which formats can I get?
SVG (true vector, best for print) or PNG at a size from 100 to 2,000 pixels.
Can I use it in a commercial product?
Yes. Cache the images you generate instead of calling us on every page view, and keep within the limit.