Für Agents

QR-Codes, minus Browser.

FreeQrly spricht HTTP und MCP. Statische QR-Codes aus jedem Agent, Skript oder Workflow erzeugen — ohne Key, ohne Anmeldung, ohne Ablauf. Wer eine Anfrage stellen kann, kann einen Code machen.

Verbindungsmöglichkeiten

🧰 MCP-Server

Add https://freeqrly.com/mcp to your MCP client. generate_qr needs no auth; dynamic_qr_* tools manage your editable dynamic codes with an API token. Works with Claude Code, Cursor, and anything speaking Streamable HTTP.

🌐 HTTP-API

Ein simpler GET-Endpunkt, der SVG liefert. CORS ist weit offen, sodass Browser, curl und Serverless-Funktionen ihn direkt aufrufen können. Authenticated endpoints manage dynamic codes with a Bearer token.

📜 Agent-Skill

Eine SKILL.md mit Payload-Rezepten liegt im Repo unter skills/qr-generator/. Zeig deinen Agent darauf und er kennt den Rest.

🤖 llms.txt

/llms.txt beschreibt die ganze Seite für Crawler und Assistenten — Endpunkte, Payload-Formate und Seitenübersicht in einer Datei.

HTTP-API

GET https://freeqrly.com/api/qr?data=TEXT&size=1024&margin=4&color=2F4A62&bgcolor=ffffff&ecc=M

Liefert image/svg+xml. Nur data ist erforderlich; alles andere hat einen sinnvollen Standardwert. Fehler kommen als JSON mit einem error-Feld zurück.

curl "https://freeqrly.com/api/qr?data=https://example.com&size=1024" \
  -o qr.svg

# WiFi QR code for guests
curl "https://freeqrly.com/api/qr?data=WIFI:T:WPA;S:CafeNet;P:s3cret;;" \
  -o wifi.svg

Parameter

  • data — zu kodierender Text (erforderlich, max. 2000 Zeichen). URLs, WLAN-Strings, vCards, Klartext.
  • size — Ausgabegröße in px, 128–2048 (Standard 1024).
  • margin — Ruhezone in Modulen, 0–10 (Standard 4).
  • color / bgcolor — 6-stelliges Hex, kein # (Standards 2F4A62 / ffffff).
  • ecc — Fehlerkorrektur L, M, Q, H (Standard M). Für Druck oder Logos Q/H nutzen.

Dynamic codes API (authenticated)

Dynamische Codes bleiben nach dem Drucken bearbeitbar und verfolgen Scans — dieselben Codes, die du im Dashboard verwaltest, mit demselben Kontingent (20 kostenlos — während der aktuellen zeitlich begrenzten Aktion für alle unbegrenzt). Erstelle im Dashboard unter API Tokens ein Token (wird nur einmal angezeigt) und übergib es dann als Bearer-Token:

POST https://freeqrly.com/api/codes
export FQ_TOKEN="fqly_..."  # from your dashboard

# create (same validation + quota as the dashboard UI)
curl -X POST https://freeqrly.com/api/codes \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"type":"url","payload":"https://example.com/menu"}'
# → {"code":"aB3x9Qz","shortUrl":"https://freeqrly.com/q/aB3x9Qz"}

# list (with quota) · stats · edit · delete
curl https://freeqrly.com/api/me/codes -H "Authorization: Bearer $FQ_TOKEN"
curl https://freeqrly.com/api/codes/aB3x9Qz/stats -H "Authorization: Bearer $FQ_TOKEN"
curl -X PATCH https://freeqrly.com/api/codes/aB3x9Qz \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"type":"url","payload":"https://example.com/new-menu"}'
curl -X DELETE https://freeqrly.com/api/codes/aB3x9Qz \
  -H "Authorization: Bearer $FQ_TOKEN"

Tokens are per-user, revocable anytime from the dashboard, and deleted with your account. A token can never create or revoke other tokens — that requires a login session. Without a token these endpoints return 401; over quota returns 403 quota_exceeded.

MCP

POST https://freeqrly.com/mcp

Standard Streamable HTTP: initialize, then tools/list / tools/call. The generate_qr tool takes data, size, color, bgcolor, ecc and returns a ready-to-download SVG URL — no auth needed.

{
  "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": {
    "name": "generate_qr",
    "arguments": { "data": "https://example.com", "size": 1024 }
  }
}

With an Authorization: Bearer <api_token> header, five more tools appear: dynamic_qr_create, dynamic_qr_list, dynamic_qr_update, dynamic_qr_delete, dynamic_qr_stats — your editable dynamic codes, same quota as the dashboard.

curl -X POST https://freeqrly.com/mcp \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"dynamic_qr_create",
                 "arguments":{"type":"url","payload":"https://example.com/menu"}}}'

Payload-Rezepte

Website : https://example.com/menu
WiFi    : WIFI:T:WPA;S:CafeNet;P:s3cret;;
Contact : BEGIN:VCARD\nVERSION:3.0\nN:Ada Lovelace\nTEL:+15550100\nEND:VCARD
Place   : geo:37.7749,-122.4194
SMS     : sms:+15550100?body=Hello

Faire Nutzung

Es ist kostenlos, aber sei nett: Cache Ergebnisse, statt denselben Code neu anzufordern, und halt automatisierten Traffic in vernünftigem Rahmen. Pro-IP-Ratenbegrenzungen gelten. Statische Codes sind deterministisch — derselbe Input ergibt immer denselben Output, also ist Caching trivial.