Developers

Build on
MagicTix.

REST API, GraphQL, webhooks, and SDKs. Full access to events, tickets, transactions, guests, and real-time data streams. Powering $300M+ in annual transactions across 70+ clients and 2,500+ events.

terminal
# Get event transactions GET /api/v2/events/{eventId}/transactions Authorization: Bearer mt_live_xxxxx # Response { "transactions": [...], "total": 847, "revenue": "$12,450.00", "avg_value": "$14.70", "period": "today" }
🔌

RESTful API

Clean, well-documented REST endpoints for every resource. Events, tickets, transactions, guests, kiosks, inspections — all accessible via standard HTTP.

  • JSON request/response format
  • Versioned endpoints (currently v2)
  • Pagination, filtering, and field selection
  • Rate limiting with clear headers
// List events with filtering GET /api/v2/events ?status=active &state=Iowa &fields=id,name,dates,revenue // Create a ticket POST /api/v2/events/{id}/tickets { "type": "wristband", "tier": "vip", "quantity": 2, "guest_email": "guest@example.com" } // Get kiosk status GET /api/v2/kiosks/{kioskId}/status // Returns: online, battery, last_transaction

Real-Time Webhooks

Get notified instantly when things happen — ticket sold, guest scanned, kiosk offline, alert triggered. Configure webhook endpoints and we'll POST events as they occur.

  • ticket.sold
  • guest.scanned
  • kiosk.status
  • alert.broadcast
  • inspection.completed
  • transaction.refunded
  • event.capacity.warning
// Webhook payload: ticket.sold POST https://your-server.com/webhooks X-MagicTix-Signature: sha256=abc123... { "event": "ticket.sold", "timestamp": "2026-02-12T14:30:00Z", "data": { "ticket_id": "tkt_8f3a9b2c", "event_id": "evt_iowa_state_2026", "type": "wristband", "amount": 45.00, "guest": "guest@email.com" } }
📦

SDKs & Libraries

Official SDKs for JavaScript/Node.js, Python, Ruby, and .NET. Type-safe, well-tested, and kept up to date. Install from your favorite package manager and start building in minutes.

  • Full type definitions included
  • Automatic retry and error handling
  • Comprehensive test suites
  • Open source on GitHub
🔷
JavaScript
npm i @magictix/sdk
🐍
Python
pip install magictix
💎
Ruby
gem install magictix
🔵
.NET
dotnet add MagicTix
// JavaScript SDK example import { MagicTix } from '@magictix/sdk'; const client = new MagicTix({ apiKey: 'mt_live_xxxxx' }); // Get today's revenue const revenue = await client.events .get('evt_iowa_state_2026') .revenue({ period: 'today' }); console.log(revenue.total); // => "$432,180.00" // Stream real-time transactions client.transactions.stream({ event: 'evt_iowa_state_2026', onTransaction: (txn) => { console.log(txn.amount, txn.vendor); } });
🔮

GraphQL Beta

Query exactly what you need. Combine events, revenue, guests, and kiosk data in a single request. No over-fetching, no under-fetching — just the data your application needs.

  • Single endpoint for all queries
  • Real-time subscriptions via WebSocket
  • Interactive GraphQL playground
  • Full schema documentation
# GraphQL: Event dashboard query query EventDashboard($id: ID!) { event(id: $id) { name dates revenue { total byHour { hour amount } } guests { total currentOnSite capacityPercent } kiosks { id status lastTransaction { amount time } } topVendors(limit: 5) { name revenue transactionCount } } }
70+
Active Clients
$300M+
Processed Annually
700+
Kiosks Deployed
70-80
System Updates

Start building.
First 10,000 API calls free.

Sign up for a developer account, get your API key, and start integrating in minutes. Full sandbox environment with test data included. Trusted by Butler Amusements, Talley Amusements, Amusements of America, Helm and Sons, Brown's Amusements, and 65+ more operators across 40+ states.