The GetFriendLeaderboardAroundPlayer API does not base the center of the leaderboard around the currently logged in player - it can be any PlayFab ID supplied with the request. You can use this to allow players to look up any friend’s location on the leaderboard, regardless of their distance from each other.
Friends Leaderboards
Tutorial for creating PlayFab friends leaderboards that mirror standard leaderboard APIs but restrict rankings to a player’s friends list and nearby friends.
Friends-specific APIs mirror the standard GetLeaderboard and GetLeaderboardAroundPlayer API calls, but restrict the player pool to the player’s friends list.
Last modified on August 10, 2026
Related topics
PFLeaderboardsGetFriendLeaderboardForEntityRequestPFLeaderboardsGetFriendLeaderboardForEntityAsyncPFLeaderboardsGetFriendLeaderboardForEntityGetResultPFLeaderboardsGetFriendLeaderboardForEntityGetResultSizeDoing with more leaderboards