Affiliates
GET /api/v1/affiliates/codes/{account}
Returns referral codes owned by an account with per-code usage stats. Affiliate codes (is_affiliate = true) are always returned. Non-affiliate codes are only returned if the account has >= $1,000 all-time trade volume. Maps to the Affiliates dashboard.
get/api/v1/affiliates/codes/{account}
Request
- Base URLhttps://api.mainnet.aptoslabs.com/decibel
- URLhttps://api.mainnet.aptoslabs.com/decibel/api/v1/affiliates/codes/{account}
- AuthHTTP bearer
Path parameters
accountstring required
The owner's wallet address (not a subaccount address)
Response
Affiliate codes with usage stats
Changes
No recorded changes to this operation across all 1 revision of this API.