Data Generation

QR Code Generator

Generate a styled QR code with custom colors, logo, and design options

post/v1/qrcodegenerator

Request

  • Base URL: https://api.apiverve.com
  • URL: https://api.apiverve.com/v1/qrcodegenerator
  • Auth: API key in header x-api-key

Request body

valuestring required

The text or data to encode in the QR code

typestring

The type of data being encoded. Advanced types (wifi, vcard) are premium.

formatstring

Output format. Vector formats (svg, webp) are premium.

sizenumber

Size of the QR code in pixels (50-2048)

marginnumber

Margin around the QR code in pixels (0-100)

colorstring

Foreground color as hex code (e.g., #000000)

backgroundColorstring

Background color as hex code (e.g., #ffffff)

dotStylestring

Style of QR code dots

cornerSquareStylestring

Style of corner squares

cornerDotStylestring

Style of corner dots

gradientstring

Gradient configuration with type (linear, radial) and colorStops array

logostring

URL of logo image to place in center of QR code

logoSizenumber

Size of logo relative to QR code (0.1-0.5)

logoMarginnumber

Margin around logo in pixels

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.