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

A2A

JSON-RPC endpoint https://agent.qrcode.io/a2a (A2A 1.0 and 0.3). Send the content to encode as a text part, or a data part with the REST fields; the reply is a message with the image. Agent card: https://qrcode.io/.well-known/agent-card.json

Search

GET https://qrcode.io/.well-known/search?q=… returns Markdown excerpts from qrcode.io's public pages (guides, QR code types, pricing, legal).

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.