Get started1 / 12
Build on Stacked
Stacked runs offers, live ops events and leaderboards for your game. Your game sends events as players play. Stacked decides what each player sees, keeps their progress and scores, and tells your backend what to grant when they claim a reward.
- OffersRewarded tasks shown to the players who match, completed by playing, and claimed for a reward.Read the guide
- Live OpsTime-limited events with milestone tracks, daily rewards and event-only offers.Read the guide
- LeaderboardsRankings scored live from game events, repeating or split into shards, with prizes by rank.Read the guide
How it works
One loop drives all three features. Your game reports what players do, and never has to know which offer, event or leaderboard is listening.
- 1Your gameSend eventsSign-ins, purchases, currency changes and any action of your own, sent through an SDK as players play.
- 2StackedTrack and scoreEach event updates the player's snapshot, moves offer progress, and adds points to live ops tracks and leaderboards.
- 3PlayerSee and claimYour game asks Stacked what to show a player: their offers, their event progress, their rank. What is complete, they claim.
- 4Your backendGrant the rewardStacked sends a signed webhook that says what to grant. Your backend verifies it and gives the items or currency.
You set everything up in the dashboard, or let an AI agent do it. Launching an offer, an event or a leaderboard needs no game update.
What you integrate
| Piece | Runs in | What it does |
|---|---|---|
| A server SDK (Node.js, Go) | Your backend | Sends events and signs player tokens |
| A client SDK (JavaScript, Unity) | Your game | Shows a player their offers and events, claims rewards, and gets live updates |
| A reward webhook | Your backend | Grants what a player claimed |
| The dashboard | Your browser | Where you build offers, events and leaderboards, and watch them run |
The Quickstart connects all four for one offer.
Quick reference
| What | Value |
|---|---|
| Dashboard | https://buildon.stacked.xyz |
| Live API | https://api.stacked.xyz |
| Test API | https://api.sandbox.stacked.xyz |
| Backend authentication | x-api-key and x-client-id headers |
| Game client authentication | Authorization: Bearer <player token> |
| Reward webhook event | user.gain_rewards |
| MCP server | https://api.stacked.xyz/mcp |
For AI agents
Building with a coding agent? Point it at /docs/llms-full.txt, every page of these docs as plain markdown, or the short index at /docs/llms.txt.
To let an agent run your Stacked setup itself, connect it to the MCP server.
All pages
Get started
What Stacked is, how the pieces fit, and a first integration.
- 01OverviewWhat Stacked does for a game, its three features, and how an integration works end to end.
- 02Core conceptsGames, Test and Live, players and their snapshot, events, conditions, rewards and claims.
- 03QuickstartSend events, show a player their offers, let them claim, and grant the reward from a webhook.
Features
The three things you run with Stacked.
Building blocks
What every feature is made of.
- 07EventsThe events a game sends, and what each one does to snapshots, offer progress and scores.
- 08Scoring rulesHow events become points: triggers, points, criteria and intervals. Shared by Live Ops and Leaderboards.
- 09RewardsReward kinds, the asset library, USD-anchored amounts, reward rules and spend limits.
Integrate
Connect your game, your backend and your tools.
- 10Reward webhooksHow your backend is told to grant rewards: the payload, verifying it, retries and idempotency.
- 11SDKs and APIThe SDKs, authentication, base URLs, the endpoints a game calls, realtime events and errors.
- 12MCP serverLet an AI agent manage offers, live ops and leaderboards with the permissions of one team member.