# How do I check if a stream is offline?

**URL:** <https://discuss.dev.twitch.com/t/how-do-i-check-if-a-stream-is-offline/590>\
**Category:** API\
**Created:** [March 18, 2014, 4:31am UTC](https://discuss.dev.twitch.com/t/how-do-i-check-if-a-stream-is-offline/590 "2014-03-18T04:31:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthoneykalasho](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anthoneykalasho](https://discuss.dev.twitch.com/u/anthoneykalasho)\
**Post date:** [March 18, 2014, 4:31am UTC](https://discuss.dev.twitch.com/t/how-do-i-check-if-a-stream-is-offline/590/1 "2014-03-18T04:31:44Z")

</div>

More specifically, if the stream that I am currently watching has gone offline

---

<div class="post-metadata">

**Author:** ![Bufutda](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/bufutda/32/109_2.png) [@Bufutda](https://discuss.dev.twitch.com/u/Bufutda)\
**Post date:** [March 18, 2014, 5:42am UTC](https://discuss.dev.twitch.com/t/how-do-i-check-if-a-stream-is-offline/590/2 "2014-03-18T05:42:37Z")

</div>

Make a request to [https://api.twitch.tv/kraken/streams/channel\_that\_you\_are\_watching](https://api.twitch.tv/kraken/streams/channel_that_you_are_watching), parse the JSON, and test the `stream` property. A similar question can be found [here.](https://discuss.dev.twitch.tv/t/live-vs-online-using-javascript/417)

---

<div class="post-metadata">

**Author:** ![anthoneykalasho](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anthoneykalasho](https://discuss.dev.twitch.com/u/anthoneykalasho)\
**Post date:** [March 18, 2014, 6:38am UTC](https://discuss.dev.twitch.com/t/how-do-i-check-if-a-stream-is-offline/590/3 "2014-03-18T06:38:55Z")

</div>

@Bufutda Thanks that was exactly what I was looking for, I appreciate it!
