Skip to main content
GET
GET /api/v1/affiliates/codes/{account}

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Path Parameters

account
string
required

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

Response

Affiliate codes with usage stats

Response wrapper for the affiliate codes endpoint

codes
object[]
required

List of affiliate codes with usage stats

owner_account
string
required

The owner's wallet address

volume_threshold_met
boolean
required

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