List account friends
/v1/account.listFriendsAuthorizationBearer token · headerrequiredapplication/jsoncursorstringOpaque cursor from a previous page's nextCursor. Omit for the first page
idIDSearchShow propertiesHide properties
accountIdinteger<int32>Account ID to search for
steamId64stringSteamID64 to search for
includeStatsbooleanAdd averages over all friends to the response
limitinteger<int64>Friends per page
offsetinteger<int64>Number of friends to skip, to go to a page directly. Ignored when cursor is set
orderstringSort direction
ascdescsearchstringReturn only friends whose name contains this text. The match ignores case
sortstringSort key. Equal keys keep the friendsSince order (newest first, then account id)
friendsSincelevelbadgesappsplaytimenamevanityVanitySearchShow propertiesHide properties
typestringrequiredWhich type of vanity to search for
steaminternalvaluestringrequiredVanity to search for
OK
filteredTotalinteger<int64>requiredNumber of friends in this view across all pages: the friends that match the search and have a loaded account
friendsV1AccountFriend[] | nullrequiredShow propertiesHide properties
V1AccountFriendanimatedAvatarstringrequiredThe 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
friendsSincestring<date-time> | nullrequiredgameBansinteger<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
nextCursorstring | nullrequiredCursor for the next page, null when this is the last page
statsV1AccountListFriendsStatsAverages over all friends. Set only with includeStats
Show propertiesHide properties
averageBadgesinteger<int64>requiredAverage badge count of all friends, rounded
averageLevelinteger<int64>requiredAverage Steam level of all friends, rounded
totalinteger<int64>requiredTotal number of friends across all pages
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.
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.
Forbidden
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.