ScanStack — QR Infrastructure API
Smart QR
campaigns
at scale
Conditional routing. A/B testing. Webhooks. Bulk generation. One powerful API for developers who demand more from their QR codes.
Free: 3 QR codes, 100 API requests/day. No credit card.
API requests/day on Pro plan
QR codes per bulk request
Routing condition types
Webhook notifications
Built for developers
Conditional Redirects
Route scans by device, OS, country, or language. iOS → App Store. Android → Play Store. Desktop → fallback. Automatically.
curl -X POST https://api.scanstack.dev/v2/qr/:id/rules \
-H "x-api-key: qr_your_key" \
-d '{
"condition_type": "os",
"condition_value": "ios",
"target_url": "https://apps.apple.com"
}'
A/B Testing
Split traffic between variants with configurable weights. Track conversion rates in real time. Optimize your campaigns.
curl -X POST https://api.scanstack.dev/v2/qr/:id/ab-test \
-H "x-api-key: qr_your_key" \
-d '{
"variants": [
{ "target_url": "...", "weight": 50 },
{ "target_url": "...", "weight": 50 }
]
}'
Bulk Generation
Generate up to 100 QR codes in a single request. Perfect for events, inventory, packaging, and print runs.
curl -X POST https://api.scanstack.dev/v2/bulk \
-H "x-api-key: qr_your_key" \
-d '{
"items": [
{ "type": "url", "label": "..." },
{ "type": "url", "label": "..." }
]
}'
Scan Webhooks
Get notified instantly when QR codes are scanned. HMAC-signed payloads. Push to Slack, CRM, analytics, or your own pipeline.
curl -X POST https://api.scanstack.dev/v2/webhooks \
-H "x-api-key: qr_your_key" \
-d '{
"url": "https://your-server.com/hook",
"events": ["scan.completed"]
}'
Use cases
Event Apps
Ticketing, check-in, session tracking
Restaurants
Digital menus, table ordering
Logistics
Package tracking, inventory
Marketing
Campaigns, retargeting, attribution
Ready to build?
Start your free tier now. 3 QR codes, 100 API requests/day. No credit card required.