# Check for stremer live in X teams

**URL:** <https://discuss.dev.twitch.com/t/check-for-stremer-live-in-x-teams/27854>\
**Category:** API\
**Created:** [August 23, 2020, 8:24am UTC](https://discuss.dev.twitch.com/t/check-for-stremer-live-in-x-teams/27854 "2020-08-23T08:24:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dansleboby](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dansleboby/32/10048_2.png) [@dansleboby](https://discuss.dev.twitch.com/u/dansleboby)\
**Post date:** [August 23, 2020, 8:24am UTC](https://discuss.dev.twitch.com/t/check-for-stremer-live-in-x-teams/27854/1 "2020-08-23T08:24:59Z")

</div>

Hi,  
I have 11 teams who I want to check if any of team member is live, I have arround 2100 members total.

The only way I views is through [https://api.twitch.tv/helix/streams](https://api.twitch.tv/helix/streams) with user\_id or user\_login, but I will have to make 20 query to check that and I refresh that information at each 5 minutes.

I will also incrase the size of team and add new team in my system in the future

So do you have a better way to get that information?

Thanks for help and 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:** [August 23, 2020, 11:29am UTC](https://discuss.dev.twitch.com/t/check-for-stremer-live-in-x-teams/27854/2 "2020-08-23T11:29:30Z")

</div>

You have 2 options, either poll the streams endpoint as you have been doing, or alternative you could use Webhooks [https://dev.twitch.tv/docs/api/webhooks-guide](https://dev.twitch.tv/docs/api/webhooks-guide) and subscribe to the Stream Changed topic [https://dev.twitch.tv/docs/api/webhooks-reference#topic-stream-changed](https://dev.twitch.tv/docs/api/webhooks-reference#topic-stream-changed)

What webhooks will do is allow for Twitch to send a notification to your server when there is a change to the stream (you’ll need to create a subscription to that topic for each user), and then you can keep track on your server of which streamers are live based on the notifications Twitch sends you. This will scale up to the max number of webhook subscriptions (10k users), and give you the most accurate data as Twitch will send the notification shortly after the API updates.

---

<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:** [September 22, 2020, 11:29am UTC](https://discuss.dev.twitch.com/t/check-for-stremer-live-in-x-teams/27854/3 "2020-09-22T11:29:34Z")

</div>

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