<turbo-stream action="update" target="wiki_3611_subpage_3644_info"><template>
<p>The API is rate limited to 100 requests per 2 minutes for each user (actually for each originating IP address).</p>
<p>We are still working on establishing the exact rate limits. Please let us know if you encounter the rate-limiting and in what use cases.</p>
<p>&nbsp;</p>
<p>If a request is rate-limited, we include headers describing the current rate limit status:</p>
<pre class="card">X-RateLimit-Limit: 100
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 120
</pre>
<ul>
<li><code>X-RateLimit-Limit</code>&nbsp;- Total number of requests allowed for current period</li>
<li><code>X-RateLimit-Remaining</code>&nbsp;- Remaining requests for current period (typically 0)</li>
<li><code>X-RateLimit-Reset</code>&nbsp;- Number of seconds until the the requests count resets and you can do request again</li>
</ul>
<p>If the rate limit is hit, the API will return a&nbsp;<code>429 Too Many Requests</code>&nbsp;status code. In this situation, your application should not send any further requests until <code>X-RateLimit-Reset</code>&nbsp;seconds have elapsed.</p>
</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
