API Documentation
ZipQR provides simple, high-performance REST APIs to integrate URL shortening and custom styled QR generation.
/
Shorten long URLs using custom service engines. Generates an associated QR code automatically.
Request Form Parameters
The long target URL to shorten. Must include protocol (http:// or https://).
Selected engine domain: random, tinyurl, is.gd, v.gd, clck.ru, da.gd, cleanuri.
Response (JSON)
{
"short_url": "https://da.gd/vWpSf",
"original_url": "https://github.com/tanbaycu",
"qr_code": "iVBORw0KGgoAAAANSUhEUg...",
"processing_time": "0.41s"
}
cURL Example
-d "url=https://github.com/tanbaycu" \
-d "service=da.gd"
/generate-qr
Generate custom QR Codes with selectable pixel pattern styles and brand center logos.
Request JSON Parameters
Data payload to encode in the QR Code.
HEX representation of foreground color.
Resolution dimension in pixels. Minimum 150, maximum 500.
Pixel layout pattern: square, rounded, circle, gapped.
Type of center icon: none, zipqr, facebook, instagram, github, upload.
Base64-encoded image string of custom logo. Include mime header (e.g. data:image/png;base64,...).
Response (JSON)
{
"qr_code": "iVBORw0KGgoAAAANSUhEUg...",
"content": "ZipQR",
"color": "#ff6b6b",
"size": 300,
"drawer": "rounded",
"logo_type": "zipqr"
}
cURL Example
-H "Content-Type: application/json" \
-d '{"content":"ZipQR","color":"#ff6b6b","drawer":"rounded","logo_type":"zipqr"}'