What TicketKing is
TicketKing is an API-first ticket verification and anti-abuse layer built for ticket merchants, event platforms, venues, promoters, marketplaces, and developers. It sits between your ticketing system and the gate.
- Merchants issue secure tickets via API; each ticket can be bound to rules (transfer, resale, activation window).
- Venues validate tickets quickly at entry using proof-based verification—no need to see full identity or order data.
- Event operators define transfer, access, resale, and verification rules; TicketKing enforces them at issuance and at the gate.
- Privacy: tickets can be verified without exposing unnecessary personal data. Zero-knowledge ticket verification proves entitlement without oversharing.
You integrate with an API key. No heavyweight SDK or lock-in; you keep control over your merchant flow, venue flow, and resale rules.
The problems it solves
Ticket fraud prevention and ticket scalping prevention require addressing real market failure points. TicketKing targets these directly:
Primary sale botting
Bots and scripts bulk-buy high-demand inventory at checkout. TicketKing does not replace checkout anti-bot measures but ensures that once a ticket is issued, it is bound to proof-based validation so only legitimate holders can use it.
Bulk purchase abuse
Single buyers or syndicates hoard tickets for resale. Coupled with purchase limits and identity binding, proof-based tickets make it harder to launder or resell at scale without traceability at entry.
Speculative resale
Uncontrolled secondary markets and touting. Merchants can enforce resale constraints and transfer rules so that only approved transfers produce valid proof tokens.
Copied screenshots / copied QR codes
Static QR codes can be screenshotted and shared. TicketKing uses short-lived, one-time-use proof tokens in the QR; a copied code expires or is consumed on first scan, stopping duplicate entry.
Transfer laundering
Bad actors transfer tickets through multiple hands to obscure origin. With programmable transfer rules and proof-based issuance, merchants can limit or approve transfers and still validate at the gate.
Gate replay attacks
Same QR presented at multiple gates or multiple times. One-time-use consumption means the first successful verify consumes the token; replays are rejected.
Weak identity binding
Ticket not tied to buyer or device. TicketKing supports optional wallet or account binding so that only the bound holder can obtain a valid proof token.
Static-ticket fraud
Static barcodes or QR codes are easy to forge or reuse. Proof-based tickets are cryptographically bound to eligibility and time window; verification is stronger than static codes.
Marketplace trust breakdown
Buyers and venues do not trust secondary tickets. When merchants and venues use the same verification layer, legitimacy is provable without sharing full PII.
Event operator loss of control
Promoters and venues lose control over who enters and how tickets move. TicketKing gives operators programmable rules and a single verification API so they retain control.
Why static QR tickets fail for high-demand events
Static QR codes are a single string: anyone with a screenshot or print can reuse them. For high-demand events, that leads to duplicate entry, fake tickets, and scalpers selling the same code many times. Static tickets also give no way to revoke or time-limit validity without reissuing the whole ticket. TicketKing replaces the static code with a dynamic proof token: short-lived, one-time-use, and bound to your eligibility and rules. The QR still looks like a QR, but what’s inside is a cryptographic proof that expires and is consumed on first successful scan—so screenshot and replay attacks fail.
Static QR tickets vs account-bound tickets vs TicketKing proof-based tickets
How buyers evaluate alternatives: a clear comparison helps both search and conversion.
| Capability | Static QR tickets | Account-bound tickets | TicketKing proof-based tickets |
|---|---|---|---|
| Prevent copied/screenshotted QR | No | Partial (if app-only) | Yes (short-lived, one-time-use proof) |
| Duplicate scan protection | No | Depends on implementation | Yes (token consumed on first verify) |
| Merchant-controlled transfer/resale rules | No | Possible but often rigid | Yes (programmable via API) |
| Verify without exposing full identity | N/A (no identity in code) | Often no (account = identity) | Yes (zero-knowledge ticket verification) |
| Replay resistance at gate | No | Depends | Yes |
| Best for | Low-risk, low-demand events | Closed ecosystems, app-only | High-demand events, anti-scalping, fraud-sensitive use cases |
How TicketKing reduces scalping
Ticket scalping prevention is achieved through controls that merchants configure—not magic. TicketKing provides the infrastructure; you set the rules.
- Wallet or buyer binding: optionally bind a ticket to a wallet or account so only that holder can request a valid proof token.
- One-ticket-one-holder logic: each proof token is issued for a single ticket and consumed on first successful gate verify.
- Controlled transfer rules: allow or block transfers; require approval or re-issuance so that only compliant transfers get valid proofs.
- Delayed activation windows: tickets can become valid only from a certain time (e.g. 24h before event), reducing speculative hoarding.
- Proof-based validation at entry: the gate calls the verify API; only a valid, unconsumed proof passes.
- Dynamic QR validity: the QR encodes a short-lived token (e.g. 5–60 seconds); it rotates, so screenshots expire.
- Replay resistance / duplicate scan protection: first successful verify consumes the token; subsequent scans are rejected.
- Issuance limits and programmable restrictions: you can rate-limit or scope proof issuance by event, ticket type, or buyer.
- Rule-based transfer approval: integrate with your transfer workflow so that only approved transfers receive proof eligibility.
- Merchant-defined resale constraints: resale can be disabled, or allowed only through your channel, with proof re-issued only for compliant resales.
How ZK QR code tickets work
Zero-knowledge ticket verification and ZK QR code tickets sound technical but the flow is straightforward.
- Ticket issued via API: the ticket merchant (or your backend) calls the TicketKing API with a ticket identifier and optional rules. Eligibility is checked (e.g. paid, not cancelled, within transfer rules).
- QR contains or references a cryptographic proof: the API returns a short-lived token (e.g. JWT or proof reference). Your app encodes that into the QR code the attendee sees. The QR does not contain raw personal data; it contains a proof that “this ticket is valid right now.”
- Verifier checks validity and status: at the gate, the scanner sends the token to the verify endpoint. The API checks signature, expiry, and whether the token has already been consumed.
- Minimal data exposure: the ticket can be validated without exposing identity or full order details. The verifier learns only “valid, one entry” or “invalid.”
- Stronger anti-fraud logic: because the proof is time-bound and one-time-use, verification supports stronger anti-fraud behaviour than static QR tickets—no reuse, no screenshot validity.
Implementation guide
Integrate TicketKing with an API key. Typical flow:
- Create API key: obtain an API key (e.g.
X-AffixIO-Keyor Bearer) from AffixIO. Use it for all TicketKing requests. - Issue ticket: when a customer completes purchase, your backend registers the ticket as eligible (in your system or via TicketKing eligibility). The ticket_id is what you will pass when requesting a proof token.
- Generate ZK QR code: when the holder opens the ticket (e.g. in your app), your backend calls
POST /api/ticketking/proof-tokenwithticket_idand optionalttl_seconds. You receive a token; encode it into the QR (and optionally refresh it every few seconds for revolving display). - Attach ticket rules: transfer, resale, and activation rules are enforced at proof-token issuance. Only eligible tickets (per your rules) receive a token.
- Verify at gate: the gate scanner or your venue app calls
POST /api/ticketking/verifywith the token from the QR. If valid and not yet consumed, the API returns success and consumes the token; your system grants entry. If expired or already used, the API returns an error. - Transfers / revocations / revalidation: when a ticket is transferred or revoked, update eligibility so that the old holder no longer receives a valid proof token. Revalidation after transfer can issue a new proof to the new holder once your rules allow it.
Sample endpoints
Real TicketKing endpoints (base URL https://api.affix-io.com; use your API key in production).
Issue a proof token (ticket merchant or app backend)
Request a short-lived proof token for a ticket. Use this to generate or refresh the QR payload. Business meaning: “Give me a valid proof for this ticket_id so the holder can show it at the gate.”
curl -X POST https://api.affix-io.com/v1/api/ticketking/proof-token \
-H "X-AffixIO-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticket_id":"TKT-abc123","ttl_seconds":60}'
{
"token": "eyJhbGciOiJIUzI1NiIs...",
"expires_at": "2025-03-10T12:05:00.000Z",
"ticket_id": "TKT-abc123",
"circuit_id": "ticketing",
"eligible": true
}
Encode the token value into the QR code. Optionally call again before expiry to refresh (revolving QR).
Verify and consume at gate (venue / scanner)
Send the token from the scanned QR. First successful call consumes the token and returns accepted; subsequent calls for the same token return “already_consumed.” Business meaning: “Validate this attendee’s proof and allow one entry.”
curl -X POST https://api.affix-io.com/v1/api/ticketking/verify \
-H "X-AffixIO-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"token":"eyJhbGciOiJIUzI1NiIs...","gate_id":"GATE-A1"}'
{
"accepted": true,
"ticket_id": "TKT-abc123",
"consumed_at": "2025-03-10T12:04:35.000Z",
"gate_id": "GATE-A1"
}
{
"accepted": false,
"reason": "already_consumed"
}
Get ticketing circuit (discovery)
Returns the ticketing circuit definition (id, name, sector, input methods). Useful for developers and dashboards.
curl -s https://api.affix-io.com/v1/api/ticketking/circuit \ -H "X-AffixIO-Key: YOUR_API_KEY"
Why merchants implement it
- Reduce fraud losses: fewer fake or duplicated tickets, fewer chargebacks and disputes.
- Reduce scalper pressure: proof-based, one-time-use tickets and optional binding make bulk resale and screenshot resale less viable.
- Protect fan trust: fans know that a TicketKing-verified ticket is legitimate and that duplicate scans are blocked.
- Improve gate confidence: venue staff get a clear accept/reject; no ambiguity from static or copied codes.
- Enforce resale and transfer policy: you define rules; the API enforces them at issuance and entry.
- Keep control over business rules: you remain the ticket merchant; TicketKing is the verification layer.
- Avoid unnecessary PII exposure: zero-knowledge ticket verification means the gate does not need to see identity or order data.
- Support premium and high-demand events: scalable, API-first integration fits concerts, festivals, sports, and high-volume entry.
- Work across web, app, and venue operations: same API for issuance (web/app) and verification (gate/scanner/app).
Use cases
Concerts and festivals
Problem: bots, scalpers, and copied QR codes. TicketKing: revolving proof tokens and one-time consumption stop screenshot sharing and duplicate entry; optional binding and transfer rules help promoters keep control and protect fans.
Sports events
Problem: resale abuse and fake or duplicated tickets. TicketKing: secure ticket QR code verification at turnstiles; proof-based validation and resale controls support league and venue policies.
Conferences and trade shows
Problem: shared badges and unverified attendance. TicketKing: ticket authentication without exposing full identity; one proof per entry so attendance is accurate and transfer can be limited.
Museums and attractions
Problem: pass sharing and weak entry validation. TicketKing: time-bound proofs and optional binding reduce pass sharing; venues get clear accept/reject at the gate.
Transport and access passes
Problem: cloned or shared passes. TicketKing: dynamic proof validity and one-time-use semantics suit time-limited or single-journey passes; verification can be privacy-preserving.
Memberships and season passes
Problem: sharing and misuse. TicketKing: membership verified via API with minimal data exposure; programmable restrictions and renewal logic supported by your backend.
Invite-only / VIP events
Problem: list abuse and identity mismatch. TicketKing: eligibility and binding rules ensure only approved holders receive valid proofs; verification at door without oversharing identity.
Why AffixIO
TicketKing runs on AffixIO infrastructure. AffixIO provides privacy-first verification, programmable trust, and secure proofs via an API-first deployment. We do not store PII; we return binary eligibility and proof tokens. TicketKing is the ticketing application of that layer: you get anti-scalping and ticket fraud prevention without handing over your data or losing control. For technical details, see Technical architecture and Eligibility verification API. For compliance and privacy, see Privacy.
FAQ
Common questions about ticket scalping prevention, ticket fraud prevention, and TicketKing.
How do you stop ticket scalpers?
TicketKing does not replace checkout anti-bot measures. It ensures that once a ticket is issued, entry is gated by a short-lived, one-time-use proof token. Scalpers cannot resell a static screenshot that works multiple times; the proof expires and is consumed on first scan. Optional wallet or account binding ties the proof to the legitimate holder. Merchants can also enforce transfer and resale rules so that only compliant tickets receive valid proofs.
How do you prevent fake QR code tickets?
The QR encodes a cryptographic token signed by the API. The gate verifies the token (signature, expiry, consumption status). Forged or copied codes either fail verification or are rejected as already used. We do not store the QR image; we issue and verify the proof.
Can a ticket be verified without exposing identity?
Yes. Zero-knowledge ticket verification proves entitlement without sending full identity or order data to the verifier. The gate learns only whether the proof is valid and unconsumed; you control what (if any) identity is bound in your own systems.
How do ticket transfer restrictions work?
Transfer and resale rules are enforced when your system decides whether a ticket_id is eligible for a proof token. You can allow transfers, require approval, or block them; only tickets that pass your rules receive a token. When a transfer is approved, you update eligibility so the new holder can request proofs; the old holder no longer can.
Can merchants control resale rules?
Yes. The ticket merchant defines resale and transfer policy. TicketKing issues proof tokens only for tickets that meet your eligibility and rules. You can disable resale, allow it only through your channel, or attach conditions; the API enforces at issuance and at the gate.
What makes TicketKing different from static QR tickets?
Static QR tickets are a fixed string—screenshot or copy works until someone else uses it. TicketKing uses dynamic, short-lived, one-time-use proof tokens. The QR changes (or expires); the first successful scan consumes the token. So copied screenshots and duplicate scans are rejected.
How quickly can TicketKing be integrated?
With an API key, you can call the proof-token and verify endpoints from your existing ticketing backend and gate/scanner. Typical integration is a few days for a minimal flow (issue token → show in QR → verify at gate). Transfer rules, binding, and UI depend on your stack.
Does TicketKing work for high-demand events?
Yes. The API is designed for scale. Short-lived tokens and one-time consumption handle high concurrency at gates; you can rate-limit and scope by event or ticket type. TicketKing is used for concerts, festivals, sports, and other high-demand events where scalping and duplicate entry are major concerns.
Get started with TicketKing
For ticket merchants, venues, marketplaces, and event tech teams: book a demo, request API access, or talk to us about your merchant flow, venue flow, and resale rules.
Book a TicketKing demo Request API access