एजेंट्स के लिए

QR कोड, बिना ब्राउज़र के।

FreeQrly HTTP और MCP बोलता है। किसी भी एजेंट, स्क्रिप्ट या वर्कफ़्लो से स्टैटिक QR कोड बनाएं — न की, न साइन-अप, न एक्सपायरी। अगर आप रिक्वेस्ट कर सकते हैं, तो कोड बना सकते हैं।

कनेक्ट करने के तरीके

🧰 MCP सर्वर

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

SVG लौटाने वाला एक सीधा GET एंडपॉइंट। CORS पूरी तरह खुला है, इसलिए ब्राउज़र, curl और सर्वरलेस फंक्शन सब इसे सीधे कॉल कर सकते हैं। Authenticated endpoints manage dynamic codes with a Bearer token.

📜 एजेंट स्किल

पेलोड रेसिपी वाली एक SKILL.md रेपो में skills/qr-generator/ पर रहती है। अपने एजेंट को उसकी तरफ़ इशारा करें और वह बाकी जान जाएगा।

🤖 llms.txt

/llms.txt क्रॉलर और असिस्टेंट के लिए पूरी साइट का वर्णन करता है — एंडपॉइंट, पेलोड फॉर्मेट और पेज मैप, एक ही फ़ाइल में।

HTTP API

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

image/svg+xml लौटाता है। सिर्फ़ data ज़रूरी है; बाकी सबका समझदार डिफ़ॉल्ट है। एरर JSON में error फ़ील्ड के साथ वापस आते हैं।

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

पैरामीटर

  • data — एनकोड करने वाला टेक्स्ट (ज़रूरी, अधिकतम 2000 अक्षर)। URL, WiFi स्ट्रिंग, vCard, सादा टेक्स्ट।
  • size — आउटपुट साइज़ px में, 128–2048 (डिफ़ॉल्ट 1024)।
  • margin — मॉड्यूल में क्वाइट ज़ोन, 0–10 (डिफ़ॉल्ट 4)।
  • color / bgcolor — 6-अंकीय hex, बिना # (डिफ़ॉल्ट 2F4A62 / ffffff)।
  • ecc — एरर करेक्शन L, M, Q, H (डिफ़ॉल्ट M)। प्रिंट या लोगो के लिए Q/H इस्तेमाल करें।

Dynamic codes API (authenticated)

डायनामिक कोड प्रिंट करने के बाद भी संपादन योग्य रहते हैं और स्कैन ट्रैक करते हैं — वही कोड जो आप डैशबोर्ड में प्रबंधित करते हैं, उसी कोटे के साथ (20 मुफ़्त — वर्तमान सीमित-समय प्रमोशन के दौरान सभी के लिए असीमित)। डैशबोर्ड में API Tokens के अंतर्गत एक टोकन बनाएँ (केवल एक बार दिखाया जाता है), और फिर उसे Bearer टोकन के रूप में भेजें:

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"}}}'

पेलोड रेसिपी

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

उचित उपयोग

यह मुफ़्त है, लेकिन दयालु बनें: एक ही कोड को बार-बार मांगने के बजाय रिज़ल्ट कैश करें, और ऑटोमेटेड ट्रैफ़िक को उचित रखें। प्रति-IP रेट लिमिट लागू होती है। स्टैटिक कोड डिटरमिनिस्टिक हैं — एक ही इनपुट हमेशा एक ही आउटपुट देता है, इसलिए कैशिंग आसान है।