Skip to main content
POST
/
v1
/
account.getBadgeStats
Get account badge statistics
curl --request POST \
  --url https://api.steamsets.com/v1/account.getBadgeStats \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": {
    "accountId": 1,
    "steamId64": "<string>"
  },
  "vanity": {
    "type": "steam",
    "value": "<string>"
  }
}
'
{
  "count": {
    "foil": 123,
    "normal": 123,
    "special": 123
  },
  "levels": {},
  "scarcities": {},
  "totalBadges": 123,
  "xp": {
    "foil": 1,
    "normal": 1
  },
  "$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
id
object
vanity
object

Response

OK

count
object
required
levels
object
required
scarcities
object
required
totalBadges
integer<int32>
required

The total number of badges

xp
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.