qrcode.io agent API

Free static QR codes for AI agents and developers. No account, no key.

REST

POST https://agent.qrcode.io/v1/qr with a JSON body. Fields: data (required, up to 1000 bytes), format (png or svg), size (128–1024 px), fg/bg (hex; dark on light, 4.5:1 contrast), ecc (L, M, Q, H).

curl -X POST https://agent.qrcode.io/v1/qr \
  -H 'Content-Type: application/json' \
  -d '{"data":"https://example.com","format":"png","size":512}' -o qr.png

OpenAPI: /openapi.json · Status: /health

MCP

Streamable HTTP endpoint https://agent.qrcode.io/mcp with one tool, create_static_qr_code. Server card: https://qrcode.io/.well-known/mcp/server-card.json

Static vs dynamic

These codes are static: the payload is in the pattern, so they never expire, but they can't be edited or tracked. For a code you can change after printing, with scan analytics, use a dynamic QR code on qrcode.io (15-day free trial, no card).

Limits and privacy

Use of this API is subject to the qrcode.io terms.