Error 401 with new API

You appear to be doing this via jQuery .ajax

That is front end logic, so that would suggest you need an implicit oAuth code (via making users login via Twitch)

But if you are displaying streams on a website, then it’s more performant to collect the streams you want to show using a cron job, and cache that information on your server, so your website loads from that cache instead of polling Twitch every page load.

1 Like