Interview practice question
Rate limiting a public API
System Design · Reliability · Beginner
You are launching a public API. How would you add rate limiting?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Identify clients by API key.
- Token bucket per key.
- Enforce at API gateway.
- Return 429 with Retry-After and limit headers.
- Different tiers for plans.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.