Scraping detections
Scraping behavioral detection IDs allow you to better protect your website from volumetric scraping attacks by identifying anomalous behavior. The detection IDs below are specifically designed to catch suspicious scraping activity at the zone level.
Detection ID | Description |
---|---|
50331648 | Observes patterns of requests sent to your zone, dynamically analyzing behavior by ASN. |
50331649 | Observes patterns of requests sent to your zone, dynamically analyzing behavior by JA4 fingerprint. |
Cloudflare's Managed Challenge can limit scraping attacks on your website.
To access scraping detections:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security > WAF.
- Under Custom rules, select Create rule.
- Fill out the form using Bot Detection IDs along with other necessary information.
- Select Save as draft to return to the rule later, or Deploy to deploy the rule.
-
In the Cloudflare dashboard, go to the Security rules page.
Go to Security rules -
Select Create rule and choose Custom rule.
-
Fill out the form using Bot Detection IDs along with other necessary information.
-
Select Save as draft to return to the rule later, or Deploy to deploy the rule.
(any(cf.bot_management.detection_ids[*] eq 50331649))
Rate limiting rules can limit the number of requests from a particular ASN or JA4 Fingerprint so long as it continues to exhibit suspicious behavior.
To use rate limiting rules with scraping detections:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security > WAF.
- Under Rate limiting rules, select Create rule.
- Fill out the form using the Custom expression builder and
cf.bot_management_detection_ids
along with other necessary information. - Select Save as draft to return to the rule later, or Deploy to deploy the rule.
-
In the Cloudflare dashboard, go to the Security rules page.
Go to Security rules -
Select Create rule and choose Rate limiting rule.
-
Fill out the form using the Custom expression builder and
cf.bot_management_detection_ids
along with other necessary information. -
Select Save as draft to return to the rule later, or Deploy to deploy the rule.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark