Getting stream title

Is there a way to get the latest stream title without having to wait 20/30s for the title to get updated? Currently i use the https://api.twitch.tv/helix/streams endpoint and its data is only updated once every 20/30/40s which is sub-optimal.
I’m also using IRC but i couldn’t find a way to find the title without calling the API.

All API endpoints use caching, so you shouldn’t request the same data more than once per minute (as you could actually get erroneous data if you poll too fast as you could hit different cache servers with different data).

The fastest way would be to use the channel.update EventSub subscription type EventSub Subscription Types | Twitch Developers as this will send your server a notification of topic changes (there will still be some delay to this, but it will be the fastest option available).

1 Like

Thanks for the response

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.