Skip to main content
GET
Get per-code performance for a referrer

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

referrer_account
string
required

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

days
integer<int64>

Trailing UTC days the volume columns cover. Defaults to 30, clamped to 90.

Required range: x >= 0

Response

Per-code redemption and volume stats

earnings_usd
number<double>
required

Everything this code brought in: the L1 commission of the people who used it, plus the L2 override their own referrals generated. Credited to the code the sub-affiliate arrived through, so the codes sum to the affiliate's whole commission with nothing stranded outside every row.

maker_volume_usd
number<double>
required
referral_code
string
required
taker_volume_usd
number<double>
required
unique_users
integer<int64>
required

Distinct wallets that redeemed this code, all-time

Required range: x >= 0
users_who_traded
integer<int64>
required

How many of those traded inside the window

Required range: x >= 0