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

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Path Parameters

account
string
required

The affiliate's wallet address

Query Parameters

limit
integer<int32>
default:10

Page size

Required range: 0 <= x <= 1000
offset
integer<int32>
default:0

Page offset

Required range: 0 <= x <= 10000

Response

Affiliate earnings breakdown

Response for GET /api/v1/affiliates/earnings/{account}.

affiliate_account
string
required

The affiliate's wallet address.

earnings
object
required

Aggregated earnings breakdown.

is_affiliate
boolean
required

Whether this account is a managed affiliate (15% L1 rate) or normal referrer (10%).

users
object
required

Per-user referral details (paginated).