Find up to N shortest friend paths between two accounts
/v1/account.findFriendPathAuthorizationBearer token · headerrequiredapplication/jsonexcludeAccountSearch[] | nullAccounts to exclude from all paths. From/To are never excluded even if listed.
Show 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
fromAccountSearchrequiredStarting account
Show propertiesHide properties
idIDSearchShow 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
maxPathsinteger<int32>Max number of paths to return (default 10, capped at 50). A direct friendship always returns a single path regardless of this value.
toAccountSearchrequiredTarget account
Show propertiesHide properties
idIDSearchShow 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
OK
foundbooleanrequiredWhether any path was found
pathsFriendPath[] | nullrequiredPaths sorted ascending by distance
Show propertiesHide properties
FriendPathdistanceinteger<int64>requiredNumber of hops in this path
pathLeaderboardAccount[] | nullrequiredOrdered accounts from source to target
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
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.
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.
Service Unavailable
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.