---
title: "Diffbot Bots & Crawlers: 2 User Agents Explained"
description: "Every Diffbot bot (2) with its purpose, user agent and robots.txt token, and a single robots.txt block to allow or block all of them."
url: "https://justinha.info.vn/bots/company/diffbot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

Bots by company

# Diffbot *bots and crawlers*

Diffbot extracts structured data from web pages and sells a web knowledge graph.

## Diffbot bots at a glance

- Diffbot runs **2 bots** listed in this directory.
- They belong to: AI Training Crawlers, AI Assistant Fetchers.
- Each Diffbot bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: [www.diffbot.com](https://www.diffbot.com)

## Every Diffbot bot

| Bot | Group | Purpose | robots.txt | For GEO |
| --- | --- | --- | --- | --- |
| [Diffbot](https://justinha.info.vn/bots/ai-crawlers/diffbot/) | [AI Training Crawlers](https://justinha.info.vn/bots/ai-crawlers/) | AI trainingProduct featureReported | Not documented | Your choice |
| [Diffbot-User](https://justinha.info.vn/bots/ai-assistants/diffbot-user/) | [AI Assistant Fetchers](https://justinha.info.vn/bots/ai-assistants/) | AI assistantReported | Not documented | Allow |

## How to manage Diffbot bot access by purpose

Review the role you need before making an operator-wide rule. A bot can appear in more than one row. Follow its profile for the exact token, evidence and policy exceptions.

| Purpose | Bots in this directory | What to check |
| --- | --- | --- |
| **AI training** | [Diffbot](https://justinha.info.vn/bots/ai-crawlers/diffbot/) (reported) | Decide which public material you are willing to make available for training. Review search access separately, and do not assume that blocking reverses previous collection. |
| **AI assistant** | [Diffbot-User](https://justinha.info.vn/bots/ai-assistants/diffbot-user/) (reported) | If readers use the associated assistant, test whether it can retrieve a representative public URL on request. A successful fetch does not show that the page is indexed. |
| **Product feature** | [Diffbot](https://justinha.info.vn/bots/ai-crawlers/diffbot/) (reported) | Identify the product feature in the source and test one URL it needs. Keep access limited to the site, paths or project that actually uses the feature. |

## Block or allow all Diffbot bots

The rules below name every Diffbot token in this directory. For a narrower rule, select the exact tokens from the purpose table above and check each profile for scope and exceptions.

robots.txt: block

```
# Block all Diffbot bots
User-agent: Diffbot
User-agent: Diffbot-User
Disallow: /
```

robots.txt: allow

```
# Allow all Diffbot bots
User-agent: Diffbot
User-agent: Diffbot-User
Allow: /
```

robots.txt: partial

```
# Keep all Diffbot bots out of private areas only
User-agent: Diffbot
User-agent: Diffbot-User
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to all Diffbot bots
if ($http_user_agent ~* "(Diffbot|Diffbot\-User)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to all Diffbot bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Diffbot|Diffbot\-User) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Diffbot") or (http.user_agent contains "Diffbot-User")
```

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
