OAI-SearchBot
OAI-SearchBot is OpenAI's AI search crawler. Decides inclusion in ChatGPT search answers. OpenAI: sites opted out of OAI-SearchBot "will not be shown in ChatGPT search answers"; changes take about 24 hours.
Should I block OAI-SearchBot?
Only if you don't want to appear in OpenAI's AI answers. OAI-SearchBot is how those answers find your pages, so blocking it keeps you out of them, while allowing it is what makes a citation possible. Blocking OAI-SearchBot does not change your rankings in other search engines.
Deciding which AI bots to allow? Our guide robots.txt for AI crawlers compares them and has ready-made rules.
How do I block OAI-SearchBot?
To block OAI-SearchBot, add a group for it to the robots.txt file at the root of your site, as shown below. Disallow: / covers every page; use a path such as /private/ instead to block only part of the site.
User-agent: OAI-SearchBot
Disallow: /How do I allow OAI-SearchBot?
OAI-SearchBot is allowed by default: with no group for OAI-SearchBot in your robots.txt, it follows the User-agent: * group and may fetch any page that group doesn't disallow. To allow it explicitly, add the group below. A group that names OAI-SearchBot replaces the * rules for it entirely, so copy into it any Disallow lines you still want it to follow. Also check your CDN: Cloudflare, for example, blocks many AI crawlers by default on new sites, whatever robots.txt says.
User-agent: OAI-SearchBot
Allow: /How can I tell a request is really OAI-SearchBot?
Check the IP address, not the user agent: anyone can send a user agent that says OAI-SearchBot. OpenAI publishes the IP addresses OAI-SearchBot requests come from, so compare each request's IP against that list (linked below) and refresh your copy regularly, because the list changes.
OpenAI's IP list for OAI-SearchBot (opens in a new tab)
How does robots.txt decide whether OAI-SearchBot may fetch a page?
A crawler that follows the standard picks the group whose User-agent line matches its token, OAI-SearchBot, ignoring case, and uses the * group only when no group names it. Within that group, the rule with the longest matching path wins, and when an Allow and a Disallow rule match equally, the Allow rule wins. Crawlers must read at least 500 KiB of the file and follow at least 5 redirects to reach it.
According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.
When does a robots.txt change take effect for OAI-SearchBot?
Not instantly, because crawlers keep a cached copy of robots.txt. The standard says a cached copy should not be used for more than 24 hours, so allow at least a day before checking your logs for OAI-SearchBot. If robots.txt returns a 4xx error such as 404, crawlers may fetch anything; if it returns a 5xx server error, they must treat the whole site as disallowed, for up to 30 days.
According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.
Does your site block OAI-SearchBot?
Robots.txt is only half the answer: a firewall, CDN or bot-protection rule can turn OAI-SearchBot away even when robots.txt allows it, and a rule written for another bot can catch it by accident. Scan a page to see what your robots.txt says to OAI-SearchBot and 27 other crawlers for that exact page, with the line that decides it. The report also sends one request that identifies as OAI-SearchBot (when robots.txt allows it), to show whether your CDN treats AI crawlers differently.
Other OpenAI crawlers
- ChatGPT-User: user-initiated fetcher
- GPTBot: AI training crawler
- OAI-AdsBot: other crawler
More AI search crawlers
- Claude-SearchBot (Anthropic): AI search crawler
- PerplexityBot (Perplexity): AI search crawler
- DuckAssistBot (DuckDuckGo): AI search crawler
- Applebot (Apple): AI search crawler
- Amzn-SearchBot (Amazon): AI search crawler
- MistralAI-Index (Mistral AI): AI search crawler
Sources
The details on this page were checked on 12 November 2026 against the documentation published by OpenAI (opens in a new tab). The robots.txt rules follow RFC 9309 (opens in a new tab).