/// GENERATE
1 credit

QR Code API — generate at scale

URL, text, WiFi, vCard, email, phone and SMS payloads — one at a time or 100 per call.

/// Quick answer

The QR Code API generates static QR codes — URL, text, WiFi, vCard, email, phone or SMS payloads — as PNG or SVG with custom colours and selectable error correction. Send an array of up to 100 content objects and receive a ZIP, so a thousand asset tags is ten calls. Static codes never expire and depend on no redirect service. One credit per code.

Try QR Code API — free →Read the docsPrefer a UI? Use the free QR code generator

How does the QR Code API work?

One HTTP request from any language. Every ASHDOCS endpoint uses the same X-API-Key header.

curl -X POST https://www.ashdocs.com/api/v1/tools/qr-code \
  -H "X-API-Key: ash_live_..." \
  -H "Content-Type: application/json" \
  -d '{"content":{"type":"url","value":"https://example.com/menu"},"options":{"format":"svg","error_correction":"Q","size_px":600}}'

Common use cases

Frequently asked questions

Do the QR codes expire?+

No. These are static codes — the payload is encoded directly in the image, there is no redirect service, and printed codes work indefinitely.

How do I generate QR codes in bulk?+

Send content as an array of up to 100 objects in one request. The response is a ZIP of images, and bulk costs one credit per code.

Can I customise colours and error correction?+

Yes — options accepts foreground/background colours, size, margin and an error_correction level of L, M, Q or H. Use Q or H if you plan to overlay a logo.

What payload types are supported?+

URL, plain text, WiFi credentials, vCard contact cards, email, phone and SMS — set content.type and pass the matching value fields.

RELATED TOOLS