Skip to main content
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 '
{
  "leaderboard": "apps",
  "app": {
    "appId": 1
  },
  "badge": {
    "id": 1,
    "isFoil": true
  },
  "location": [
    {
      "city": "<string>",
      "country": "<string>",
      "region": "<string>",
      "state": "<string>"
    }
  ]
}
'
{
  "description": "<string>",
  "title": "<string>",
  "$schema": "<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
app
object

For a given app leaderboard, the app id

badge
object

For a given badge leaderboard, the steam badge id

location
(object | null)[] | 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.