v1
latestOpenAPI 3.1.02026-07-265385123.6 KBAffiliates
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}
Path parameters
accountstring required
The owner's wallet address (not a subaccount address)
Response
Affiliate codes with usage stats