Getting information about 5 users at once

If I wanted to check the online status of say 5 broadcasters at once, is there a way to do this or do I have to do 5 calls?

If so what end point supports this?

I want to check if they are currently streaming.

The /streams endpoint can be used for that if you specify the channel parameter, for example to check whether channel1 or channel2 are online: https://api.twitch.tv/kraken/streams?offset=0&limit=100&channel=channel1,channel2

You’ll get an array with stream objects for the channels you specified that are currently live, so you’ll have to compare what you requested to what you get if you also want to know which ones are offline.

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