# Display if stream is live on a website

**URL:** <https://staging-discuss.dev.twitch.com/t/display-if-stream-is-live-on-a-website/26980>\
**Category:** Extensions\
**Created:** [July 7, 2020, 7:42am UTC](https://staging-discuss.dev.twitch.com/t/display-if-stream-is-live-on-a-website/26980 "2020-07-07T07:42:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nockslouisk](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@nockslouisk](https://staging-discuss.dev.twitch.com/u/nockslouisk)\
**Post date:** [July 7, 2020, 7:42am UTC](https://staging-discuss.dev.twitch.com/t/display-if-stream-is-live-on-a-website/26980/1 "2020-07-07T07:42:09Z")

</div>

Hello,

For the last two days I have tried to do something I thought was simple : use twitch API to get if stream of channel XXX is live.

Unfortunately I struggle a lot and can’t understand why authentication is required to get public informations.

I hope you can help me find what I ask for.

Thank you in advance for your help 🙂

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [July 7, 2020, 10:56am UTC](https://staging-discuss.dev.twitch.com/t/display-if-stream-is-live-on-a-website/26980/2 "2020-07-07T10:56:37Z")

</div>

Generally a server to server token is the most commonly used here

> **[Getting OAuth Access Tokens](https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/)**
>
> Getting OAuth Access Tokens
