# Twitch API connection limit?

**URL:** <https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233>\
**Category:** API\
**Created:** [August 26, 2016, 6:24pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233 "2016-08-26T18:24:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zargor](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/zargor/32/1989_2.png) [@Zargor](https://discuss.dev.twitch.com/u/Zargor)\
**Post date:** [August 26, 2016, 6:24pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/1 "2016-08-26T18:24:33Z")

</div>

I’m planning to make a Twitch Bot which should be public.  
But I want to host these Bots on my server, so my question is whats about connection limits?  
Is it per user or ip4-adress?

Thank you for your answers 🙂

---

<div class="post-metadata">

**Author:** ![General23497](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/general23497/32/1986_2.png) [@General23497](https://discuss.dev.twitch.com/u/General23497)\
**Post date:** [August 26, 2016, 8:07pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/2 "2016-08-26T20:07:16Z")

</div>

I think there is no connection limit! 🙂 Not per user and not per ip4 adress 🙂 But maybe I will learn something new, if the twitch Staff proves the opposite 😃

---

<div class="post-metadata">

**Author:** ![Zargor](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/zargor/32/1989_2.png) [@Zargor](https://discuss.dev.twitch.com/u/Zargor)\
**Post date:** [August 26, 2016, 8:27pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/3 "2016-08-26T20:27:58Z")

</div>

I hope not, because the Twitch Bot would be much work…

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [August 26, 2016, 9:32pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/4 "2016-08-26T21:32:48Z")

</div>

Since you say bot I will assume you are referring to an IRC connection. In that case remember:

- Message rate limit lockouts are by IP address. So if one account exceeds the limit all the rest will be locked out too.
- Channel join and auth limits are for the entire IP address.

---

<div class="post-metadata">

**Author:** ![Zargor](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/zargor/32/1989_2.png) [@Zargor](https://discuss.dev.twitch.com/u/Zargor)\
**Post date:** [August 26, 2016, 9:34pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/5 "2016-08-26T21:34:40Z")

</div>

okay, so the irc connection have a limit, but [api.twitch.tv](http://api.twitch.tv) not?

---

<div class="post-metadata">

**Author:** ![DallasNChains](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dallasnchains/32/1608_2.png) [@DallasNChains](https://discuss.dev.twitch.com/u/DallasNChains)\
**Post date:** [August 29, 2016, 6:28pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/6 "2016-08-29T18:28:06Z")

</div>

The API just has a rate limit tied to your Client-ID. Multiple connections will just saturate that rate limit faster if you’re sending multiple API requests per connection.

---

<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:** [September 28, 2016, 6:28pm UTC](https://discuss.dev.twitch.com/t/twitch-api-connection-limit/7233/7 "2016-09-28T18:28:17Z")

</div>

Closed on September 28, 2016, 6:28pm UTC

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