~/devtools / http-status / 429
tool::http-status-detail

429 Too Many Requests

The user has sent too many requests in a given time (rate limiting).

ad · 728×90
상태 코드
429
이름
Too Many Requests
카테고리
4xx

상세 설명

HTTP 429 Too Many Requests는 클라이언트가 허용된 시간 내에 너무 많은 요청을 보냈음을 나타냅니다. API Rate Limiting의 표준 응답 코드입니다. Retry-After 헤더를 통해 언제 다시 요청할 수 있는지 알려줄 수 있습니다. DDoS 방어, API 남용 방지, 공정한 사용 보장을 위해 사용됩니다.

주요 원인
  • API 키의 분당/시간당 요청 한도를 초과한 경우
  • 크롤러 또는 스크레이퍼가 짧은 시간에 과도한 요청을 보내는 경우
  • 재시도 로직 없이 루프에서 API를 반복 호출하는 경우
  • 여러 클라이언트가 동일 IP를 사용하여 한도를 공유하는 경우
해결 방법
  • 1.Retry-After 헤더의 시간만큼 대기 후 재시도하세요
  • 2.지수 백오프(Exponential Backoff) 전략을 구현하세요
  • 3.API 키 플랜을 상위 등급으로 업그레이드하는 것을 고려하세요
  • 4.요청을 캐싱하여 동일한 데이터를 반복 요청하지 않도록 하세요
  • 5.여러 API 키를 사용하여 요청을 분산하세요 (서비스 약관 확인 필수)

관련 HTTP 헤더

Retry-AfterX-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset

응답 예시

HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1711900800
Content-Type: application/json

{"error":"rate_limit_exceeded","message":"Too many requests. Please retry after 60 seconds."}

관련 상태 코드

400Bad RequestThe server could not understand the request due to invalid syntax.401UnauthorizedAuthentication is required and has failed or not been provided.402Payment RequiredReserved for future use; some services use it for payment walls.403ForbiddenThe server refuses to fulfill the request (authenticated but unauthorized).404Not FoundThe requested resource could not be found.
ad · 300×250
전체 상태 코드 목록으로 돌아가기
// related tools
Cron 표현식 생성기
Cron 표현식을 시각적으로 만들고 파싱합니다. 사람이 읽기 쉬운 설명과 다음 실행 시간을 미리 확인할 수 있습니다.
jwt
JWT 디코더
JWT 토큰을 디코딩하고 분석합니다. 헤더, 페이로드, 서명을 확인할 수 있습니다.
rx
정규식 테스터
정규식을 실시간으로 테스트합니다. 매칭 하이라이트와 설명을 제공합니다.
색상 변환기
HEX, RGB, HSL 등 다양한 형식으로 색상을 변환합니다.