Repaso
Español
Backend & APIsIntermediateAPI-06

A client exceeds the rate limit. Which status and header are standard?

Options

  1. 503 Service Unavailable with a Cache-Control header
  2. 429 Too Many Requests with a Retry-After header (Correct option)
  3. 403 Forbidden with a WWW-Authenticate header
  4. 400 Bad Request with a custom X-Error header

Answer

429 Too Many Requests with Retry-After

Why

429 Too Many Requests means 'you are sending requests too fast'.

The Retry-After header tells the client how many seconds to wait before trying again.

Good clients respect it and back off instead of hammering the server.

Remember

Rate limited → 429 + Retry-After.

Key terms

Practice this question in Repaso