Render a QR code image
A QR code image as SVG (default), PNG or EPS, with no token.
No token needed, and it doesn't use your daily quota: put the URL straight into an <img> tag. The same query always returns the same bytes, so responses are cached for a year. Colors are hex without # (or with # encoded as %23). Limit: 300 requests a minute per IP address. More in the Image API guide.
data*stringText or URL to encode
1 <= length <= 2048size?integerWidth and height in pixels
64 <= value <= 2048512fg?stringForeground (module) color as hex
^#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"#000000"bg?stringBackground color as hex
^#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"#ffffff"eyeColor?stringColor of the three corner eyes (defaults to fg)
^#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$dotColor?stringColor of the dot inside each corner eye (defaults to fg)
^#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$body?stringShape of the data modules
"square""circle""circle-large""square""diamond""circle-mixed""pacman""rounded""small-square""vertical-line""horizontal-line""liquid""liquid-horizontal""liquid-vertical""classy""classy-rounded""leaf""plus""hexagon""star""heart""random-dots""mosaic""octagon"eye?stringShape of the corner eye frames
"square""square""rounded""gear""circle""diya""extra-rounded""message""pointy""leaf""drop""octagon""bevel""squircle""cushion""shield""petal""leaf-reverse"dot?stringShape of the dot inside each corner eye
"square""square""rounded""circle""message""message-reverse""diya""diya-reverse""rounded-triangle""leaf""drop""plus""cross-rounded""hexagon""octagon""flower""heart""squircle""dots""extra-rounded""leaf-reverse""drop-reverse"level?stringError correction level: L 7%, M 15%, Q 25%, H 30%
"Q""L""M""Q""H"margin?integerQuiet zone around the code, in modules
0 <= value <= 164template?stringDecorative frame template
"default""Arrow""StandardBox""SquareBorder""StrikedBox""Halloween"format?stringImage format
"svg""svg""png""eps"The image. Cache-Control: public, max-age=31536000, immutable; CORS is open to every origin.
response?stringcurl -X GET 'https://api.qrdx.dev/v1/qr?data=https%3A%2F%2Fqrdx.dev&format=svg'"<svg height=\"512\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"#ffffff\" height=\"512\" width=\"512\" x=\"0\" y=\"0\"/><g fill=\"#000000\">…</g></svg>"Last updated on