Retrieve aggregated leaderboard data for a specific configuration.
Supported query parameters:
limit: number (1-100, default: 10) - Number of items per page
skip: number (>= 0, default: 0) - Number of items to skip for pagination
inHistoricPeriod: ISO 8601 date string (optional) - Get results for a historical period. Returns data for the leaderboard period that the date fell into. If not provided, the current period will be used.
Path parameters:
configId: string (required) - MongoDB ObjectId of the leaderboard configuration
Response:
totalCount: Total number of leaderboard entries
edges: Array of leaderboard entries containing userId, username, displayName, profilePictureUrl, and value (score)
lastUpdatedAt: Timestamp when the leaderboard data was last cached or updated
GET
/
leaderboards
/
{configId}
/
data
Get aggregated leaderboard data
Copy
Ask AI
curl --request GET \ --url https://{subdomain}.nudj.cx/api/v2/admin/leaderboards/{configId}/data \ --header 'x-api-token: <api-key>'