Rate Limit
Rate Limit
A rule that blocks you for a while if you send too many requests in a set time. 'Too Many Requests (429)' is the sign.
💡 It's a 'one ride per person' rule at a theme park. Try to ride too often and you're asked to wait a bit.
🤖 Say this to your AI
Add a rate limit to the login and contact form APIs. If the same user (or IP) sends more than 5 requests in 1 minute, return 429 with 'Please try again in a moment'.
The key word is ‘Rate Limit’. Including it helps AI understand you much more precisely.
📌 Good to know
If an AI API returns 429, making it wait a few seconds and try again (retry) fixes it most of the time.
When to use it
- When an AI or map API gives you a 429 error
- When you want to stop someone from hitting a button hundreds of times on your server
- When you've gone over the free usage limit
Also called: rate limit, rate limiting, 429, too many requests, quota, usage limit, throttle, throttling