Skip to main content
POST
Get Leaderboard For User Characters

Authorizations

X-SecretKey
string
header
required

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Body

application/json
PlayFabId
string
required

Unique PlayFab assigned ID of the user on whom the operation will be performed.

StatisticName
string
required

Unique identifier for the title-specific statistic for the leaderboard.

Response

NOTE: The position of the character in the results is relative to the other characters for that specific user. This mean the values will always be between 0 and one less than the number of characters returned regardless of the size of the actual leaderboard.

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object

NOTE: The position of the character in the results is relative to the other characters for that specific user. This mean the values will always be between 0 and one less than the number of characters returned regardless of the size of the actual leaderboard.

Example:
Last modified on October 1, 2026