The leaderboard API returns the top 50 players ranked by their cumulative score. You can use this endpoint to build external scoreboards, integrate FlagForge standings into Discord bots, or display rankings in your own UI. No authentication is required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flagForgeCTF/flagForge/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/leaderboard
Return the top 50 players sorted bytotalScore in descending order.
Scores update in real time as players submit correct flags. Each successful flag submission increments the solver’s
totalScore immediately, so this endpoint always reflects the current live standings.Response
The response is a JSON array of player objects. The array is ordered from highest to lowest score.The player’s display name.
The player’s cumulative score across all solved challenges.
URL to the player’s avatar image. May be
null if the user has no avatar set.Number of challenges the player has solved.
The player’s current rank (1-indexed). Rank
1 is the highest-scoring player.URL-safe version of the player’s name (spaces replaced with hyphens). Use this to construct links to the player’s public profile at
/user/[slug].