cloud-ip-ranges

AppleBot IP ranges

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

categoryAI Crawlers & Bots
websitehttps://support.apple.com/en-us/119829
ranges24 (24 IPv4, 0 IPv6)
last change
downloads884
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/applebot.txt

Ranges

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

CIDR Type
17.166.20.0/24 ipv4
17.166.21.0/24 ipv4
17.166.22.0/24 ipv4
17.166.23.0/24 ipv4
17.166.24.0/24 ipv4
17.166.25.0/24 ipv4
17.166.150.0/24 ipv4
17.166.151.0/24 ipv4
17.166.152.0/24 ipv4
17.166.153.0/24 ipv4
17.166.154.0/24 ipv4
17.166.155.0/24 ipv4
17.166.192.48/28 ipv4
17.166.232.0/24 ipv4
17.166.233.0/24 ipv4
17.166.234.0/24 ipv4
17.166.235.0/24 ipv4
17.166.236.0/24 ipv4
17.166.237.0/24 ipv4
17.166.240.48/28 ipv4
17.166.248.48/28 ipv4
17.241.193.160/27 ipv4
17.241.200.160/27 ipv4
17.241.208.160/27 ipv4

Blocking AppleBot

iptables

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

ufw

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

fail2ban

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

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

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

pfSense / OPNsense

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

About

These IP ranges are sourced from AppleBot's official feed and are updated regularly. Use them to verify that requests claiming to be AppleBot 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 10 days ago.

Other providers

AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, BingBot, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, ClaudeBot, 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