# View viewers of a stream and people in chat

**URL:** <https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725>\
**Category:** API\
**Created:** [October 5, 2019, 1:17am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725 "2019-10-05T01:17:37Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 1:17am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/1 "2019-10-05T01:17:37Z")

</div>

How do I get a list of people watching a streamer and people who are active in that streamers chat?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 5, 2019, 2:07am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/2 "2019-10-05T02:07:23Z")

</div>

It’s impossible to get a list of people viewing the stream. Only Twitch has that data, and game developers have a limited set of that data through the VHS/Drops system but even then the viewer has to opt in to it and they only get data from streams playing their game.

As for people in chat, you if you do a search for the undocumented chatters endpoint you’ll find how to do that, but as an undocumented endpoint you will get no support for it and it will likely be turned off, potentially without prior warning, one day.

---

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 2:08am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/3 "2019-10-05T02:08:23Z")

</div>

If I have another twitch user username, can I check if they are watching that streamer?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 5, 2019, 2:09am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/4 "2019-10-05T02:09:24Z")

</div>

No, it’s impossible for you to know who is watching a stream, it would be an invasion of privacy.

---

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 2:09am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/5 "2019-10-05T02:09:56Z")

</div>

Can I check if someone has chatted during a specific stream?

---

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 2:10am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/6 "2019-10-05T02:10:14Z")

</div>

Or is all the information I can get from a stream the amount of viewers and game info?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 5, 2019, 2:10am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/7 "2019-10-05T02:10:55Z")

</div>

If you want to know if someone has spoken in chat you’d have to connect to chat and keep track of every message spoken in that channel (with the channel owners permission, of course).

---

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 2:17am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/8 "2019-10-05T02:17:04Z")

</div>

Was this possible in older API versions / at any point in time?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 5, 2019, 2:19am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/9 "2019-10-05T02:19:12Z")

</div>

It’s never been possible.

---

<div class="post-metadata">

**Author:** ![Anish](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/anish/32/7118_2.png) [@Anish](https://discuss.dev.twitch.com/u/Anish)\
**Post date:** [October 5, 2019, 2:19am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/10 "2019-10-05T02:19:24Z")

</div>

Seems the royal streamers are able to do it so is it possible at all?

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 5, 2019, 2:23am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/11 "2019-10-05T02:23:55Z")

</div>

Like I’ve told you. If you want to know if someone has spoken in chat you have to connect to chat and read the messages as they happen. There are NO documented endpoint to retrieve who has spoken in chat, or historical chat data.

As for viewers there is no way to know who specifically is viewing a stream. It is possible to collect some mixture of metrics based on extension activity, presence in chat, chat activity, etc… but none of that has certainty to it.

Many 3rd party services that do analytics or try to track viewership data do so using various metrics but there will always be a degree of inaccuracy because no 3rd party has access to accurate viewer data, so they collect metrics from many sources themselves, and the exact data used is often not disclosed.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [October 5, 2019, 11:58am UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/12 "2019-10-05T11:58:52Z")

</div>

> [@Anish](#):
>
> Seems the royal streamers are able to do it so is it possible at all?

Royal logs all the chats of the Royal Streamers in real time.

As dist mentioned:

> [@Dist](#):
>
> If you want to know if someone has spoken in chat you’d have to connect to chat and keep track of every message spoken in that channel (with the channel owners permission, of course).

Royal knows has a nice list of known streamers to look at.

---

<div class="post-metadata">

**Author:** ![GARBAGEPLAY](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/garbageplay/32/7218_2.png) [@GARBAGEPLAY](https://discuss.dev.twitch.com/u/GARBAGEPLAY)\
**Post date:** [October 15, 2019, 6:32pm UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/13 "2019-10-15T18:32:06Z")

</div>

> [@Dist](#):
>
> you have to connect to chat and read the messages as they happen

Through the irc commands?

---

<div class="post-metadata">

**Author:** ![GARBAGEPLAY](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/garbageplay/32/7218_2.png) [@GARBAGEPLAY](https://discuss.dev.twitch.com/u/GARBAGEPLAY)\
**Post date:** [October 15, 2019, 6:33pm UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/14 "2019-10-15T18:33:13Z")

</div>

I find that the unofficial endpoint of chatters is VERY close to the actual viewers watching the stream, often off by less than 1%. This is good enough for most people.

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [October 15, 2019, 7:34pm UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/15 "2019-10-15T19:34:11Z")

</div>

It varies depending on which channels you’re looking at. The Twitch average deviation between viewers and users in chat is usually much closer to 20%, with some as high as 50% and rarely below 5% difference.

This difference also varies greatly depending on the type of stream happening.

Those figures are just a very rough overview based on doing ~6 years of Twitch analytics myself.

tl;dr don’t assume the chatters endpoint is anywhere close to actual viewers.

---

<div class="post-metadata">

**Author:** ![GARBAGEPLAY](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/garbageplay/32/7218_2.png) [@GARBAGEPLAY](https://discuss.dev.twitch.com/u/GARBAGEPLAY)\
**Post date:** [October 15, 2019, 8:55pm UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/16 "2019-10-15T20:55:42Z")

</div>

oof. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [November 14, 2019, 8:55pm UTC](https://discuss.dev.twitch.com/t/view-viewers-of-a-stream-and-people-in-chat/22725/17 "2019-11-14T20:55:45Z")

</div>

Closed on November 14, 2019, 8:55pm UTC

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