cloud-ip-ranges

ClaudeBot IP ranges

Current IP ranges (CIDRs) used by the ClaudeBot crawler, updated daily.

categoryAI Crawlers & Bots
websitehttps://claude.com
ranges26 (26 IPv4, 0 IPv6)
last change
downloads917
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/claudebot.txt

Ranges

Sample of 25 of 26 ranges. Download the full list above, or check a specific IP.

CIDR Type
16.58.26.69/32 ipv4
18.225.238.228/32 ipv4
18.227.226.255/32 ipv4
20.64.57.208/28 ipv4
20.102.46.224/28 ipv4
34.11.34.31/32 ipv4
34.85.172.162/32 ipv4
34.150.241.79/32 ipv4
34.162.191.81/32 ipv4
34.162.230.222/32 ipv4
34.162.244.71/32 ipv4
34.182.140.95/32 ipv4
34.182.161.143/32 ipv4
34.182.218.27/32 ipv4
34.182.220.85/32 ipv4
34.182.222.37/32 ipv4
34.182.225.167/32 ipv4
34.182.226.151/32 ipv4
34.182.226.221/32 ipv4
34.186.108.163/32 ipv4
35.221.29.174/32 ipv4
35.245.89.239/32 ipv4
35.245.175.129/32 ipv4
40.124.101.48/28 ipv4
136.107.176.208/32 ipv4

Blocking ClaudeBot

iptables

curl -sO https://cloud-ip-ranges.com/download/claudebot.txt
while read ip; do
  iptables -A INPUT -s $ip -j DROP
  iptables -A OUTPUT -d $ip -j DROP
done < claudebot.txt

ufw

curl -sO https://cloud-ip-ranges.com/download/claudebot.txt
while read ip; do
  ufw deny from $ip
  ufw deny to $ip
done < claudebot.txt

fail2ban

sudo tee /etc/fail2ban/filter.d/claudebot-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF

sudo tee /etc/fail2ban/jail.d/claudebot-block.conf << EOF
[claudebot-block]
enabled = true
filter = claudebot-block
action = iptables-allports[name=claudebot]
logpath = /tmp/claudebot.txt
findtime = 1
bantime = -1
maxretry = 1
EOF

curl -so /tmp/claudebot.txt https://cloud-ip-ranges.com/download/claudebot.txt
sudo systemctl restart fail2ban

pfSense / OPNsense

curl -sO https://cloud-ip-ranges.com/download/claudebot.txt
# Firewall > Aliases: new alias CLAUDEBOT_BLOCK, type Network(s), import the file
# Firewall > Rules > WAN: Action=Block, Source=CLAUDEBOT_BLOCK

About

These IP ranges are sourced from ClaudeBot's official feed and are updated regularly. Use them to verify that requests claiming to be ClaudeBot actually originate from it, or to rate-limit or block it at the network edge. To opt out of crawling entirely, prefer a robots.txt rule — blocking by IP can prevent the crawler from reading your robots.txt at all. Last update was about 6 hours ago.

Other providers

AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, AppleBot, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, BingBot, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, Cloudflare, Datadog, DigitalOcean, DuckDuckBot, Fastly, Gabia, G-Core, GitHub, Googlebot, Google Cloud, Google Public DNS, Google Services, GPTBot, Hetzner, Hostway, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, Meta, Microsoft 365, Mistral, Mullvad, NHN Cloud, NordVPN, OpenAI ChatGPT, OpenAI SearchBot, Oracle Cloud, OVHcloud, OVPN.com, PerplexityBot, Perplexity-User, Pingdom, Private Internet Access, QUIC.cloud, Rackspace, Rapid7 Sonar, Salesforce, Scaleway, Shodan, StatusCake, StormWall, Stretchoid, Sucuri, Telegram, Tencent, TOR, UpCloud, UptimeRobot, Vultr, Wasabi, Windscribe, Yandex, Zoho, Zoom, Zscaler