GnistAI GnistAI
Log in

QR Code

Generate QR code image URLs via goqr.me — encode text, URLs, or data with customizable size, format, colors, and error correction.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Utilities

Data source: goqr.me (api.qrserver.com)

REST Bridge Endpoint https://context.gnist.ai/rest/qr-code/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

generate_qr_code

Generate a QR code URL for the given text or URL.

Returns a URL that renders a QR code image. The URL can be used directly in an <img> tag
or opened in a browser. No image data is returned — only the URL.

ParameterTypeRequiredDescription
datastringrequiredThe text or URL to encode in the QR code.
sizeintegeroptionalImage size in pixels (10-1000). (default: 200)
formatstringoptionalImage format: png, gif, jpeg, svg, eps. (default: "png")
error_correctionstringoptionalError correction level: L, M, Q, H. (default: "M")
colorstringoptionalQR code color as hex (e.g. 000000 for black). (default: "000000")
bg_colorstringoptionalBackground color as hex (e.g. ffffff for white). (default: "ffffff")
Request Body
{
  "data": "example"
}
list_qr_formats

List supported QR code image formats.

Returns the available output formats for QR code generation.

Request Body
{
  "query": "example"
}
list_qr_error_correction_levels

List available QR code error correction levels.

Returns the error correction levels (L/M/Q/H) with descriptions of their recovery capability.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/qr-code/generate_qr_code" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"data": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/qr-code/generate_qr_code",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "data": "example"
},
)
print(resp.json())

Related Toolkits (Utilities)

Resources