What is Snag?
Snag is an onchain loyalty and engagement platform that helps Web3 brands track, evaluate, and reward user contributions across social, onchain, and gaming platforms. Brands use Snag to launch white-label loyalty programs with customizable point systems, NFT rewards shops, leaderboards, and achievement badges — all without writing backend infrastructure from scratch. Snag provides:- 50+ loyalty rule types spanning social quests (X, Discord, Telegram, YouTube, TikTok, Instagram, Reddit, GitHub), onchain actions (token holds, mints, swaps, smart contract events), DeFi interactions (Uniswap liquidity, Snapshot governance), and custom logic via Stratus serverless functions
- 15+ blockchain networks including Ethereum, Base, Arbitrum, Polygon, ZKSync, Solana, Berachain, ApeChain, SKALE, XAI, HYCHAIN, Camp Network, and Vanar Chain
- 6 authentication providers — Dynamic, Thirdweb, Privy, Immutable Passport, Sequence, and Auth0 — supporting wallet, email, and social login
- REST API and TypeScript SDK (
@snagsolutions/sdk) for full programmatic control - Stratus onchain cloud with serverless functions, event subscriptions, gasless relayers, and ERC-20 token sync
Introduction
This documentation covers everything you need to integrate Snag’s loyalty and marketplace solutions. Whether you’re setting up your first loyalty program through the admin dashboard, integrating via the REST API, or building custom onchain logic with Stratus, you’ll find step-by-step guides, API references, and code examples here.Getting Started
Set up Overview
Launch checklist: branding, hostname, loyalty program, and go-live.
API Reference
REST API authentication, endpoints, and base URL configuration.
SDK Reference
TypeScript SDK for type-safe interaction with Snag APIs.
Loyalty Program
Configure reward programs and automate incentives.
Core Platform
Stratus
Serverless functions, event subscriptions, gasless relayers, and ERC-20 token sync.
User Auth
Wallet, email, and social login via 6 authentication providers.
Rewards Shop
Create NFT contracts, mint assets, and list for purchase, auction, or sweepstakes.
Badges
Achievement badges that track user progress and gamify engagement.
Key Use Cases
Snag supports a wide range of Web3 engagement strategies:- Community growth — Reward users for following social accounts, joining Discord or Telegram, and referring friends with trackable referral codes
- Onchain engagement — Incentivize token holds, NFT mints, smart contract interactions, DeFi liquidity provision, and governance participation
- Gaming integration — Track Steam wishlists, Epic account connections, and custom in-game actions via the API
- Content creation — Reward users for posting on X, TikTok, Instagram, YouTube, and Reddit with impression-based multipliers
- Developer contributions — Track GitHub stars, forks, PRs, and collaborator status for open-source projects
- Custom workflows — Build any reward logic with Stratus functions, external rules, or direct API integration
Developer Resources
AI Coding Assistant
Connect Cursor, Claude Code, or Copilot to Snag Docs via MCP server for context-aware coding help.
Developer Getting Started
Set up your API key and make your first Snag API call.
Create Rules via API
Automate rule creation and management programmatically.
Leaderboards
Build dynamic rankings with sorted user balances and pagination.
Common Docs
- Available loyalty rules — Browse 50+ rule types
- Rules configuration — Reward amounts, schedules, and evaluation settings
- Create your first rule — Step-by-step tutorial
- User profiles — Configure profile fields and display settings
- Rewards shop — NFT contracts, minting, and listings
- Snag reporting — Looker-powered analytics dashboards
- Billing FAQ — Usage tracking, payments, and plan management