Get date of last broadcast


#1

I’ve been looking through the Twitch API docs and I can’t find any support for finding out the when the last time a broadcaster was streaming. When searching for a broadcaster on Twitch you can see the last time they streamed, is there any functionality for it in the Twitch API?


#2

Twitch doesn’t provide access to much historical information, the closest you can get is by checking the streamers VoDs https://dev.twitch.tv/docs/api/reference#get-videos but that may be completely inaccurate as the streamers last broadcast may not have been chosen to be recorded, or was recorded and since expired.

Realistically the only way to know with any real accuracy is if you poll the API, or use Webhooks, for the streams endpoint with that broadcaster, and then store the results yourself. If you want to do this for a large number of channels it’s not something that will scale or be viable for you.


#3

I was worried about that. Thanks nonetheless for replying.