-
Home
-
User Agent Directory
- Diffbot
Diffbot
What is Diffbot?
Diffbot is an AI-powered web scraping and data extraction service that uses machine learning to understand and structure web content. Unlike traditional crawlers that rely on specific selectors or patterns, Diffbot's AI can understand pages like humans do, automatically identifying articles, products, discussions, and other content types. The service builds a massive knowledge graph from crawled data, providing structured data APIs for various use cases. Diffbot is used by businesses for market intelligence, news monitoring, and data enrichment.
User Agent String
Mozilla/5.0 (compatible; Diffbot/0.1; +http://www.diffbot.com/our-apis/crawler/)
How to Control Diffbot
Block Completely
To prevent Diffbot from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify Diffbot
Check Diffbot's documentation
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect Diffbot in your application:
Basic Pattern
/Diffbot/i
Strict Pattern
/^Mozilla/5\.0 \(compatible; Diffbot/0\.1; \+http\://www\.diffbot\.com/our\-apis/crawler/\)$/
Flexible Pattern
/Diffbot[\s\/]?[\d\.]*?/i
Vendor Match
/.*Diffbot.*Diffbot/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Limit Access | Protect pricing and inventory data from AI training |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Selective | Allow for public docs, block for internal docs |
| Corporate Site | Limit | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
Diffbot
Robots.txt Name
Diffbot
Category
ai, other
Respects robots.txt
Yes