AI search

OAI-SearchBot

Indexes websites so they can appear and be linked in ChatGPT search results. Not used for model training.

AI search: Indexes content for AI search and answers, with links back. Allow it if you want traffic from AI search engines.

Company
OpenAI · website
User-agent contains
OAI-SearchBot
robots.txt token
OAI-SearchBot · Respects robots.txt
Official IP ranges
39 ranges · source · updated 2026-12-02
Documentation
Official docs
Sources
platform.openai.com
Added · verified
2026-12-02 · 2026-12-02

Block OAI-SearchBot

robots.txt
User-agent: OAI-SearchBot
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
    default 0;
    "~*OAI-SearchBot" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (OAI-SearchBot) [NC]
    RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "oai-searchbot")

Want to block more bots at once? Use the generator.

Example user-agent

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot

Other OpenAI bots

Something wrong or out of date? Edit this bot on GitHub or report a change.