Description
The referral API endpoints allow you to generate referral codes, track referral performance, and view reward statistics. Users earn points when their referrals trade, create tokens, or achieve milestones.Endpoints
Get Referral Code
Generate or retrieve your unique referral code
Headers
Bearer token or wallet signature for authentication
Response
Get Referral Stats
Get detailed statistics about your referral performance
Headers
Bearer token or wallet signature for authentication
Query Parameters
Time period for stats. Options:
24h
, 7d
, 30d
, all
Response
Register with Referral Code
Register a new user with a referral code
Request Body
The referral code to use for registration
The wallet address of the new user
Response
Get Referral Leaderboard
View the top referrers on the platform
Query Parameters
Number of top referrers to return (max: 100)
Time period for leaderboard. Options:
24h
, 7d
, 30d
, all
Response
Reward Structure
Action | Reward | Description |
---|---|---|
Buy Volume | 10% of points | Earn 10% of points from referral’s ETH buy volume |
Sell Volume | 10% of points | Earn 10% of points from referral’s ETH sell volume |
Token Creation | 10% bonus | 10% bonus when referral creates a new token |
Milestone Achievement | Variable | Points when referral hits certain milestones |
Rate Limiting
Referral API endpoints have specific rate limits:- Generate/Get Code: 10 requests per minute
- Stats/Leaderboard: 30 requests per minute
- Registration: 5 requests per minute per IP