Skip to main content
POST
/
v1
/
account.listFriends
List account friends
curl --request POST \
  --url https://api.steamsets.com/v1/account.listFriends \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": {
    "accountId": 1,
    "steamId64": "<string>"
  },
  "vanity": {
    "type": "steam",
    "value": "<string>"
  }
}
'
{
  "friends": [
    {
      "appCost": 1,
      "apps": 1,
      "avatar": "<string>",
      "awardsGiven": 1,
      "awardsReceived": 1,
      "badges": 1,
      "bans": 1,
      "createdAt": "2023-11-07T05:31:56Z",
      "donated": 1,
      "economyBan": "<string>",
      "foilBadgeCost": 1,
      "foilBadges": 1,
      "friends": 1,
      "friendsSince": "2023-11-07T05:31:56Z",
      "gameBans": 1,
      "level": 1,
      "name": "<string>",
      "normalBadgeCost": 1,
      "normalBadges": 1,
      "playtime": 1,
      "pointsGiven": 1,
      "pointsReceived": 1,
      "privacy": "public",
      "roles": [
        {
          "extras": {},
          "rating": 123,
          "role": "user"
        }
      ],
      "steamId": "<string>",
      "steamSetsScore": 1,
      "steamSetsVanity": "<string>",
      "steamVanity": "<string>",
      "vacBans": 1,
      "xp": 1,
      "city": {
        "name": "<string>"
      },
      "country": {
        "name": "<string>",
        "code": "<string>"
      },
      "region": {
        "name": "<string>"
      },
      "state": {
        "name": "<string>"
      }
    }
  ],
  "$schema": "<string>"
}
This endpoint supports API key authentication for external integrations

API Access

This endpoint can be accessed using:
  • API Keys: For external applications and integrations
  • User Sessions: For web application access
See our API documentation for authentication details.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
object
vanity
object

Response

OK

friends
(object | null)[] | null
required
$schema
string<uri>

A URL to the JSON Schema for this object.