Get app leaderboard
GET /v1/client/leaderboard
curl \
-X GET https://api.bitlabs.ai/v1/client/leaderboard \
-H "X-Api-Token: $API_KEY" \
-H "X-User-Id: $API_KEY"
Response examples (200)
{
"data": {
"next_reset_at": "2022-01-01T12:00:00Z",
"rewards": [
{
"rank": 42,
"reward_raw": 42.0
}
],
"top_users": [
{
"rank": 42,
"name": "string",
"earnings_raw": 42.0
}
],
"own_user": {
"rank": 42,
"name": "string",
"earnings_raw": 42.0
}
}
}