partnerStats
Get partner stats. If timestamps are not provided, all-time stats will be returned.
get/api/v1/partnerStats
Query parameters
account_indexinteger · int64Required
Account index to query.
start_timestampinteger · int64Optional
Inclusive start of the requested time range, as a Unix timestamp in milliseconds.
end_timestampinteger · int64Optional
End of the requested time range, as a Unix timestamp in milliseconds.
periodstringOptional
Requested reporting period.
Responses
200
A successful response.
application/json
Fields with zero or empty values may be omitted; handle optional properties when decoding responses.
codeinteger · int32RequiredExample:
200messagestringOptional
total_fees_earnedstringRequired
total_taker_fees_earnedstringRequired
total_maker_fees_earnedstringRequired
total_volumestringRequired
total_taker_volumestringRequired
total_maker_volumestringRequired
total_tradesinteger · int64Required
total_taker_tradesinteger · int64Required
total_maker_tradesinteger · int64Required
unique_clientsinteger · int64Required
400
Bad request
application/json
get/api/v1/partnerStats
GET /api/v1/partnerStats?account_index=1 HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"total_fees_earned": "text",
"total_taker_fees_earned": "text",
"total_maker_fees_earned": "text",
"total_volume": "text",
"total_taker_volume": "text",
"total_maker_volume": "text",
"total_trades": 1,
"total_taker_trades": 1,
"total_maker_trades": 1,
"unique_clients": 1,
"daily_stats": [
{
"date": "text",
"total_fees_earned": "text",
"total_taker_fees_earned": "text",
"total_maker_fees_earned": "text",
"total_volume": "text",
"total_taker_volume": "text",
"total_maker_volume": "text",
"total_trades": 1,
"total_taker_trades": 1,
"total_maker_trades": 1,
"unique_clients": 1
}
]
}Last updated
Was this helpful?