Skip to main content
Contents This topic describes how to get the values of a title-managed leaderboard.

Getting an entire leaderboard

Use XblLeaderboardGetLeaderboardAsync to return the leaderboard values for a given leaderboard. The results are returned in order of decreasing rank, starting from the top of the leaderboard. When querying a leaderboard backed by a title-managed stat, be sure to set the queryType field to either XblLeaderboardQueryType::TitleManagedStatBackedGlobal or XblLeaderboardQueryType::TitleManagedStatBackedSocial. C API
Reference

Getting a leaderboard around a specified rank

You can get filtered results from a leaderboard query by specifying query criteria when you create XblLeaderboardQuery. To get leaderboard values around a specified rank, use the code in the example above but substitute the lines creating XblLeaderboardQuery with the following code: C API
Reference

Getting a leaderboard around a specified player

To get leaderboard values around a specified player, use the code in the example above but substitute the lines creating XblLeaderboardQuery with the following code: C API
Reference
Last modified on August 20, 2026