QR code API & MCP server
Generate static QR codes from your own code or AI agent. Same promise as the site: codes contain your data directly and never expire. Beta: free tier is rate-limited; paid API keys are coming.
REST: /api/v1/qr
GET https://fixedqr.com/api/v1/qr?data=https://example.com&format=png&size=512
POST https://fixedqr.com/api/v1/qr
Content-Type: application/json
{"type":"wifi","ssid":"Cafe Guest","password":"secret","format":"svg","fg":"#0f766e"}
| Param | Values | Default |
|---|---|---|
| type | url, text, wifi, vcard | url |
| data | URL or text (url/text), max 2000 chars | required |
| ssid, password, encryption, hidden | WiFi fields; encryption WPA, WEP or nopass | WPA |
| first_name, last_name, phone, email, org, url | vCard fields | |
| format | png, svg | png |
| size | 64–2048 px (PNG snaps down to whole pixels per module) | 512 |
| fg, bg | 6-digit hex colors | #000000 / #ffffff |
| ec | L, M, Q, H | M |
Errors return JSON {"error","message"} with 400, 401 (bad API key) or 429 (rate limited, see Retry-After).
Limits and keys
- Free: no key, 60 requests per minute per IP.
- Paid (coming soon): send
Authorization: Bearer YOUR_KEYfor higher limits and editable codes.
MCP server for AI agents
Remote MCP endpoint (streamable HTTP): https://fixedqr.com/mcp. Tool: generate_qr (same params as the REST API; returns a PNG image or SVG text).
{ "mcpServers": { "fixedqr": { "url": "https://fixedqr.com/mcp" } } }