Baiduspider

search-engine Baiduspider

Baidu search engine web crawler bot

About this crawler

Baiduspider is a web crawler identified by the regular-expression pattern Baiduspider in the User-Agent request header. It is categorised as search-engine. Use the regex above to detect, log, allow, or block Baiduspider traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

3.3%
latest snapshot
2026-06-04
matched key: Baiduspider
2026-05-012026-06-044.2%

Technical details

Name
Baiduspider
Pattern
Baiduspider
Tags
search-engine
Reference
http://www.baidu.jp/spider/
Added
2010/07/15
rDNS suffixes
.baidu.com, .baidu.jp
Instances
2 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely Baiduspider with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
Mozilla/5.0 (compatible; Baiduspider-render/2.0; +http://www.baidu.com/search/spider.html)

Block this crawler

robots.txt — disallow Baiduspider:

User-agent: Baiduspider Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Baiduspider [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "Baiduspider") { return 403; }
← back to all crawlers