GET
/
v1
/
user
/
{user_id}
/
social_data
cURL
curl --request GET \
  --url https://staging.terminal3.io/v1/user/{user_id}/social_data \
  --header 'x-api-token: <x-api-token>'
{
  "steam": {
    "player_summaries": {
      "steamid": "<string>",
      "personastate": 123,
      "personaname": "<string>"
    },
    "owned_games": {
      "game_count": 123,
      "games": [
        {
          "appid": "<string>",
          "name": "<string>",
          "playtime_2weeks": 123,
          "playtime_forever": 123
        }
      ]
    },
    "recent_played_games": {
      "total_count": 123,
      "games": [
        {
          "appid": "<string>",
          "name": "<string>",
          "playtime_2weeks": 123,
          "playtime_forever": 123
        }
      ]
    }
  },
  "twitch": {
    "username": "<string>",
    "view_count": 123,
    "follower_count": 123,
    "followed_channels": {
      "total": 123,
      "broadcasters": [
        {
          "broadcaster_login": "<string>",
          "broadcaster_name": "<string>",
          "followed_at": "<string>"
        }
      ]
    }
  },
  "discord": {
    "email_verified": true,
    "guilds": [
      {
        "id": "<string>",
        "name": "<string>",
        "owner": true
      }
    ]
  },
  "twitter": {
    "followers_count": 123,
    "friends_count": 123,
    "listed_count": 123
  }
}
Supported social connections:
  • Steam
  • Discord
  • Twitch
  • Twitter (X)

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

The response is of type object.