Bestseller
Multi-types Content QR Code Generation

Universal QR Code Generator

Create QR code images from text or URLs

What can this API do?

Text to QR codes

Encode text exactly, including spaces and line breaks.

Website links

Turn a URL into a static QR code for print or digital use.

Multilingual content

Encode supported Unicode text for international workflows.

Adjustable image size

Choose a square PNG size from 64 to 2048 pixels, subject to content capacity.

Downloadable PNG files

Retrieve a public image link and save it in your application.

Print and application workflows

Add QR generation to labels, onboarding and content workflows.

Universal QR Code Generator
Annual plan
$19$49
Try it for free!
Sign in to get a trial key and test all APIs.
Sign In
Secure checkout powered by Stripe

API Document

HTTP Protocol:HTTPS

HTTP Method:POST

HTTP Endpoint:https://api.gugudata.io/v1/qrcode

Response Type:application/json; charset=utf-8

DEMO Endpoint:https://api.gugudata.io/v1/qrcode/demo

Live Demo:Try Interactive Demo

Full API Docs:developers.gugudata.io

API Request Parameters

NameTypeIs RequiredDefault ValueRemark
appkeystringtrueYOUR_APPKEYApplication key supplied in the query string.
contentstringtrueNonblank text or URL, preserved exactly including spaces and line breaks. At most 32768 UTF-8 bytes; QR capacity and selected size impose smaller limits. Shorten content or increase size when it cannot fit.
sizeintegerfalse200Integer image width and height from 64 to 2048 pixels. Defaults to 200; fractions, strings and null are rejected.

API Response Parameters

NameTypeRemark
urlstringPublic HTTPS URL of the generated PNG. Download and save the file; permanent hosting is not guaranteed. HTTP 400 / business 400 for invalid input, HTTP 500 / business 500 for generation failure, and HTTP 503 / business 500 when image storage is unavailable.

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200Request processed successfully.Some endpoints expose a separate application-level status field in the response body, such as `dataStatus.statusCode`.
400Invalid request parameters or request format.Check required fields, data types, and request body format.
401Missing or unknown application key.Provide a valid `appkey` with the request.
403The application key is recognized but access is not allowed.The key may be expired, inactive, or not permitted for the requested API.
429Request rate or trial usage limit exceeded.Reduce concurrency or retry after the limit window resets.
500Internal service error.Retry later or contact support if the error persists.
503Upstream service unavailable.Retry later; the requested upstream dependency is temporarily unavailable.

Remote MCP

AI client access

Use this API through GuGuData Remote MCP

Connect your AI client once, authorize in the browser, and the client can use the GuGuData API tools available to your account. You do not need to paste an appkey into the MCP client.

Endpoint https://mcp.gugudata.io/mcp
Open MCP Guide
Generic MCP configuration
{
  "mcpServers": {
    "gugudata": {
      "url": "https://mcp.gugudata.io/mcp",
      "transportType": "streamable-http"
    }
  }
}

Code Snippets