Referrals

Get trading activity of a referrer's referred clients

Changed on

Per-level window totals plus a page of direct (L1) referrals, each carrying the L2 clients it referred. Carries no commission figures: the accrual ledger those would come from does not exist yet.

get/api/v1/referrals/activity

Request

Query parameters

referrer_accountstring required

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

daysinteger

Trailing UTC days to cover. Defaults to 14, clamped to 90.

limitinteger

Direct (L1) clients per page. Defaults to 25, clamped to 200.

offsetinteger

Direct (L1) clients to skip. Clamped to 10000.

Response

Referral activity summary and client page

referrer_accountstring required
total_countinteger required

L1 rows the window holds, for pagination. Counts parents, not clients: an L1 that only appears because its L2s traded still occupies a row.

Changes