QUESTION 12 OF 15

What HTTP status should an API return for rate limiting?

Reveal the answer and explore the explanation.

12
MediumHigh priority

What HTTP status should an API return for rate limiting?

Answer
Answer

Status indicating that the caller has exceeded a request limit under the server's policy.

Practical example

Return an appropriate response when a quota is exhausted.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As