Get Leaderboard
Return the ranked member leaderboard plus the viewer’s own entry.
Authentication: Required — Bearer token.
Feature gate: Requires both show_leaderboard and directory_enabled. When either is off, returns { data: { period, data: [] } }.
Query parameters:
period(optional, defaultall_time)limit(optional, default 25, max 250)
Response:
data.data— Array of ranked entries (rank,score, user info, counts,current_streak,top_achievements,online)data.viewer— The viewer’s own entry (alwaysonline: true)data.period— The active period
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
period
Leaderboard period (default all_time)
limit
Number of entries (default 25, max 250)
Response
OK