Diffbot

AI training crawler

A structured-data extraction service that crawls pages into a machine-readable knowledge graph sold to customers, including for AI applications. Because customers can request specific URLs, some fetches behave like user-initiated requests.

OperatorDiffbot
TypeAI training crawler
Respects robots.txtPartially
DocumentationOfficial operator documentation

Diffbot user-agent string

This is how Diffbot identifies itself in your server logs:

Mozilla/5.0 (compatible; Diffbot/1.0; +https://www.diffbot.com)

How to block Diffbot in robots.txt

Add this to the robots.txt file at the root of your site:

Block Diffbot

User-agent: Diffbot
Disallow: /

Explicitly allow Diffbot

User-agent: Diffbot
Allow: /

What blocking changes: Signals your content should stay out of Diffbot's knowledge graph and downstream AI uses; on-demand extraction requests may still occur, so pair with a network-level block if it matters.

Want to decide for all AI bots at once? Use the AI robots.txt generator.

How to whitelist Diffbot

To whitelist Diffbot, add "User-agent: Diffbot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then make sure your firewall, WAF or CDN does not challenge or rate limit requests with its user agent.

  1. In robots.txt, add a User-agent: Diffbot group with Allow: /, and check that no broader User-agent: * rule or other group disallows the paths you want crawled.
  2. In your firewall, WAF or CDN bot settings, make sure requests with the Diffbot user agent are not challenged or rate limited. Diffbot does not publish a machine-readable IP list for this bot, so match on the user agent and check the operator documentation.
  3. Check your server logs for Diffbot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.

Other ai training crawlers

Is Diffbot sending you visitors?

Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.

See your AI traffic