Referrals

Get the builder fees an owner collected

Changed on

All-time total plus a daily series over the window, for fills whose builder_code is one of the owner's subaccounts. Perps only.

get/api/v1/referrals/builder-fees

Request

Query parameters

referrer_accountstring required

The builder's wallet address (not a subaccount address). Named like the other referral reads so the web backend's passthrough injects it the same way.

daysinteger

Trailing UTC days for the daily series. Defaults to 30, clamped to 90.

Response

Builder fees collected by the owner

daysinteger required

The window actually used, after clamping

total_fees_usdnumber double required

All-time builder fees, in USD

total_fillsinteger required
window_fees_usdnumber double required

Sum of daily

window_fillsinteger required

Changes