Find accounts with a spare copy of one or more trading cards: a copy their badge does not need. Only cards with few owners are looked up. Every caller gets the totals. A donator gets the holders, nearest in the friend graph first.
/v1/item.findSpareHoldersAuthorizationBearer token · headerrequiredapplication/jsonholdersPerIteminteger<int32>Max holders returned per item (default 10, max 25)
itemIdsinteger<int64>[] | nullrequiredTrading card class IDs to look up
maxDepthinteger<int32>Friend-path depth limit (default 4, max 6)
OK
itemsItemSpareHolders[] | nullrequiredShow propertiesHide properties
ItemSpareHoldersclassIdinteger<int64>requiredholdersSpareHolder[] | nullrequiredShow propertiesHide properties
SpareHolderaccountLeaderboardAccount | nullrequiredThe account with a spare copy
Show propertiesHide properties
animatedAvatarstringrequiredThe 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_boosterastralnebulastateLeaderboardState | 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
distanceinteger<int32>Number of hops from requester to holder
pathLeaderboardAccount[] | nullAccounts from requester (first) to holder (last), inclusive
pathFoundbooleanrequiredWhether a friend path was found within maxDepth
spareinteger<int32>requiredCopies the account's badge does not need
tradeUrlstringThe holder's Steam trade offer link, when the holder added one
tooCommonbooleanrequiredTrue when the card has too many owners to look up spares. Use item.findOwners for it.
totalHoldersinteger<int32>requiredAccounts with a copy their badge does not need
lockedbooleanrequiredTrue when the caller's role does not include the holder list. The totals are still returned.
Bad 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.
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.