OAI-SearchBot
Last reviewed
OAI-SearchBot is the OpenAI crawler behind ChatGPT search. OpenAI documents that it is used to find and surface websites in ChatGPT's search results. It is not the training crawler; that is GPTBot.
| Operator | OpenAI |
|---|---|
| Type | AI crawler or assistant |
| User agent contains | OAI-SearchBot |
| Purpose | Finds and surfaces websites in ChatGPT search results. |
| robots.txt | Follows robots.txt. Sites that opt out are not shown in ChatGPT search answers. (source) |
| Runs JavaScript | Not documented by the operator |
| How to verify it | IP ranges published at openai.com/searchbot.json |
| Official documentation | developers.openai.com/api/docs/bots |
What it sees on a JavaScript site
A study by Vercel and MERJ, published in December 2024, found that OAI-SearchBot did not render JavaScript. It downloads the HTML your server sends and reads that. The operator itself does not document this, and a crawler can change at any time.
On a client-rendered app (React, Vue or a Vite single page app) the HTML response is often a shell: a title, a script tag and an empty <div id="root">. If your content only appears after the scripts run, OAI-SearchBot reads little or nothing of it.
How to allow or block it in robots.txt
OpenAI documents that OAI-SearchBot follows robots.txt and that sites which opt out are not shown in ChatGPT search answers. Its token is OAI-SearchBot. If you want to appear in ChatGPT search, allow it.
# Block OAI-SearchBot from the whole site
User-agent: OAI-SearchBot
Disallow: /
# Or allow it everywhere
User-agent: OAI-SearchBot
Allow: /
robots.txt controls whether a bot may fetch a page. It does not change what the bot sees once it fetches it. For the full syntax, see robots.txt.
How Prebaked serves it
Your Prebaked integration looks at the User-Agent header of each request. When it contains OAI-SearchBot, the request gets the rendered HTML of your page from Prebaked: the same content a visitor sees after the scripts run. Every other visitor gets your site directly. Prebaked does not change the content for crawlers. The visit shows up in your request log, marked as verified when the IP check passes.
To see what a bot that does not run JavaScript gets from your page, run the free checker. The full list of bots Prebaked serves is on Crawlers.
Can AI search cite your site? Check it free
FAQ
Does OAI-SearchBot run JavaScript?
OpenAI does not document it. The Vercel and MERJ study (December 2024) found that OAI-SearchBot did not render JavaScript, so content added by scripts is not part of what it read.
How do I block OAI-SearchBot in robots.txt?
Add a group with User-agent: OAI-SearchBot and Disallow: /. OpenAI documents that sites which opt out are not shown in ChatGPT search answers.
Can I block GPTBot and still allow OAI-SearchBot?
Yes. They are separate robots.txt tokens. A group for GPTBot with Disallow: / and a group for OAI-SearchBot with Allow: / keeps your pages out of training crawls and in ChatGPT search.
How can I tell if a visit is really from OAI-SearchBot?
Anyone can send a user agent that says OAI-SearchBot. Check the request IP against the IP ranges the operator publishes, listed in the table above. Prebaked does this for you and marks matching visits as verified in your request log.