AI crawler profile
What is OAI-SearchBot? How to allow or block OpenAI's crawler
User-agent string to match in robots.txt and server logs: OAI-SearchBot
Operator
OpenAI
Purpose
AI search & live answers
robots.txt
Respects robots.txt
Official docs
OAI-SearchBot builds the index behind ChatGPT's search experience — the linked, cited answers ChatGPT gives for current-events and lookup queries. Blocking it removes your pages from those citations without affecting model training, which is controlled separately by GPTBot.
Does OAI-SearchBot respect robots.txt?
OpenAI states OAI-SearchBot respects robots.txt rules.
Verify it's really OAI-SearchBot
The user-agent string above is self-declared, so anything can send it. OpenAI publishes OAI-SearchBot's IP ranges as JSON, which is what makes a rule verifiable: check the request's IP against the published prefixes instead of trusting the name. Requests claiming to be OAI-SearchBot from outside those ranges are spoofed — useful to know whether you're allowing or blocking it.
Block OAI-SearchBot with robots.txt
User-agent: OAI-SearchBot Disallow: /
Explicitly allow OAI-SearchBot
User-agent: OAI-SearchBot Allow: /
Block OAI-SearchBot at the server or CDN
robots.txt is the right first step for OAI-SearchBot, since OpenAI honors it. Use these only if you want the block enforced rather than requested — for example to stop agents spoofing the user agent. Matching on the user-agent string still trusts a self-declared header — pair it with an IP check against the published ranges above for a rule that can't be spoofed.
if ($http_user_agent ~* "OAI-SearchBot") {
return 403;
}RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} OAI-SearchBot [NC]
RewriteRule .* - [F,L](http.user_agent contains "OAI-SearchBot")
Find OAI-SearchBot in your server logs
grep -i "OAI-SearchBot" /var/log/nginx/access.log | wc -l
Should you block OAI-SearchBot?
For most sites, no. OAI-SearchBot powers visibility: blocking it removes your pages from the cited answers OpenAI's assistant shows its users — the AI-era equivalent of de-indexing yourself from a search engine. Block it only if you deliberately don't want that audience. Our guide on blocking AI bots covers the trade-offs in detail.
Check and monitor OAI-SearchBot on your site
- AI Crawler Access Checker — see whether your current robots.txt allows or blocks OAI-SearchBot.
- robots.txt Generator for AI Bots — build a robots.txt with per-bot rules for all 28 known AI crawlers.
- AI Bot Log Analyzer — paste server logs and count real OAI-SearchBot hits, entirely in your browser.
Related reading
- List of AI crawlers and their user agents — how OAI-SearchBot fits among every other AI crawler, in one table.
- Can AI crawlers execute JavaScript? — whether OAI-SearchBot sees content your site renders client-side.
- Should you block AI bots? — the full decision framework for OpenAI and the rest.
Frequently asked questions
What is OAI-SearchBot?
OAI-SearchBot is OpenAI's agent for AI search and live answers. Powers search-style results surfaced in ChatGPT.
Does OAI-SearchBot respect robots.txt?
OpenAI states OAI-SearchBot respects robots.txt rules.
How do I block OAI-SearchBot?
Add "User-agent: OAI-SearchBot" followed by "Disallow: /" to your robots.txt file. The change takes effect the next time the bot fetches your robots.txt.
Does blocking OAI-SearchBot hurt my Google rankings?
No. OAI-SearchBot is separate from Googlebot, which handles Google Search indexing. Blocking OAI-SearchBot has no effect on your traditional search rankings, but it does remove your pages from the AI answers OpenAI's assistant serves to its users.
How can I tell if OAI-SearchBot is crawling my site?
Search your server access logs for the string "OAI-SearchBot" — for example: grep -i "OAI-SearchBot" /var/log/nginx/access.log | wc -l. Our free AI Bot Log Analyzer does this in your browser: paste a log file and it counts hits per AI crawler, including OAI-SearchBot, with per-path breakdowns.
How do I use OAI-SearchBot?
You don't — OAI-SearchBot isn't a tool you run. It's OpenAI's own crawler, operated by OpenAI, that visits your site from their infrastructure. The only control you have over it is whether you allow or block it, via robots.txt or a server rule. If you're looking to crawl other sites yourself, you'd write your own crawler or use a crawling library; sending "OAI-SearchBot" as your user agent would be impersonating OpenAI.
Does OAI-SearchBot respect crawl-delay?
Almost certainly not. Crawl-delay was never part of the original robots.txt specification — Google has publicly said it ignores the directive, and the AI crawlers that model their parsers on Google's do the same. OpenAI publishes no position on crawl-delay for OAI-SearchBot, so treat it as unsupported. If OAI-SearchBot is hitting your site harder than you want, rate-limit it at the server or CDN instead: a Cloudflare rate-limiting rule or an nginx limit_req zone matched on the user agent will actually be enforced, whereas a crawl-delay line is only a request that this agent likely never reads.
Why is OAI-SearchBot ignoring my robots.txt?
OpenAI states OAI-SearchBot honors robots.txt, so if you are still seeing hits the cause is usually one of four things rather than the bot misbehaving. First, robots.txt is cached — OpenAI may be working from a copy fetched up to 24 hours before your change. Second, the rule may not match: robots.txt user-agent matching is on a prefix of the token, and a typo or a trailing character breaks it silently. Third, the block may sit under a different user-agent group than the one this bot reads, since a bot obeys only the most specific group that matches it, not the wildcard group as well. Fourth, the traffic may be something else sending OAI-SearchBot as its user agent, which anything can do.
Does OAI-SearchBot execute JavaScript?
Treat it as no unless OpenAI says otherwise. Rendering JavaScript costs an order of magnitude more than fetching HTML, and most AI crawlers — unlike Googlebot, which runs a full headless Chrome — read the raw HTML response and stop there. The practical consequence: anything your page loads client-side after the initial response is likely invisible to OAI-SearchBot. If your main content is client-rendered, server-render it or pre-render it so the text exists in the first response.
What are OAI-SearchBot's IP ranges?
OpenAI publishes them as JSON at https://openai.com/searchbot.json, updated as their infrastructure changes. Fetch that file rather than hard-coding the prefixes, and match the request IP against it to confirm a visit is genuinely OAI-SearchBot. This is the only reliable check — the user-agent header is self-declared, so a scraper can send "OAI-SearchBot" while coming from anywhere.
How often does OAI-SearchBot crawl my site?
There is no fixed schedule. OAI-SearchBot serves live answers, so its crawl rate tracks demand — pages that come up in OpenAI conversations get fetched more often, and a site nobody asks about may see it rarely or never. Frequency also rises with how often your pages change and how many links point at them. The only way to know for your own site is to measure it: grep your access log for the user agent, or paste the log into our AI Bot Log Analyzer, which breaks hits down by date and path in your browser.
Where is the official OpenAI documentation for OAI-SearchBot?
OpenAI publishes it at https://platform.openai.com/docs/bots. That page is the authoritative source for the user-agent string and OpenAI's stated crawling policy, and OpenAI also publishes OAI-SearchBot's IP ranges as JSON at https://openai.com/searchbot.json so you can verify requests rather than trusting the header.
Commonly confused with
Other AI crawlers
- GPTBotCrawls content to train OpenAI's models.
- ChatGPT-UserFetches pages a user asks ChatGPT to browse in real time.
- Claude-SearchBotIndexes content to inform Claude's search-style answers.
- PerplexityBotCrawls and indexes pages for Perplexity's answer engine.
- Perplexity-UserFetches a page a user asks Perplexity to browse live.
- ApplebotApple's crawler powering Siri and Spotlight suggestions.
Part of our directory of every known AI crawler, refreshed monthly. Last verified: 2026-09-13.