# API to live stream to twitch?

**URL:** <https://staging-discuss.dev.twitch.com/t/api-to-live-stream-to-twitch/11252>\
**Category:** API\
**Created:** [July 29, 2017, 8:40pm UTC](https://staging-discuss.dev.twitch.com/t/api-to-live-stream-to-twitch/11252 "2017-07-29T20:40:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omerjerk](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/omerjerk/32/3071_2.png) [@omerjerk](https://staging-discuss.dev.twitch.com/u/omerjerk)\
**Post date:** [July 29, 2017, 8:40pm UTC](https://staging-discuss.dev.twitch.com/t/api-to-live-stream-to-twitch/11252/1 "2017-07-29T20:40:18Z")

</div>

I understand that it’s possible to live stream to Twitch via its API since so many softwares do it. However, I’m not able to find how to actually go about it.

Which API exactly am I supposed to use?

Thanks,  
Umair

---

<div class="post-metadata">

**Author:** ![3ventic](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://staging-discuss.dev.twitch.com/u/3ventic)\
**Post date:** [July 29, 2017, 8:54pm UTC](https://staging-discuss.dev.twitch.com/t/api-to-live-stream-to-twitch/11252/2 "2017-07-29T20:54:59Z")

</div>

Get the address of an ingest server from [ingests](https://dev.twitch.tv/docs/v5/reference/ingests/) endpoint and then use [RTMP](https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol) to contact and stream to that address, replacing `{stream_key}` with the channel’s stream key.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [August 28, 2017, 8:55pm UTC](https://staging-discuss.dev.twitch.com/t/api-to-live-stream-to-twitch/11252/3 "2017-08-28T20:55:13Z")

</div>

Closed on August 28, 2017, 8:55pm UTC

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