Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›HTTP 429 Too Many Requests
4xx Client Error

HTTP 429 Too Many Requests

HTTP 429 Too Many Requests means the client has sent too many requests in a given time and is being rate limited. The server may include a Retry-After header…

Quick answer

HTTP 429 Too Many Requests means the client has sent too many requests in a given time and is being rate limited. The server may include a Retry-After header saying how many seconds to wait. It is common with APIs (OpenAI, GitHub, Shopify) and anti-bot protection.

Last updated · Maintained by FreeAIToolz · How we test

What does HTTP 429 Too Many Requests mean?

Rate limits can be per IP, per API key, per user or per endpoint. Many APIs also return headers such as X-RateLimit-Remaining and X-RateLimit-Reset, or the standardised RateLimit headers, so clients can slow down before hitting the limit.

Status code429
NameToo Many Requests
Class4xx Client Error
Defined inRFC 6585
Cacheable by defaultNo, unless Cache-Control says so
Safe to retry automatically?Yes, with backoff
Related headersRetry-After, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

What causes HTTP 429?

  • Exceeding an API’s requests-per-minute or tokens-per-minute quota.
  • Bursty traffic from scripts, crawlers or retries without backoff.
  • CDN or WAF rate-limiting rules.

How do I fix HTTP 429?

  1. On the server: return Retry-After and clear limit headers.
  2. On the client: queue requests, add exponential backoff with jitter, and cache responses.
  3. Ask for a higher quota if the limit is consistently too low.

What should a client do after HTTP 429?

Wait for Retry-After (or back off exponentially with jitter), then retry. Do not hammer the endpoint.

Does HTTP 429 affect SEO?

If Googlebot gets 429s, Google slows its crawl rate for the site. Sustained 429s can lead to pages being dropped. Exempt verified crawlers from aggressive limits.

Example 429 response

HTTP/1.1 429 Too Many Requests
Date: Mon, 01 Dec 2026 12:00:00 GMT
Retry-After: 60
RateLimit-Limit: 100
RateLimit-Remaining: 0
Content-Type: application/json

{"error":{"status":429,"message":"Too Many Requests"}}

How to return 429 Too Many Requests in code

Express (Node.js)

res.status(429).json({ error: 'Too Many Requests' });

Next.js route handler

return Response.json({ error: 'Too Many Requests' }, { status: 429 });

FastAPI (Python)

raise HTTPException(status_code=429, detail="Too Many Requests")

PHP

http_response_code(429);

Nginx

location = /example {
    return 429;
}

Other 4xx status codes

The request contains an error or cannot be fulfilled as sent. Fix the request before retrying.

Frequently asked questions

How should I handle 429 from the OpenAI or another AI API?
Read Retry-After or the rate-limit headers, retry with exponential backoff and jitter, and reduce concurrency or tokens per request.
Does 429 hurt SEO?
Briefly, no; Google reduces crawl rate. If Googlebot keeps getting 429 for long periods, pages may drop out of the index.
Is 429 a client or server error?
429 is in the 4xx class, so it is classed as a client error: the request needs to change before it can succeed.