Stack Overflow manages AI scrapers with Cloudflare and plans to charge them per crawl

Cloudflare's case study about how Stack Overflow uses Cloudflare Bot Management (AI crawler identification) and pay per crawl.

What Stack Overflow did

Stack Overflow faced a surge in automated scraping as AI companies collected training data. Cloudflare says the company uses Bot Management to identify AI crawlers with a three-person team and is launching a pay per crawl program, which Stack Overflow describes as the first use of that marketplace to sell its data.

“Whenever an undesired request hits the origin, it costs us money.”Josh Zhang, Team Lead, Site Reliability, Stack Overflow

Read with care

Vendor-reported

Cloudflare wrote this to sell its product, so it shows the best result. The figures are Cloudflare's and Stack Overflow's, and we haven't checked them. For rollouts that include what went wrong, read the rollout stories.

More case studies like this