POST
/
v1
/
leaderboard.getAccountsMeta
Get accounts leaderboard metadata
curl --request POST \
  --url https://api.steamsets.com/v1/leaderboard.getAccountsMeta \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "app": {
    "appId": 730
  },
  "badge": {
    "id": 1,
    "isFoil": true
  },
  "leaderboard": "xp",
  "location": [
    {
      "city": "Bad Krozingen",
      "country": "Germany",
      "region": "Europe",
      "state": "Baden-Wurttemberg"
    }
  ]
}'
{
  "$schema": "https://api.steamsets.com/schemas/V1LeaderboardGetAccountsMetaResponseBody.json",
  "description": "<string>",
  "title": "<string>"
}
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
See our API documentation for authentication details.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
leaderboard
enum<string>
required

The leaderboard to get

Available options:
apps,
app_playtime,
app_valid_playtime,
awards_given,
awards_received,
bans,
game_bans,
vac_bans,
donations,
foil_badges,
normal_badges,
badges,
playtime,
valid_playtime,
points_given,
points_received,
steam_sets,
xp,
badge_completion_time,
badge_highest_level
Examples:

"xp"

app
object | null

For a given app leaderboard, the app id

badge
object | null

For a given badge leaderboard, the steam badge id

location
array | null

The location(s)to get the leaderboard for, otherwise global

Response

OK

description
string
required
title
string
required
$schema
string<uri>

A URL to the JSON Schema for this object.

Examples:

"https://api.steamsets.com/schemas/V1LeaderboardGetAccountsMetaResponseBody.json"