API v1

QRminds API and MCP

Create and manage QR codes from your own tools: a CMS, a store, a script. The API works with the same codes and limits as your account. It is part of Pro.

Create an API key in SettingsOpenAPI file (JSON)

Authentication

Send your key as a Bearer token. A key only does what its scopes allow; give each tool its own key and revoke it when you stop using it.

curl https://qrminds.com/api/v1/codes \
  -H "Authorization: Bearer qrm_live_…"
  • codes:readList and read codes, read your plan
  • codes:writeCreate, change and delete codes
  • analytics:readRead scan statistics (counts only, never visitor IPs)
  • images:readDownload QR images as PNG or SVG

Endpoints

Base URL https://qrminds.com/api/v1. Bodies and answers are JSON. Lists are newest first with a cursor.

Endpoints
MethodPathScopeWhat it does
GET/codescodes:readList your codes (limit up to 100, cursor)
POST/codescodes:writeCreate a url or text code, static or dynamic, with optional campaign tags
GET/codes/{id}codes:readRead one code
PATCH/codes/{id}codes:writeRename, pause, or change where a dynamic code goes
DELETE/codes/{id}codes:writeDelete a code
GET/codes/{id}/imageimages:readThe QR image, format=png|svg, size=128 to 2048
GET/codes/{id}/statsanalytics:readScans per day, country and device for a date range
GET/mecodes:readYour plan, usage and rate limits

For a dynamic code, `encoded` is the tracking URL the printed code carries: https://qrminds.com/scan/… (the code id). It never changes after creation. Treat it as an opaque URL and never build it yourself. Newer dynamic codes carry HTTPS://GO.QRMINDS.COM/… (a 12-character code) instead.

Example: a dynamic code for a table card

curl https://qrminds.com/api/v1/codes \
  -H "Authorization: Bearer qrm_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 4f1c-table-12" \
  -d '{"name":"Table 12","type":"url","destination":"https://example.com/menu","dynamic":true,"utm":{"source":"table_card","medium":"qr"}}'

Limits

Limits protect the service and follow your plan.

  • 60 reads and 30 writes per minute per key, 5,000 requests per day per account. Every answer has RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers; a 429 also has Retry-After. Repeated unknown keys from one address make every request from it get a 429 auth_rate_limit_exceeded for a while.
  • Send an Idempotency-Key header with a POST to retry safely: the same key and body return the first answer for 24 hours.
  • Codes created through the API count against the same plan limits as codes created on the site.

MCP server

Ask Claude Code, Cursor or VS Code to create QR codes, change where they point and read scan counts. It uses the same API key, scopes and limits as the REST API (Pro).

Claude Code

claude mcp add --transport http qrminds https://qrminds.com/api/mcp --header "Authorization: Bearer qrm_live_…"

Cursor · .cursor/mcp.json

{
  "mcpServers": {
    "qrminds": {
      "url": "https://qrminds.com/api/mcp",
      "headers": {
        "Authorization": "Bearer qrm_live_…"
      }
    }
  }
}

VS Code · .vscode/mcp.json

{
  "servers": {
    "qrminds": {
      "type": "http",
      "url": "https://qrminds.com/api/mcp",
      "headers": {
        "Authorization": "Bearer qrm_live_…"
      }
    }
  }
}

Tools: list_codes, get_code, create_code, update_code, get_stats. A key without codes:write only sees the reading tools.

Try asking

  • “Create a dynamic QR code called Table 12 for https://example.com/menu”create_code
  • “Point my Table 12 code to https://example.com/winter-menu”list_codes + update_code
  • “How many scans did Table 12 get in the last 7 days, by country?”list_codes + get_stats

Paste your own key from Settings in place of qrm_live_…. ChatGPT and Claude's web connectors sign in with OAuth, which the QRminds MCP server does not offer yet; use a client above.

Errors

Every error has the same shape: a type, a stable code to branch on, a message for people and the request id to quote when you contact us.

{
  "error": {
    "type": "permission_error",
    "code": "plan_limit_reached",
    "message": "Your plan has no dynamic codes left.",
    "param": "dynamic",
    "doc_url": "https://qrminds.com/developers#plan_limit_reached",
    "request_id": "req_…"
  }
}
  • missing_api_keyNo Authorization header was sent.
  • invalid_api_keyThe key is wrong or was revoked.
  • missing_scopeThe key lacks the scope this endpoint needs.
  • plan_requiredThe account behind the key is not on Pro.
  • plan_limit_reachedThe plan has no saved or dynamic codes left.
  • code_frozenThis dynamic code is locked on the current plan.
  • parameter_invalidA field or query value is missing or wrong; see param.
  • static_destination_immutableA static code's destination is printed in the image; create a new code.
  • protected_codeThe destination of a password-protected code can only be changed on qrminds.com.
  • rate_limit_exceededToo many requests; wait for Retry-After seconds.
  • auth_rate_limit_exceededToo many failed authentications from this address; every request from it waits Retry-After seconds, valid keys too.
  • invalid_idempotent_requestThe Idempotency-Key was already used with a different request.