Skip to main content

Base URL

URL QR codes

GET request

Shortcut:

POST request

Request parameters

Required

Type-specific

Styling

Output

Response formats

JSON

SVG

Returns raw SVG content with Content-Type: image/svg+xml.

PNG

Returns binary PNG with Content-Type: image/png.

Response headers

Error responses

400 Bad Request

Check code and hint, correct the request, retry once.

413 Payload Too Large

Content exceeds limits. Shorten the payload or encode a URL that points to the full data.

422 Unprocessable Entity

Valid JSON but invalid QR content. Check field constraints.

429 Too Many Requests

Rate limited. Wait for the duration in Retry-After header.

Rate limits

  • 60 requests per minute per caller per edge location
  • Distributed across Cloudflare’s network