cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Account ID to search for
x >= 0
SteamID64 to search for
17
Which type of vanity to search for
steam
internal
Vanity to search for
2
OK
The total number of badges
A URL to the JSON Schema for this object.