Lucky for us, instead of forcing us to use OAuth or API keys or sacrificing chickens, twitch makes it really easy to see what's going on with any stream. Yay!

All you have to do is go to and you'll be able to see the current status of the adafruit stream. Just change the last part of the url to see another stream

The data will be a json package, in ascii text. For example, if the stream is active:


And if not active...


There is a ton of details over at but we're going to be lazy and just parse the data manually.

If we see the string {"stream":{"_id" then we know the stream is active. If we see the string {"stream":null then we know it is not.

One thing to note is you must use SSL to connect, if you try to connect without, you'll get

{"error":"Bad Request","message":"Requests must be made over SSL","status":400}

This guide was first published on Mar 10, 2016. It was last updated on Mar 08, 2024.

This page (Twitch API) was last updated on Mar 08, 2016.

Text editor powered by tinymce.