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>"
  }
}'
{
  "$schema": "https://api.steamsets.com/schemas/V1AccountBadgeStats.json",
  "count": {
    "foil": 123,
    "normal": 123,
    "special": 123
  },
  "levels": {},
  "scarcities": {},
  "totalBadges": 123456,
  "xp": {
    "foil": 1,
    "normal": 1
  }
}
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

Response

OK

The response is of type object.