# Complete Host List

**URL:** <https://staging-discuss.dev.twitch.com/t/complete-host-list/12464>\
**Category:** API\
**Created:** [October 16, 2017, 8:42am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464 "2017-10-16T08:42:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Straconis](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Straconis](https://staging-discuss.dev.twitch.com/u/Straconis)\
**Post date:** [October 16, 2017, 8:42am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/1 "2017-10-16T08:42:58Z")

</div>

The dashboard shows a list of hosts that is complete compared to what comes through the bots I’ve used or streamlabs alerts. Is there a way to get the dashboard host information from the API. I’d like to create a log that tracks when someone hosts in case they are no longer hosting at the end of the stream.

---

<div class="post-metadata">

**Author:** ![Muddr](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/muddr/32/1877_2.png) [@Muddr](https://staging-discuss.dev.twitch.com/u/Muddr)\
**Post date:** [October 16, 2017, 8:47am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/2 "2017-10-16T08:47:27Z")

</div>

It’s not documented but there’s these.

To get all channels hosting .  
`https://tmi.twitch.tv/hosts?include_logins=1&target=CHANNELID`

and

To get the channel being hosted by .  
`https://tmi.twitch.tv/hosts?include_logins=1&host=CHANNELID`

---

<div class="post-metadata">

**Author:** ![Straconis](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Straconis](https://staging-discuss.dev.twitch.com/u/Straconis)\
**Post date:** [October 16, 2017, 9:13am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/3 "2017-10-16T09:13:52Z")

</div>

I’ve tried using it, but get an Access-Control-Allow-Origin error when running a test web based version with javascript.

---

<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:** [October 17, 2017, 8:38am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/4 "2017-10-17T08:38:44Z")

</div>

It’s not meant for 3rd party use so cross-origin requests aren’t enabled on it.

---

<div class="post-metadata">

**Author:** ![Straconis](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Straconis](https://staging-discuss.dev.twitch.com/u/Straconis)\
**Post date:** [October 17, 2017, 9:32am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/5 "2017-10-17T09:32:56Z")

</div>

I got it worked out, I had to enable an extension of the browser to turn off that authentication data and it started working. Knowing the break was browser and not code I’ve got the first version running, just have to verify it’s pulling all the data now.

---

<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:** [November 16, 2017, 9:43am UTC](https://staging-discuss.dev.twitch.com/t/complete-host-list/12464/6 "2017-11-16T09:43:03Z")

</div>

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