Skip to navigation

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, default all_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 (always online: true)
  • data.period — The active period

Authentication

AuthorizationBearer

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

Query parameters

periodstringOptional

Leaderboard period (default all_time)

limitstringOptional

Number of entries (default 25, max 250)

Response

OK