Documentation

Add QR code generation to any app, AI agent, or website in under a minute.

Quick Start

Choose your integration method:

MCP Server

One command to add QR generation to any AI client.

Claude Code

claude mcp add qrzap -- npx qrzap@latest

Claude Desktop / Cursor / VS Code

{
  "mcpServers": {
    "qrzap": {
      "command": "npx",
      "args": ["qrzap@latest"]
    }
  }
}

Then ask your AI: "Generate a QR code for https://example.com"

REST API

Returns a QR code image directly. No API key needed. Rate limited to 60 requests per minute per IP.

GET
https://qrzap.fun/api/generate?type=url&url=https://example.com
POST
curl -X POST https://qrzap.fun/api/generate \
  -H "Content-Type: application/json" \
  -d '{"type":"wifi","ssid":"MyNetwork","password":"secret123"}'\
  -o wifi.png

Live Preview

QR Code for qrzap.fun

This QR is served live from the API

Try changing the url parameter

Returns image/svg+xml (vector SVG). Works as an image source in HTML, Markdown, and any browser. See all parameters

Embed in HTML

Use the API URL directly as an image source. No JavaScript needed.

HTML
<img
  src="https://qrzap.fun/api/generate?type=url&url=https://yoursite.com"
  alt="QR Code"
  width="200"
  height="200"
/>
Markdown
![QR Code](https://qrzap.fun/api/generate?type=url&url=https://yoursite.com)

Examples

JavaScript
const res = await fetch("https://qrzap.fun/api/generate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ type: "vcard", firstName: "John", phone: "+1234567890" })
});
const blob = await res.blob();
Python
import requests
r = requests.get("https://qrzap.fun/api/generate", params={"type": "url", "url": "https://example.com"})
with open("qr.png", "wb") as f:
    f.write(r.content)