---
title: "DuckDuckGo Bots & Crawlers: 2 User Agents Explained"
description: "Every DuckDuckGo 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/duckduckgo/"
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

# DuckDuckGo *bots and crawlers*

DuckDuckGo runs a privacy-focused search engine and the DuckAssist AI answer feature.

## DuckDuckGo bots at a glance

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

## Every DuckDuckGo bot

| Bot | Group | Purpose | robots.txt | For GEO |
| --- | --- | --- | --- | --- |
| [DuckAssistBot](https://justinha.info.vn/bots/ai-assistants/duckassistbot/) | [AI Assistant Fetchers](https://justinha.info.vn/bots/ai-assistants/) | AI assistantOfficial docs | Yes | Allow |
| [DuckDuckBot](https://justinha.info.vn/bots/search-engines/duckduckbot/) | [Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/) | Search indexOfficial docs | Yes | Allow |

## How to manage DuckDuckGo 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 assistant** | [DuckAssistBot](https://justinha.info.vn/bots/ai-assistants/duckassistbot/) | 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. |
| **Search index** | [DuckDuckBot](https://justinha.info.vn/bots/search-engines/duckduckbot/) | If this search engine sends useful traffic, check that canonical pages are reachable. Use the engine’s supported removal controls if the objective is to remove an indexed URL. |

## Block or allow all DuckDuckGo bots

The rules below name every DuckDuckGo 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 DuckDuckGo bots
User-agent: DuckAssistBot
User-agent: DuckDuckBot
Disallow: /
```

robots.txt: allow

```
# Allow all DuckDuckGo bots
User-agent: DuckAssistBot
User-agent: DuckDuckBot
Allow: /
```

robots.txt: partial

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

Nginx

```
# Nginx: return 403 to all DuckDuckGo bots
if ($http_user_agent ~* "(DuckAssistBot|DuckDuckBot)") {
    return 403;
}
```

Apache

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

Cloudflare WAF

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

## 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/)
