# TwitchTv Uptime

**URL:** <https://discuss.dev.twitch.com/t/twitchtv-uptime/1496>\
**Category:** API\
**Created:** [January 23, 2015, 3:52am UTC](https://discuss.dev.twitch.com/t/twitchtv-uptime/1496 "2015-01-23T03:52:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedyboostingit](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@speedyboostingit](https://discuss.dev.twitch.com/u/speedyboostingit)\
**Post date:** [January 23, 2015, 3:52am UTC](https://discuss.dev.twitch.com/t/twitchtv-uptime/1496/1 "2015-01-23T03:52:09Z")

</div>

Hey everyone, is there any updated link I can use to get the uptime function?  
I have looked on the forum but the link they are providing is old and “[https://api.twitch.tv/kraken/channels/CHANNEL\_NAME](https://api.twitch.tv/kraken/channels/CHANNEL_NAME)” doesn’t provide any uptime key.

P.S. I am working with python27.

---

<div class="post-metadata">

**Author:** ![BatedUrGonnaDie](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/batedurgonnadie/32/125_2.png) [@BatedUrGonnaDie](https://discuss.dev.twitch.com/u/BatedUrGonnaDie)\
**Post date:** [January 23, 2015, 6:05am UTC](https://discuss.dev.twitch.com/t/twitchtv-uptime/1496/2 "2015-01-23T06:05:23Z")

</div>

Using the [streams endpoint](https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streamschannel), the “created\_at” key is when the stream went live. You can use that to figure out how long the stream has been live.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [February 2, 2015, 6:06am UTC](https://discuss.dev.twitch.com/t/twitchtv-uptime/1496/3 "2015-02-02T06:06:59Z")

</div>

Closed on February 2, 2015, 6:06am UTC

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