Is it possible to get a list of all users watching the live?

I needed a list that would show me all the people who are watching the live at the current moment or something similar to this, so that a bot can make some user.

There are no API endpoints to get a list of users who are viewing a channel.

The closest you can get is the Get Chatters endpoint which returns a list of users connected to chat. Because of this it will also include bots and users that are not actually watching the stream, and it will also not include anyone watching the stream that’s not connected to chat.

1 Like

First of all, I would like to thank you for your help. After a few days I was finally able to use “get chatters” but even with users sending messages in the chat, the API only returns users who are admins, am I doing something wrong or does it just work that way?

It should show everyone connected to chat on that channel. Keep in mind thought that all API endpoints are cached so it may take some time to update, also it’s possible for users to send messages to a channel without being in the channel so it’s also possible that some bots may send messages to your channel but never show up in Chatters.