Skip to main content
GET
/
users
/
leaderboard
Leaderboard
curl --request GET \
  --url https://api.offlineprotocol.com/api/v1/users/leaderboard \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "selfRank": 123,
    "totalUsers": 123,
    "users": [
      {
        "id": 123,
        "username": "<string>",
        "totalPoints": 123,
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
limit
integer

Response

200 - application/json

Success

data
object
I