Live Demo

API Documentation

Base URL: https://qrsapi.vercel.app

GET /api/qr/generate

Generate QR code via GET request

GET /api/qr/generate?text=HelloWorld&size=200&margin=1&format=png

POST /api/qr/generate

Generate QR code with custom options

POST /api/qr/generate
Content-Type: application/json

{
  "text": "Hello World",
  "size": 300,
  "margin": 2,
  "format": "png",
  "color": "#FF0000",
  "background": "#FFFFFF"
}

GET /api/qr/info

Get API usage information

GET /health

Health check endpoint