DEVELOPERS

QR Code API

Generate, manage, and track QR codes programmatically with a simple REST API. JSON in, JSON out — perfect for SaaS integrations, automation, and high-volume workflows.

REST & JSON Webhooks Included Sub-Second Latency

Built for Developers

The QRCodeStack API gives developers full programmatic control over the same QR code engine that powers our dashboard. You can create dynamic and static QR codes, update redirect destinations, fetch real-time scan analytics, and trigger webhooks when scans happen — all over a clean REST interface that returns JSON. If you have ever used Stripe or SendGrid, the API will feel immediately familiar.

The API is built for product teams, internal tools, and SaaS platforms that need to embed QR generation into their own workflows. Common use cases include generating per-customer QR codes at signup, attaching tracking codes to shipping labels, building branded campaign generators, syncing scan events into a CRM or data warehouse, or replacing a clunky vendor with something that actually deploys in an afternoon.

API access is included with the Advanced plan — no separate developer tier, no per-call billing, no surprises. You get a stable base URL, signed API keys you can rotate at will, generous rate limits, and webhook delivery with automatic retries. Below is a working example you can copy into your terminal right now.

Create a QR Code in One Request

Send a POST to /api/v1/qr-codes with your API key. The response includes the QR image URL, short link, and analytics ID.

curl -X POST https://qrcodestack.com/api/v1/qr-codes \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "url",
    "name": "Spring Promo",
    "data": "https://example.com/spring",
    "isDynamic": true
  }'

Need bulk? Send up to 1,000 codes in a single request to /api/v1/qr-codes/bulk.

What You Can Do with the API

Every dashboard action is also available as an API call — and a few extras built specifically for automation.

Create QR Codes

Generate any of the 37 QR types — URL, vCard, WiFi, PDF, video, and more — with a single POST request. Choose dynamic or static and customize colors, dot styles, and frames inline.

Bulk Generate

Send up to 1,000 codes per request. Ideal for campaigns, inventory tags, ticketing, and personalized direct mail. Returns a job ID you can poll for completion.

Update Destinations

Send a PATCH to change a dynamic QR code's redirect target. The printed code stays the same — useful for rotating campaign landing pages or fixing broken links.

Scan Analytics

Pull total scans, unique scans, time-of-day distribution, device, and geography for any QR code. Sync directly into your data warehouse or BI tool.

Manage API Keys

Create, list, and revoke API keys directly from the dashboard. Each key is scoped to your account and shown only once at creation — rotate freely without downtime.

Webhooks

Subscribe to scan events and have QRCodeStack POST to your endpoint in real time. Signed payloads, automatic retries with backoff, and a delivery log for replay.

Get Started in 3 Steps

From signup to first API call in under five minutes.

Step 1

Subscribe to Advanced

API access is included on the Advanced plan. No separate developer tier, no per-call charges. Subscribe from the pricing page.

Step 2

Generate an API Key

Open your dashboard, head to API Keys, and click Generate. Copy the key immediately — for security, it is shown only once.

Step 3

Make Your First Call

Send the curl request above. The response returns a JSON object with the QR image URL, short link, and analytics ID — ready to embed.

Why QRCodeStack API

A pragmatic API designed by developers who got tired of bloated, overpriced QR vendors.

Standard REST

Predictable URLs, standard HTTP verbs, and conventional status codes. No GraphQL, no SOAP, no custom RPC — works with every HTTP client on the planet.

JSON In, JSON Out

Every endpoint accepts and returns JSON. UTF-8, ISO 8601 timestamps, and consistent error shapes — the kind of API you can integrate without re-reading the docs every time.

Sub-Second Latency

Code generation and metadata responses typically return in under 300ms. Scan redirects are even faster — designed to feel instant from the user's phone.

Generous Rate Limits

Default limits cover essentially every production workload we have seen. Need more? Contact us — we will adjust limits without forcing you onto a custom enterprise quote.

Comprehensive Docs

Endpoint reference, request/response examples, error codes, webhook signature verification, and an OpenAPI spec you can drop into Postman or generate clients from.

Dynamic Redirects

Update where a printed QR code points without re-issuing the image. The redirect engine handles UTM passthrough and device-aware routing for free.

Frequently Asked Questions

Which plan includes the API?

The QRCodeStack API is available exclusively on the Advanced plan. Once subscribed, you can generate API keys directly from your dashboard and start making programmatic requests immediately. Starter and Pro plans do not include API access — upgrade to Advanced to unlock REST endpoints, webhooks, and bulk generation. See the full pricing page for plan details.

Do you have rate limits?

Yes — every API key has rate limits to ensure fair usage and platform stability. Advanced plan keys allow generous default limits suitable for almost every production workload, including bulk imports and high-volume integrations. If you need more throughput than the defaults provide, email [email protected] with your use case and we will adjust your limits.

Are there official SDKs?

The API is a standard REST API that returns JSON, so it works with any HTTP client in any language — Node.js (fetch, axios), Python (requests, httpx), Ruby, PHP, Go, Java, .NET, Swift, Rust, and more. Official SDKs for Node and Python are on our roadmap. In the meantime, the OpenAPI spec is available on request so you can auto-generate a client in your language of choice.

Can I host the QR images on my own CDN?

Yes. The API returns the QR image as a downloadable PNG or SVG file. You can store it on your own CDN, S3 bucket, or asset host and serve it from there with your own caching rules. Note that for dynamic QR codes, the redirect logic and analytics are still served by QRCodeStack — only the QR image itself can be self-hosted.

Ready to Build with the QRCodeStack API?

Subscribe to the Advanced plan and start generating QR codes programmatically in minutes. Plans from $5/month for the dashboard, API on Advanced.