SteamSets
ApiAccount

Get Friends

POST
/account.v1.AccountService/GetFriends
/account.v1.AccountService/GetFriends

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonRequired

idobject

vanityobject

curl -X POST "https://api.steamsets.com/account.v1.AccountService/GetFriends" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": {
      "accountId": 0,
      "steamId64": "stringstringstrin"
    },
    "vanity": {
      "type": "steam",
      "value": "string"
    }
  }'

OK

{
  "friends": [
    {
      "appCost": 123456,
      "apps": 123456,
      "avatar": "f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9",
      "averagePlaytime": 123456,
      "awardsGiven": 123456,
      "awardsReceived": 123456,
      "badges": 123456,
      "bans": 0,
      "city": {
        "id": 1,
        "name": "Bad Krozingen"
      },
      "country": {
        "code": "DE",
        "id": 1,
        "name": "Germany"
      },
      "createdAt": "2023-01-01T00:00:00Z",
      "economyBan": "steam",
      "foilBadgeCost": 123456,
      "foilBadges": 123456,
      "friends": 123456,
      "friendsSince": "2019-08-24T14:15:22Z",
      "gameBans": 0,
      "level": 123456,
      "limitedApps": 123456,
      "name": "steamsets",
      "normalBadgeCost": 123456,
      "normalBadges": 123456,
      "playtime": 123456,
      "pointsGiven": 123456,
      "pointsReceived": 123456,
      "privacy": "public",
      "region": {
        "id": 1,
        "name": "Europe"
      },
      "roles": [
        {
          "rating": 0,
          "role": "user"
        }
      ],
      "state": {
        "id": 1,
        "name": "Baden-Wurttemberg"
      },
      "steamId": "76561198842603734",
      "steamSetsScore": 0,
      "steamSetsVanity": "steamsets",
      "steamVanity": "steamsets",
      "vacBans": 0,
      "xp": 123456
    }
  ]
}