API Design · Middle · Question 36 of 75

Why should rate limits be applied per client (API key or user) rather than only per IP?

Explanation

Combine both: per-IP limits for anonymous traffic, per-key or per-user limits for authenticated calls.

Further reading

Problem with a question

API Design · Middle · question 36

Test yourself

Take the API Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz