Uptime api (beta.decapi.me)

To get uptime

use webhooks

https://dev.twitch.tv/docs/api/webhooks-guide

That’ll give you the start time, then just subtract start from now

Or the streams API:

That’ll give you “started_at” and then just subtract start from now

No need to rely on someone else’s API when you can can the answer from Twitch to start with.

Calling their API limits you to their formatting, when if you call Twitch directly you can format the response how you want.