OpenAI crawler IP addresses

Sourced from: https://platform.openai.com/docs/bots/

OAI-SearchBot

:link: https://openai.com/searchbot.json

20.42.10.176/28
172.203.190.128/28
51.8.102.0/24
135.234.64.0/24

ChatGPT-User

:link: https://openai.com/chatgpt-user.json

23.98.179.16/28
172.183.222.128/28
52.190.190.16/28
51.8.155.64/28
51.8.155.48/28
135.237.131.208/28
51.8.155.112/28
52.159.249.96/28
172.178.141.112/28
172.178.140.144/28
172.178.141.128/28
4.196.118.112/28
20.215.188.192/28
4.197.22.112/28
172.213.21.16/28
172.213.12.112/28
57.154.175.0/28
52.236.94.144/28
23.98.186.192/28
23.98.186.176/28
68.221.67.192/28
13.83.167.128/28
20.97.189.96/28
20.161.75.208/28
52.225.75.208/28
52.156.77.144/28
40.84.221.208/28
40.84.221.224/28

GPTBot

:link: https://openai.com/gptbot.json

52.230.152.0/24
20.171.206.0/24
20.171.207.0/24
4.227.36.0/25
20.125.66.80/28
172.182.204.0/24

Want to keep an up-to-date list of all these IP addresses? Use curl and our cli:

WindowsTerminal_CcYr45CYRs

(curl -s https://openai.com/gptbot.json; curl -s https://openai.com/chatgpt-user.json; curl -s https://openai.com/searchbot.json) | ipinfo grepip --cidrs-only -o

Output:

52.230.152.0/24
20.171.206.0/24
20.171.207.0/24
4.227.36.0/25
20.125.66.80/28
172.182.204.0/24
23.98.179.16/28
172.183.222.128/28
52.190.190.16/28
51.8.155.64/28
51.8.155.48/28
135.237.131.208/28
51.8.155.112/28
52.159.249.96/28
172.178.141.112/28
172.178.140.144/28
172.178.141.128/28
4.196.118.112/28
20.215.188.192/28
4.197.22.112/28
172.213.21.16/28
172.213.12.112/28
57.154.175.0/28
52.236.94.144/28
23.98.186.192/28
23.98.186.176/28
68.221.67.192/28
13.83.167.128/28
20.97.189.96/28
20.161.75.208/28
52.225.75.208/28
52.156.77.144/28
40.84.221.208/28
40.84.221.224/28
20.42.10.176/28
172.203.190.128/28
51.8.102.0/24
135.234.64.0/24