QR Generator

Generate QR code images from text or URL input with size and format options.

1 endpoint9 calls1/1 passing
Get API key

Encode input text into a QR code image.

GET/v1/…qr-generate/encode
passing · 0.0s5m cache

Try it

Checking your keys…

Parameters

data

string · query · required

Text/URL to encode (max 2KB).

size

number · query · optional

Image size in pixels (100-1000). Default 300.

format

enum · query · optional

Output format. Default png.

Example response

{"project":"web-tools:qr-generate",  "data": {"ok":true,"size":500,"format":"png","imageUrl":"https://api.qrserver.com/v1/create-qr-code/?data=https%3A%2F%2Fzpi.web.id&size=500x500&format=png"  },"timestamp":"2026-06-13T02:24:53Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "web-tools:qr-generate",  "encode",  { data: "https://zpi.web.id", size: 500, format: "png" });