Universal QR Code Generator

Generate downloadable QR code images from text or URLs

Multi-types Content QR Code Generation

API features

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.

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

Postman Collection:Run in Postman

API Request Parameters

NameTypeIs RequiredDefault ValueRemark
appkey string trueYOUR_APPKEY API key used to authenticate the request.
content string true Nonblank 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.
size integer false200 Integer image width and height from 64 to 2048 pixels. Defaults to 200; fractions, strings and null are rejected.

API Response Parameters

NameTypeRemark
url string Public 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 request frequency and retry with backoff. If a trial allowance is exhausted, check Trial Keys for remaining requests and subscribe to continue.
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

Frequently asked questions

What can I encode with the QR Code Generator API?

Send nonblank text or a URL in content. The value is preserved, including spaces, line breaks, and multilingual text, so send exactly what you want a scanner to read.

Can I choose the PNG image size?

Yes. Set size to an integer from 64 to 2,048 pixels; it controls both width and height. The default is 200 pixels. Test the result at the size at which users will scan it.

Why can a QR code fail even when the text is below the input limit?

The request limit is 32,768 UTF-8 bytes, but the QR symbol and selected size can hold less. Shorten the content or increase the image size when it cannot fit.

Does the API return an image or a download URL?

The success result contains url, a public HTTPS link to the generated PNG. Download and save the image if you need a lasting copy; permanent hosting is not guaranteed.

Can I change the destination after the PNG has been generated?

The PNG encodes the content you supplied; the documented generator does not provide a dynamic destination or scan analytics. If you need an editable destination, manage that URL separately before encoding it.

What does the 5 requests per second limit mean?

It is a request-rate limit, not a concurrency allowance. Keep your request rate at or below 5 per second. If the service returns a rate-limit response, reduce the frequency and retry with backoff.

Is total paid usage limited?

There is no total request cap during an active paid subscription and no usage-based overage charge.

How does the free trial work?

Each account can receive a limited trial key. Requests are shared across APIs in the same category. Check Trial Keys for the exact allowance and remaining requests.

How do renewal and cancellation work?

The plan renews annually until canceled. Manage or cancel the renewal from Dashboard → Orders & Billing. Access continues through the paid period after cancellation. See the Terms of Service for the current refund policy. If the billing portal is unavailable, contact support.

Technical support

Need help choosing an API or getting started?

support@gugudata.io

Service terms

Read our service terms and privacy policy before subscribing.