This endpoint supports API key authentication for external integrations
API Access
This endpoint can be accessed using:- API Keys: For external applications and integrations
- User Sessions: For web application access
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The leaderboard to get
Available options:
apps, awards_given, awards_received, bans, game_bans, vac_bans, donations, foil_badges, normal_badges, badges, playtime, points_given, points_received, steam_sets, xp Examples:
"xp"
What their leaderboard score would be, will use their current rank if not set
Required range:
x >= 0Response
OK
A URL to the JSON Schema for this object.
Examples:
"https://api.steamsets.com/schemas/V1LeaderboardPreviewAccountRankResponseBody.json"
Either the logged in user or the requested steamId, otherwise just contains the rank and score
The account ranked above the account (rank-1)
The account ranked below the account (rank+1)
The number of accounts that are ranked in the leaderboard
Required range:
x >= 0