-
Home
-
User Agent Directory
- OAI-SearchBot
OAI-SearchBot
What is OAI-SearchBot?
OAI-SearchBot is OpenAI's dedicated crawler designed to power search functionalities across OpenAI's products and services. This bot enables OpenAI to provide more accurate and up-to-date search results by indexing web content specifically for search purposes. Unlike GPTBot which focuses on training data collection, OAI-SearchBot is optimized for real-time search indexing and retrieval. The bot respects standard web crawling protocols and robots.txt directives, allowing website owners to control access to their content. By maintaining its own search index, OpenAI can offer enhanced search capabilities that complement its AI models' knowledge base.
User Agent String
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; OAI-SearchBot/1.0; +https://openai.com/searchbot)
How to Control OAI-SearchBot
Block Completely
To prevent OAI-SearchBot from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify OAI-SearchBot
Verify requests come from OpenAI IP ranges with proper user agent
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect OAI-SearchBot in your application:
Basic Pattern
/OAI\-SearchBot/i
Strict Pattern
/^Mozilla/5\.0 AppleWebKit/537\.36 \(KHTML, like Gecko; compatible; OAI\-SearchBot/1\.0; \+https\://openai\.com/searchbot\)$/
Flexible Pattern
/OAI\-SearchBot[\s\/]?[\d\.]*?/i
Vendor Match
/.*OpenAI.*OAI\-SearchBot/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Allow | Essential for product visibility in search results |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Allow | Improves documentation discoverability for developers |
| Corporate Site | Allow | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
OAI-SearchBot
Robots.txt Name
OAI-SearchBot
Category
ai, search
Respects robots.txt
Yes