# How can i get steam id with twitch api?

**URL:** <https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090>\
**Category:** API\
**Created:** [January 24, 2021, 12:28am UTC](https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090 "2021-01-24T00:28:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDarkSword](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@TheDarkSword](https://staging-discuss.dev.twitch.com/u/TheDarkSword)\
**Post date:** [January 24, 2021, 12:28am UTC](https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090/1 "2021-01-24T00:28:48Z")

</div>

Hello, i tried to search all the day how get linked steam account id of a twitch user but i saw only old methods. I searched from docs but i dind’t find nothing then i ask this question to you.

Then… how can i get steam account id linked to a twitch user?

Thanks in advance.  
Have a good day.

---

<div class="post-metadata">

**Author:** ![Dist](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://staging-discuss.dev.twitch.com/u/Dist)\
**Post date:** [January 24, 2021, 12:40am UTC](https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090/2 "2021-01-24T00:40:12Z")

</div>

You don’t, Twitch doesn’t disclose what other apps/services a user has connected to their account as it’s not the correct way to go about this sort of thing.

If you want to know a users Steam ID, you will need that user to go through a Steam OAuth flow so you’ll know their Steam ID, and also go through the Twitch OAuth flow for your app so you have their Twitch ID.

---

<div class="post-metadata">

**Author:** ![TheDarkSword](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@TheDarkSword](https://staging-discuss.dev.twitch.com/u/TheDarkSword)\
**Post date:** [January 24, 2021, 1:25am UTC](https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090/3 "2021-01-24T01:25:35Z")

</div>

I asked that because i want to give a Rust (game) group when user subscribe to a twitch channel, i registered event for detecting that but i needed the steam id to do that.

P.S. [https://www.twitch.tv/settings/connections](https://www.twitch.tv/settings/connections) The steam id is shown here, so I thought it was possible

Thanks for the answer.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [February 23, 2021, 1:25am UTC](https://staging-discuss.dev.twitch.com/t/how-can-i-get-steam-id-with-twitch-api/30090/4 "2021-02-23T01:25:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
