Skip to main content
GET
/
v1
/
referral
/
multi_level
/
statistics
Get multilevel statistics
curl --request GET \
  --url https://api.orderly.org/v1/referral/multi_level/statistics \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "direct_invites": 3,
    "indirect_invites": 1,
    "direct_traded": 1,
    "indirect_traded": 1,
    "direct_volume": 1000,
    "indirect_volume": 1000,
    "direct_rebate": 1000,
    "direct_bonus_rebate": 1000,
    "indirect_rebate": 1000
  }
}

Headers

orderly-timestamp
string
required

Timestamp of the signed request in milliseconds.

orderly-account-id
string
required

Account ID of the authenticated account.

orderly-key
string
required

Public orderly key used to sign the request.

orderly-signature
string
required

Signature of the request payload generated with the orderly key.

Query Parameters

time_range
enum<string>
required

Time range for statistics: 1d, 7d, 30d, all_time

Available options:
1d,
7d,
30d,
all_time

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989

data
object