cloud-ip-ranges

OpenAI SearchBot IP ranges

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

categoryAI Crawlers & Bots
websitehttps://openai.com
ranges39 (39 IPv4, 0 IPv6)
last change
downloads355
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/openai-searchbot.txt

Ranges

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

CIDR Type
4.227.36.0/25 ipv4
13.66.216.176/28 ipv4
20.14.99.96/28 ipv4
20.25.151.224/28 ipv4
20.42.10.176/28 ipv4
20.168.18.32/28 ipv4
20.169.6.224/28 ipv4
20.169.7.48/28 ipv4
20.169.77.0/25 ipv4
20.171.53.224/28 ipv4
20.171.123.64/28 ipv4
23.102.145.48/28 ipv4
40.67.175.0/25 ipv4
40.90.214.16/28 ipv4
51.8.102.0/24 ipv4
74.7.175.128/25 ipv4
74.7.228.0/25 ipv4
74.7.228.128/25 ipv4
74.7.229.0/25 ipv4
74.7.229.128/25 ipv4
74.7.230.0/25 ipv4
74.7.241.128/25 ipv4
74.7.242.128/25 ipv4
74.7.243.0/25 ipv4
74.7.244.0/25 ipv4

Blocking OpenAI SearchBot

iptables

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

ufw

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

fail2ban

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

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

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

pfSense / OPNsense

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

About

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