OAI-SearchBot user agent
Key Takeaways
- OAI-SearchBot is OpenAI's crawler that finds and indexes pages so ChatGPT search can show and link to them.
- OAI-SearchBot uses the operator-documented robots.txt token OAI-SearchBot.
- OAI-SearchBot has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.
Operated by OpenAI
OAI-SearchBot is OpenAI's crawler that finds and indexes pages so ChatGPT search can show and link to them.
What identifies OAI-SearchBot?
| Identifier | OAI-SearchBot |
|---|---|
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
| Recorded User-Agent sample | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot |
What is OAI-SearchBot?
OAI-SearchBot builds the index behind search results in ChatGPT. OpenAI states that content it collects is not used to train foundation models.
Sites that block OAI-SearchBot can still appear as plain navigational links, but lose the summaries and citations in ChatGPT search answers.
robots.txt changes for OAI-SearchBot can take about 24 hours to apply. Source.
Use the linked operator documentation to check OAI-SearchBot before changing crawler access.
- robots.txt changes for OAI-SearchBot can take about 24 hours to apply.
Should you block OAI-SearchBot?
Consider allowing OAI-SearchBot when you use the associated service; verify identity, access requirements and server load first.
| Effect on search rankings | An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. |
|---|---|
| Effect on AI visibility | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| Follows robots.txt | Yes |
| Recommendation | Allow |
When does OAI-SearchBot visit your site?
OAI-SearchBot crawls on OpenAI's schedule to keep the index behind ChatGPT search up to date. It does not wait for a user to ask about a page.
OpenAI says its search systems adjust about 24 hours after a robots.txt change for OAI-SearchBot. When a site allows both OAI-SearchBot and GPTBot, OpenAI may use one crawl for both purposes.
A page a user asks ChatGPT about right now is fetched by ChatGPT-User, not by OAI-SearchBot.
Why did OpenAI create OAI-SearchBot?
OpenAI created OAI-SearchBot to surface websites in ChatGPT search features. OpenAI recommends allowing it, together with its published IP ranges, for sites that want to appear in search results.
OpenAI runs OAI-SearchBot separately from its other bots so a website can stay visible in ChatGPT search while making a different choice about training (GPTBot).
What OAI-SearchBot means for GEO
OAI-SearchBot controls whether ChatGPT can retrieve and cite your pages when it answers. That is the GEO path that sends visible citations and visits.
| What changes | If you allow it | If you block it |
|---|---|---|
| Citations and links in ChatGPT answers | Pages can enter the index that ChatGPT searches, so answers can cite and link them. | Pages leave that index, so ChatGPT answers can no longer cite or link them. |
| Referral visits from ChatGPT | Cited links can send visitors to the site. | No new referral visits from ChatGPT search answers. |
| Model training | OpenAI ties training to GPTBot, a separate token. OAI-SearchBot is used for ChatGPT search. | OpenAI ties training to GPTBot, a separate token. OAI-SearchBot is used for ChatGPT search. |
| Google and Bing rankings | No effect. | No effect. |
OAI-SearchBot vs other OpenAI bots
OpenAI runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.
| Bot | Job | robots.txt | If you block it |
|---|---|---|---|
| OAI-SearchBot | AI search | Yes | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| GPTBot | AI training | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
| ChatGPT-User | AI assistant | Not for user-requested fetches | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |
| OAI-AdsBot | Ads | Not documented | Blocking may interrupt a dependent feature. Test the specific service instead of assuming a universal AI effect. |
| ChatGPT Agent | AI agent | Not documented | Restricting an agent can interrupt the task it is performing. It does not establish a measured effect on sales or AI citations. |
Should your type of site allow OAI-SearchBot?
| News sites and publishers | Allow if ChatGPT should cite and link articles. Block only paywalled sections. |
|---|---|
| E-commerce | Allow product, category and help pages so ChatGPT can recommend and link them. Block cart, checkout and account paths. |
| SaaS and B2B | Allow. Documentation and comparison pages are what ChatGPT cites when users compare tools. |
| Local businesses and services | Allow. Being citable in ChatGPT is a low-cost way to be recommended for local questions. |
Common mistakes with OAI-SearchBot
- Blocking OAI-SearchBot to stop AI training. Training is controlled by GPTBot; blocking OAI-SearchBot only removes the site from ChatGPT search.
- Expecting a block to remove every mention. OpenAI says opted-out sites are not shown in ChatGPT search answers but can still appear as navigational links.
- Letting a CDN or security plugin block OAI-SearchBot by default. Check the server log for OAI-SearchBot requests that receive 403 responses.
- Blocking every OpenAI bot with one broad rule. Write a separate robots.txt group for each token.
How do you block or allow OAI-SearchBot?
Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token OAI-SearchBot is matched case-insensitively.
robots.txt: block
# Block OAI-SearchBot
User-agent: OAI-SearchBot
Disallow: /robots.txt: allow
# Allow OAI-SearchBot
User-agent: OAI-SearchBot
Allow: /robots.txt: partial
# Keep OAI-SearchBot out of private areas only
User-agent: OAI-SearchBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to OAI-SearchBot
if ($http_user_agent ~* "(OAI\-SearchBot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to OAI-SearchBot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (OAI\-SearchBot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "OAI-SearchBot")How can you verify OAI-SearchBot traffic?
OpenAI publishes the IP ranges that OAI-SearchBot uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.
How do you find OAI-SearchBot in server logs?
Search the web server access log for the literal identifier. The command below counts candidate OAI-SearchBot requests per URL on Nginx or Apache.
grep -iF -- 'OAI-SearchBot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.
What user-agent string does OAI-SearchBot use?
A user-agent sample recorded in the cited source for OAI-SearchBot. Version numbers such as Chrome/W.X.Y.Z change over time, so match the token, not the whole string.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbotOAI-SearchBot FAQ
Yes, if the site should be cited in ChatGPT answers. OAI-SearchBot builds the index that ChatGPT search draws on, so blocking it removes the site from those answers.
OpenAI ties training to GPTBot, a separate token. OAI-SearchBot is used for ChatGPT search.
OAI-SearchBot identifies itself with the robots.txt token "OAI-SearchBot". A typical request header reads: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot
OpenAI states that OAI-SearchBot follows robots.txt rules. Check the documented scope and any exceptions on this profile.
An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed.
Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: OAI-SearchBot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.
Yes. OpenAI publishes the IP ranges OAI-SearchBot uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.
Search your server access log for "OAI-SearchBot", for example with: grep -i "OAI-SearchBot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.
Sources: OpenAI crawler documentation. Content updated by Justin Hà.
See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.