Campaigns are not self-serve today. The Rabbithole team scopes, integrates, and deploys each one (see Launch a Campaign). These pages are for integrating a campaign that already exists.
Get Access
There is less to arrange than you might expect.- A live campaign. Rewards have to be running against a vault, pool, or token before there is anything to display. Start that conversation with the team on Discord.
- A partner
refId. An attribution ID that Rabbithole assigns manually. The SDK sends it as thex-boost-ref-idheader on every request so campaign usage can be credited to your integration. It is not authentication and not a secret. - Nothing else. There is no API key, no signup, and no signed request. Every endpoint in these docs is public.
Ask for a
refId in your shared partner channel with the Rabbithole team, or on Discord, before you ship. Everything works without one; you just lose the attribution.What You Can Build
Each of these is a complete React component for a Next.js, wagmi, and viem stack. Copy it, point it at your campaign, and ship. The guide behind each one explains the endpoints it calls.Reward Badge
Your campaign’s reward APR, time left, and what the connected wallet has earned, next to your own deposit form.
Opportunities List
A table of live campaigns with reward APR, TVL, and time remaining, for your own pools or a whole chain.
Rewards Panel
What the connected wallet has earned and can claim, across every campaign it has entered.
Claim Button
Switches chain, simulates, submits, waits for the receipt, and updates the UI safely.
SDK or Raw REST
Both are first-class and hit the same endpoints. The SDK converts decimal strings tobigint, parses timestamps, and ships claim helpers that build and submit the transaction. Raw REST works from any language, but you own the parsing and the calldata encoding.
https://api-tbi.boost.xyz. A staging host, https://api-tbi-staging.boost.xyz, runs the same API against test campaigns that pay on Base Sepolia; see Building Against Staging.
Shared Fundamentals
These apply across every guide:- Campaigns, IDs, and Chains: the compound campaign key, the event-versus-reward-chain rule, lifecycle status, and campaign modes as data.
- How Claiming Works: merkle roots, cumulative amounts, and why earned and claimable are different numbers.
- Data Conventions: wire formats,
bigintamounts, pagination, caching, and rate limits. - How Referrals Work: global binds, estimated versus final earnings, and one-shot payouts.
- TypeScript SDK: install, configuration, and the full method surface.
- Errors: the shared error envelope and the typed SDK classes.
- Contracts: the TBI Manager, the claim signature, and every revert selector.
- API Reference: every endpoint, parameter, and response schema, generated from the live OpenAPI spec.
Keep Exploring
Quickstart
Discover, read, and claim in five steps.
How It Works
The campaign model behind the API, from goal to earning to claim.