Web scraping - what is HTTP 429 status code?

Response status code 429 generally means the client is making too many requests. In web scraping, this often happens when scraping too fast.

One way to avoid status code 429 is to slow down our connections using rate limiting. This is especially common when using high scale asynchronous scrapers like Python's asyncio or scrapy. For that see our guide how to rate limit python requests

Another way to avoid 429 status code is to distribute connections through multiple agents. For this, proxies and proxy rotation can be used. For that see our guide how to rotate proxies

Alternatively, ScrapFly web scraping API can be used to automatically distribute connection to avoid low rate limits imposed by some websites.

Provided by Scrapfly

This knowledgebase is provided by Scrapfly — a web scraping API that allows you to scrape any website without getting blocked and implements a dozens of other web scraping conveniences. Check us out 👇