Skip to content

QR Code Generator

This API generates high-quality QR codes for URLs, text, Wi-Fi configs, or vCards. The result is automatically uploaded to cloud storage, returning a direct image link that you can share or embed immediately.

POST /api/v1/qrcode

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
textstringYesThe content to encode (URL, Text, etc.).
colorstringOptionalDot color in Hex format (Default: #000000).
bgstringOptionalBackground color in Hex format (Default: #ffffff).
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/qrcode \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"text": "https://google.com", "color": "#ff0000"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"text": "https://google.com",
"link": "https://files.catbox.moe/qrcode.png"
}
}