Anthropic

Operator

Published IP ranges

Verification

anthropic

robots.txt token

Yes

Honours robots.txt

What Anthropic is

Anthropic web crawler.

Its robots.txt token is anthropic , and it is listed as honouring robots.txt. Operator documentation: Anthropic .

Verifying it yourself

Anthropic publishes the ranges Anthropic crawls from. Fetch them and test the source address:

# 1. fetch the published ranges
curl -s -o ranges.json \
  https://claude.com/crawling/bots.json

# 2. check an address against them
python3 - 203.0.113.42 <<'PY'
import json, sys, ipaddress
ip = ipaddress.ip_address(sys.argv[1])
data = json.load(open('ranges.json'))
hit = any(ip in ipaddress.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix'])
          for p in data['prefixes'])
print('verified' if hit else 'NOT VERIFIED')
PY

Swap in the address you are checking. Never trust the User-Agent on its own: it is a header the client picks for itself.

Blocking it

If you want the real crawler to stay away, robots.txt is the polite way to ask:

User-agent: anthropic
Disallow: /

robots.txt only works on a client willing to obey it, which rules out every request that was already lying about who it is. Stopping those takes enforcement at the network or application layer, keyed on something the client cannot simply retype. That is the problem WebDecoy exists to solve.

Frequently Asked Questions

What is Anthropic? +

Anthropic is an ai training crawler operated by Anthropic. Anthropic web crawler.

How do I verify Anthropic? +

Anthropic publishes the IP ranges Anthropic uses at https://claude.com/crawling/bots.json. Check whether the request's source address falls inside one of those prefixes, and reject it if it does not. Never match on the User-Agent alone, because that is the part a client chooses for itself.

How do I block Anthropic? +

Add a robots.txt rule for the token anthropic. That stops the real crawler, but not clients that only borrow its name, so pair it with verification and enforcement at your edge.

Related crawlers

← All crawlers

See which Anthropic requests are real

WebDecoy verifies declared crawlers against what their operators publish and identifies the ones that fail, as persistent actors rather than disposable IPs.

Start Free Trial