Compare badge collections between accounts
/v1/account.compareBadgesAuthorizationBearer token · headerrequiredapplication/jsonaccountsAccountSearch[] | nullrequiredShow propertiesHide properties
AccountSearchidIDSearchShow propertiesHide properties
accountIdinteger<int32>Account ID to search for
steamId64stringSteamID64 to search for
vanityVanitySearchShow propertiesHide properties
typestringrequiredWhich type of vanity to search for
steaminternalvaluestringrequiredVanity to search for
appIdsinteger<int32>[] | nullappTypesstring[] | nulldifferenceDifferenceFilterOnly badges owned by has but not by lacks. Both accounts must be in accounts.
Show propertiesHide properties
hasAccountSearchrequiredAccount that must own the badge
Show propertiesHide properties
idIDSearchvanityVanitySearchlacksAccountSearchrequiredAccount that must not own the badge
Show propertiesHide properties
idIDSearchvanityVanitySearchexcludeAppIdsinteger<int32>[] | nullfilterstringallnormalfoilignorestring[] | nullmatchstringtupletupleLeveltupleMinLevelminLevelinteger<int32>Only used when match=tupleMinLevel
modestringmissingownedByAlluniqueorderOrderShow propertiesHide properties
bystringrequiredscarcitylevelnamexpcompletedAtdirectionstringrequiredascdescpageinteger<int32>rangesRangeFilter[] | nullShow propertiesHide properties
RangeFiltermaxinteger<int64>mininteger<int64>typestringrequiredscarcityOK
accountsLeaderboardAccount[] | nullrequiredThe compared accounts, in the order they were requested
Show propertiesHide properties
LeaderboardAccountanimatedAvatarstringrequiredThe animated avatar of the account
appsinteger<int32>requiredThe number of apps the account has
avatarstringrequiredThe avatar hash of the account
avatarFramestringrequiredThe avatar frame of the account
awardsGiveninteger<int32>requiredThe number of awards the account has
awardsReceivedinteger<int32>requiredThe number of awards the account has
backgroundstringrequiredThe background of the account
badgesinteger<int32>requiredThe number of badges the account has
bansinteger<int32>requiredThe number of bans
cityLeaderboardCity | nullThe city of the account
Show propertiesHide properties
namestringrequiredThe name of the city
countryLeaderboardCountry | nullThe country of the account
Show propertiesHide properties
codestringThe code of the country
namestringrequiredThe name of the country
createdAtstring<date-time>requiredThe time the account was created
donatedinteger<int32>requiredThe total of donations the account has
economyBanstringrequiredThe economy ban of the account
foilBadgesinteger<int32>requiredThe number of foil badges the account has
friendsinteger<int32>requiredThe number of friends the account has
gameBansinteger<int32>requiredThe number of game bans
levelinteger<int32>requiredThe level of the account
miniBackgroundstringrequiredThe mini background of the account
namestringrequiredThe name of the account
nameEffectstringrequiredDonator name effect, none when unset or the account no longer holds an entitling role
nonerainbowshadowneonshattervaporwavestardustcosmicsakurahalomoltenglassamber_glintamethyst_glintemerald_depthsapphire_depthruby_firediamond_fireastral_skynebula_skystaff_scandeveloper_scancrownlensboostnormalBadgesinteger<int32>requiredThe number of normal badges the account has
playtimeinteger<int32>requiredThe playtime of the account
pointsGiveninteger<int32>requiredThe number of points the account has
pointsReceivedinteger<int32>requiredThe number of points the account has
privacystringrequiredThe privacy of the account
publicprivatefriends_onlyregionLeaderboardRegion | nullThe region of the account
Show propertiesHide properties
namestringrequiredThe name of the region
rolesRole[] | nullrequiredThe roles of the account
Show propertiesHide properties
Roleextrasobject | nullrequiredExtra data associated with the role
ratinginteger<int32>requiredThe higher the more presedence it has
rolestringrequireduserdonatorstaffdeveloperpartnerowneramethystamberemeraldsapphirerubydiamondcontributorearly_supporterbetatranslatortop_100badge_scoutnitro_boosterlevels_adminastralnebulastateLeaderboardState | nullThe state of the account
Show propertiesHide properties
namestringrequiredThe name of the state
steamIdstringrequiredThe steam id
steamSetsScoreinteger<int32>requiredThe steam sets score
steamSetsVanitystringrequiredThe vanity of the account
steamVanitystringrequiredThe vanity of the account
supporterSupporterStatusWhether this account helps cover the monthly server costs, omitted when it never donated
Show propertiesHide properties
activebooleanrequiredDonated this month
monthsinteger<int32>requiredTotal months with a donation
themeColorstring | nullrequiredDonator profile theme color as #RRGGBB (no alpha), null when unset or the account no longer holds an entitling role
vacBansinteger<int32>requiredThe number of vac bans
xpinteger<int32>requiredThe number of xp the account has
pagesinteger<int32>requiredThe number of pages
totalHitsinteger<int32>requiredThe total number of hits for all pages
tuplesComparedTuple[] | nullrequiredShow propertiesHide properties
ComparedTupleaccountsTupleAccount[] | nullrequiredOne entry per compared account, in the same order as the top-level accounts
Show propertiesHide properties
TupleAccountcompletedAtstring<date-time>levelinteger<int32>requiredxpinteger<int32>requiredappIdinteger<int32>requiredappImagestringrequiredappNamestringrequiredappTypestringrequiredbadgeImagestringrequiredbadgeNamestringrequiredisEventbooleanrequiredisFoilbooleanrequiredisSalebooleanrequiredmaxLevelinteger<int32>requiredscarcityinteger<int64>requiredsteamIdinteger<int32>requiredtrackedHoldersinteger<int64>requiredBad Request
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Unauthorized
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Not Found
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Unprocessable Entity
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.
Internal Server Error
detailstringA human-readable explanation specific to this occurrence of the problem.
errorsErrorDetail[] | nullOptional list of individual error details
Show propertiesHide properties
ErrorDetaillocationstringWhere the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
messagestringError message text
valueanyThe value at the given location
instancestring<uri>A URI reference that identifies the specific occurrence of the problem.
statusinteger<int64>HTTP status code
titlestringA short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestring<uri>A URI reference to human-readable documentation for the error.