v1

latestOpenAPI 3.1.02026-07-265385123.6 KB
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}

Path parameters

accountstring required

The owner's wallet address (not a subaccount address)

Response

Affiliate codes with usage stats

owner_accountstring required

The owner's wallet address

volume_threshold_metboolean required

Whether the account meets the minimum trade volume threshold to see non-affiliate (auto-generated) codes