It’s not possible to get historic stream data through the API. The only accurate way to track this would be to poll the API or use EventSub to monitor a streamers category when they are live.
Clips are not accurate at all as it’s limited to the 1000 most viewed, plus the number of clips is not indicative of time played.