List of all streams

Hello Twitch devs,

I found the following code by justin.tv but i cant find the api request type for twitch.
I hope someone can help me.

I want the twitch request for this:
http://api.justin.tv/api/stream/list.json?channel=henk,dreamhack,twitch,Bazza87

i hope some of you want to help me.

Joeri

Here you go:
https://api.twitch.tv/kraken/streams?channel=henk,dreamhack,twitch,bazza87,lirik

Documentation: https://github.com/justintv/Twitch-API/blob/master/v2_resources/streams.md#get-streams

Hi,
this only returns a stream object if it’s live for me. do you know how to get offline streams and closed accounts as well?
I tried to add stream_type=all to the query but it made no difference.
thanks

That is because this API endpoint is for the stream object only - if you want channel information then you can use the endpoint:

https://api.twitch.tv/kraken/channels/CHANNELHERE?client_id=clientIDHere

Closed/Banned accounts, I believe, will always return:

{"error":"Unprocessable Entity","status":422,"message":"Channel 'USERNAME is unavailable"}

Also, a heads up for the future, probably best to not necro a 2 year old thread - would be better off to start a new one with your own question, since it appears you are looking for something different than OP :slight_smile:

With that in mind, I’m going to close this. If you need more help, @menvai, please start a new thread.