Build with the DynamicQR API & MCP Server.
Create editable QR codes, apply brand colors, logos and CTA frames, route iOS/Android visitors, verify custom domains, stream PDF print sheets, and connect AI agents over Streamable HTTP MCP.
Authentication & Rate Limits
Both the REST API (/api/v1) and the Remote MCP server (/mcp) authenticate with a personal Bearer API key. Create and revoke keys anytime in your dashboard at /api-keys (available on Pro and Business plans).
- Base REST API URL: https://dynamicqr.io/api/v1
- Remote MCP Endpoint: https://dynamicqr.io/mcp (Streamable HTTP JSON-RPC 2.0)
- Header: Authorization: Bearer dqr_live_<your_token>
- Rate Limits: Pro = 60 requests/minute per key; Business = 300 requests/minute per key
- Machine Discovery: /openapi.json (OpenAPI 3.1), /llms.txt, /llms-full.txt, /.well-known/mcp.json
API keys are SHA-256 hashed at rest and shown only once on creation. Never expose dqr_live_ tokens in client-side browser code.
60-Second Quickstart
Create a styled dynamic link QR code with a custom slug, CTA frame, and iOS/Android smart redirects in a single API call.
curl -X POST https://dynamicqr.io/api/v1/qr-codes \
-H "Authorization: Bearer $DYNAMICQR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "link",
"name": "App Download Poster",
"link": "https://example.com/app",
"slug": "get-our-app",
"fg_color": "#465fff",
"dot_style": "rounded",
"frame_style": "bottom",
"frame_label": "GET APP",
"routing_rules": [
{"type": "os", "match": "ios", "url": "https://apps.apple.com/app/example"},
{"type": "os", "match": "android", "url": "https://play.google.com/store/apps/details?id=com.example"}
]
}'
const res = await fetch('https://dynamicqr.io/api/v1/qr-codes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.DYNAMICQR_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
type: 'link',
name: 'Autumn Menu',
link: 'https://example.com/autumn-menu',
fg_color: '#465fff',
dot_style: 'rounded',
}),
});
if (!res.ok) throw new Error(await res.text());
const { qr_code } = await res.json();
console.log(qr_code.link_url); // https://dynamicqr.io/qr/...
payload := strings.NewReader(`{"type":"link","name":"Packaging","link":"https://example.com/manual","fg_color":"#111827"}`)
req, _ := http.NewRequest(http.MethodPost, "https://dynamicqr.io/api/v1/qr-codes", payload)
req.Header.Set("Authorization", "Bearer "+os.Getenv("DYNAMICQR_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
import os, requests
res = requests.post(
"https://dynamicqr.io/api/v1/qr-codes",
headers={"Authorization": f"Bearer {os.environ['DYNAMICQR_API_KEY']}"},
json={
"type": "link",
"name": "Event Ticket",
"link": "https://example.com/checkin",
"tags": ["Events", "2026"],
},
timeout=15,
)
res.raise_for_status()
print(res.json()["qr_code"]["link_url"])
use Illuminate\Support\Facades\Http;
$response = Http::withToken(config('services.dynamicqr.token'))
->post('https://dynamicqr.io/api/v1/qr-codes', [
'type' => 'link',
'name' => 'Invoice Payment',
'link' => 'https://example.com/pay/inv-42',
'fg_color' => '#465fff',
])
->throw()
->json();
HTTP Status & Error Format
DynamicQR returns standard HTTP status codes with predictable JSON error bodies so client retries and validation displays stay simple.
- 200 OK / 201 Created: Request succeeded
- 401 Unauthorized: Missing, invalid, or revoked Bearer API key
- 403 Forbidden: Feature requires Pro or Business subscription
- 404 Not Found: QR code, webhook, or domain does not exist in this workspace
- 422 Unprocessable Entity: Validation errors returned under the errors map
- 429 Too Many Requests: Per-key rate limit exceeded (check Retry-After header)
Frequently Asked Questions
Do I need an SDK to use the DynamicQR API?
No. Every endpoint uses standard JSON over HTTPS with Bearer token authentication, so curl, fetch, Go net/http, Python requests, or Laravel Http work out of the box. You can also generate typed clients directly from https://dynamicqr.io/openapi.json.
Which plans include REST API and MCP access?
Both Pro (€9/month, 60 req/min) and Business (€29/month, 300 req/min) include full REST API (/api/v1) and Remote MCP server (/mcp) access.
Are OpenAPI and llms.txt publicly accessible without login?
Yes. /openapi.json, /llms.txt, /llms-full.txt, and /.well-known/mcp.json are public with CORS enabled so Swagger, Postman, Insomnia, and AI coding agents can load them directly.
Ready to ship dynamic QR codes?
Generate a Bearer API key in seconds and connect your backend, Zapier, or AI agent.