OAI-SearchBot

AI search indexer

OpenAI's crawler for the search index behind ChatGPT search. It discovers and indexes pages so they can be surfaced as linked, cited results. It is a separate crawler from GPTBot, OpenAI's training crawler, with its own robots.txt token, and OpenAI states it is not used for training.

OperatorOpenAI
TypeAI search indexer
Respects robots.txtYes (documented)
DocumentationOfficial operator documentation

What OpenAI documents about OAI-SearchBot

  • After you change robots.txt, OpenAI says it can take about 24 hours for ChatGPT search to adjust.
  • OpenAI recommends allowing OAI-SearchBot in robots.txt and allowing requests from its published IP ranges if you want your site to appear in ChatGPT search.
  • When it fetches robots.txt, OAI-SearchBot may add a robots.txt marker to its user-agent string, so you can tell those requests apart in logs without paths.
  • The version number in the user-agent string changes over time, so match on the OAI-SearchBot token.

Checked against the OpenAI documentation on 10 November 2026.

OAI-SearchBot and other OpenAI bots

OpenAI runs 4 bots and controls in this directory, each with its own robots.txt rule: GPTBot (AI training crawler), ChatGPT-User (AI assistant fetcher), OAI-SearchBot (AI search indexer), OAI-AdsBot (ads landing-page checker). Allowing or blocking one does not change the others.

BotTyperobots.txt tokenRespects robots.txt
GPTBotAI training crawlerGPTBotYes (documented)
ChatGPT-UserAI assistant fetcherChatGPT-UserPartially
OAI-SearchBotAI search indexerOAI-SearchBotYes (documented)
OAI-AdsBotAds landing-page checkerOAI-AdsBotNot documented

OAI-SearchBot user-agent string

This is how OAI-SearchBot identifies itself in your server logs:

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

How to block OAI-SearchBot in robots.txt

Add this to the robots.txt file at the root of your site:

Block OAI-SearchBot

User-agent: OAI-SearchBot
Disallow: /

Explicitly allow OAI-SearchBot

User-agent: OAI-SearchBot
Allow: /

What blocking changes: Your site is dropped from ChatGPT search answers and loses those citation links, a referral channel that shows up as ChatGPT traffic in your analytics. OpenAI says opted-out sites can still appear as navigational links.

Want to decide for all AI bots at once? Use the AI robots.txt generator.

How to whitelist OAI-SearchBot

To whitelist OAI-SearchBot, add "User-agent: OAI-SearchBot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then allow the IP ranges the operator publishes at https://openai.com/searchbot.json in your firewall, WAF or CDN, so firewall rules do not turn it away. Matching on IP is safer than matching on the user agent, which anyone can fake.

  1. In robots.txt, add a User-agent: OAI-SearchBot group with Allow: /, and check that no broader User-agent: * rule or other group disallows the paths you want crawled.
  2. In your firewall, WAF or CDN bot settings, allow the IP ranges OpenAI publishes at openai.com/searchbot.json. The list changes, so load it from that URL rather than copying the ranges once.
  3. On Cloudflare, add those ranges to an IP list (for example one named oai_searchbot). Under Security rules, create a custom rule with the expression ip.src in $oai_searchbot, choose the Skip action and select what it skips, such as all Super Bot Fight Mode rules and all rate limiting rules. Cloudflare notes that a skip rule cannot skip Bot Fight Mode, the bot setting on the Free plan. The list does not follow the URL by itself, so update it whenever the ranges published there change.
  4. Check your server logs for OAI-SearchBot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.

Other ai search indexers

Is OpenAI sending you visitors?

Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.

See your AI traffic