GET /api/v1/affiliates/codes/{account}
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
GET /api/v1/affiliates/codes/{account}
Documentation Index
Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token from Geomi. See Authentication for setup instructions.
Path Parameters
The owner's wallet address (not a subaccount address)
Response
Affiliate codes with usage stats
Response wrapper for the affiliate codes endpoint
Get TWAP order historyGET /api/v1/affiliates/earnings/{account}
Returns affiliate earnings breakdown for an account, including per-user
referral amps earned at L1 (10%/15%) and L2 (5%) rates.

