Authorization headerleaderboardcommunityID401 if missing, invalid, or insufficientpage starts at 1 and defaults to 1limit defaults to 20 and has a max of 100total is the number of records after the community and search filters are appliedsearch to count/list all leaderboards for the API-key communitysearch=keyword:<value> filters by leaderboard name or slugfields is a projection; omit it to return the default full document shapeduration is optional on response rows because pre-duration legacy rows may omit it until repaired through the update APIGET /leaderboards?page=1&limit=20&sort=createdAt:descGET /leaderboards?page=1&limit=20&sort=createdAt:desc&search=keyword:topcurl --location 'https://api.returning.ai/v1/leaderboards?page=1&limit=20&sort=createdAt%3Adesc&fields=&search=' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200,
"page": 1,
"limit": 20,
"total": 11
},
"message": "Read leaderboards success.",
"data": [
{
"_id": "69ea45dcecb17b3d0cb8824c",
"communityID": "6502c97314a3e564c5bbfa84",
"name": "Top Traders 2",
"slug": "top-traders-2",
"description": "Monthly trading leaderboard",
"rankBy": "currencies",
"displayedFields": [
"name",
"score"
],
"displayFieldsOrder": [
"name",
"score"
],
"timeFilters": [
"all-time",
"monthly"
],
"performanceDisplay": {
"showTop": {
"enabled": true,
"value": 10
},
"showPositive": {
"enabled": true
},
"showDummy": {
"enabled": false
}
},
"rankedUserRoles": {
"users": [],
"roles": [],
"tags": []
},
"viewPermissionUserRoles": {
"users": [],
"roles": [],
"tags": []
},
"enabled": true,
"previewEnabled": false,
"selected": false,
"updatedAt": "2026-04-23T16:16:28.537Z",
"createdAt": "2026-04-23T16:16:28.537Z"
}
]
}