Can I see when a stream was last online?

I periodically crawl a few streams from the API (like https://api.twitch.tv/kraken/streams/tomtomoo) to see if they are online and how many viewers are watching.

Sometimes users entirely stop streaming though, so it would be a waste of resources to keep crawling them for another few months, if they are already inactive for a longer time (say 1 or 2 months).

Now the question, is there any way to see the date of when a stream was online for the last time, or do I have to keep track of it myself?

You can use the following to check multiple streams (if the stream isn’t returned in the streams array, it’s offline):

https://api.twitch.tv/kraken/streams?channel=test1,test2,test3,test4

If you want to track the last broadcast, you would need to do that on your own at this time.

Oh, that’s good to know. Thanks!

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