GET
/
v1
/
user
/
{user_id}
/
social_data
curl --request GET \
  --url https://staging.terminal3.io/v1/user/{user_id}/social_data \
  --header 'Authorization: Bearer <token>' \
  --header 'x-api-token: <x-api-token>'
{
  "steam": {
    "steamid": "<string>",
    "personaname": "<string>",
    "profileurl": "<string>",
    "avatar": "<string>",
    "personastate": 123,
    "timecreated": 123
  },
  "owned_games": {
    "game_count": 0,
    "games": [
      {
        "appid": "<string>",
        "name": "<string>",
        "playtime_2weeks": 0,
        "playtime_forever": 0
      }
    ]
  },
  "recent_played_games": {
    "total_count": 0,
    "games": [
      {
        "appid": "<string>",
        "name": "<string>",
        "playtime_2weeks": 0,
        "playtime_forever": 0
      }
    ]
  },
  "discord": {
    "email_verified": true,
    "guilds": [
      {
        "id": "<string>",
        "name": "<string>",
        "owner": true
      }
    ]
  },
  "twitch": {
    "username": "<string>",
    "view_count": 0,
    "follower_count": 0,
    "followed_channels": {
      "total": 0,
      "broadcasters": [
        {
          "broadcaster_login": "<string>",
          "broadcaster_name": "<string>",
          "followed_at": "<string>"
        }
      ]
    }
  }
}

Supported social connections:

  • Steam
  • Discord
  • Twitch
  • Twitter (X)

Authorizations

Authorization
string
header
required

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

Headers

x-api-token
string
required
x-api-subclient-id
string

Path Parameters

user_id
number
required
Required range: x > 0

Response

200
application/json
Success
steam
object

Steam data

owned_games
object

Owned games object

recent_played_games
object

Recently played games object

discord
object

Discord data

twitch
object

Twitch data