Home / Articles

Article

How to spot AI crawlers in your server logs

By Nick Quick, with the Be In GEO lab Published: Nov 30, 2026 Last checked: Nov 12, 2026

Be In GEO article card: "How to spot AI crawlers in your server logs", with the Be In GEO bullseye.

Short answer

To see whether AI companies’ bots visit your site, search your web server’s access log for the user agent names they publish, such as OAI-SearchBot, GPTBot, ChatGPT-User, OAI-AdsBot, ClaudeBot, Claude-User, PerplexityBot and Perplexity-User. (OpenAI) (Anthropic) (Perplexity) Then check the IP address against the company’s published ranges, because a name in a log line is just a claim. (OpenAI) (Perplexity)

Analytics tools like GA4 run in the browser, so they don’t show these visits. Logs do, because every request to your server gets a line.

What a log line contains

Most hosts use something close to the standard combined format. nginx always includes it, and uses it when no other format is set. (nginx) It looks like this: (nginx)

Text
log_format combined '$remote_addr - $remote_user [$time_local] '
                    '"$request" $status $body_bytes_sent '
                    '"$http_referer" "$http_user_agent"';
FieldWhat it tells you
$remote_addrThe client address, meaning the IP the request came from (nginx)
$time_localLocal time in Common Log Format (nginx)
$requestThe full original request line, like GET /pricing/ (nginx)
$statusThe response status (nginx)
$http_refererThe Referer request header, the page that linked if one was sent (nginx)
$http_user_agentThe User-Agent request header, the name the visitor gives itself (nginx)

Our read: on shared hosting, look for a Logs or Raw Access section in your control panel. If your host doesn’t offer logs, a CDN’s logs can stand in.

The names to search for

Here are the user agents three AI companies document, and what each one is for, in their own words.

User agentCompanyPurpose
OAI-SearchBotOpenAISurfaces websites in ChatGPT’s search features (OpenAI)
GPTBotOpenAICrawls content that may be used in training foundation models (OpenAI)
ChatGPT-UserOpenAIVisits pages for certain user actions in ChatGPT (OpenAI)
OAI-AdsBotOpenAIChecks landing pages submitted as ads on ChatGPT (OpenAI)
ClaudeBotAnthropicCollects content that could contribute to model training (Anthropic)
Claude-UserAnthropicAccesses sites when people ask Claude questions (Anthropic)
Claude-SearchBotAnthropicImproves search result quality (Anthropic)
PerplexityBotPerplexitySurfaces and links websites in Perplexity search results (Perplexity)
Perplexity-UserPerplexityVisits pages when people ask Perplexity a question (Perplexity)

Note

Note: OpenAI says ChatGPT-User isn’t used for crawling the web automatically, and because those visits are started by a user, robots.txt rules may not apply. (OpenAI) Perplexity says the same kind of thing for Perplexity-User, which it says isn’t used for web crawling. (Perplexity)

Our read: that split matters for reading logs. Search and training bots tell you about crawling. The user-triggered agents hint that a real person asked a question that sent the tool to your page.

Our read: if you can download your log file, a plain text search is enough to start. On a Mac or Linux terminal:

Text
grep -E "OAI-SearchBot|GPTBot|ChatGPT-User|OAI-AdsBot|ClaudeBot|Claude-User|Claude-SearchBot|PerplexityBot|Perplexity-User" access.log

Count hits per agent, then look at which paths they asked for and what status they got back. A pile of 404s or 403s means the bot is hitting dead links or getting blocked.

OpenAI notes it may add a robots.txt marker to the user agent when fetching robots.txt, so those requests are easy to tell apart even when logs don’t include paths. (OpenAI)

Check the IP, not just the name

Anyone can type any user agent. That’s why the companies publish IP lists.

BotPublished IP list
OAI-SearchBotopenai.com/searchbot.json (OpenAI)
GPTBotopenai.com/gptbot.json (OpenAI)
ChatGPT-Useropenai.com/chatgpt-user.json (OpenAI)
OAI-AdsBotopenai.com/adsbot.json (OpenAI)
PerplexityBotperplexity.ai/perplexitybot.json (Perplexity)
Perplexity-Userperplexity.ai/perplexity-user.json (Perplexity)
Anthropic botsclaude.com/crawling/bots.json (Anthropic)

Anthropic also links to a list and says a crawler with a source IP on it is coming from Anthropic. (Anthropic) Perplexity adds that each bot has its own IP ranges, so you should match each user agent against its own list. (Perplexity)

Watch out

Watch out: a hit you can’t match to a published range shouldn’t go in your counts. Our read: treat it as unverified, not as proof an AI company visited.

What a hit does and doesn’t tell you

A verified hit tells you a bot fetched a URL at a time and got a status code. That’s it.

It doesn’t tell you whether your page was used in an answer, cited, or shown to anyone. None of the three documentation pages we used says a crawl leads to a citation. Our read: logs answer can they reach my pages, not am I being cited.

Key takeaway

What to do next

  1. Get access to your raw access logs from your host or CDN. (nginx)
  2. Search for the nine user agents above. (OpenAI) (Anthropic) (Perplexity)
  3. Match each hit’s IP against that bot’s published list. (OpenAI) (Perplexity)
  4. Look at status codes for verified hits, and fix any 404s on pages you care about.
  5. Repeat monthly and keep the counts in a sheet.

Get the worksheet

Want to see which sites AI answers cite for the questions your customers ask? Grab the free worksheet at beingeo.com/checklist. You’ll also get short emails with each new teardown.

Read how Be In GEO works for how we source and check our pages.

FAQ

Why doesn’t GA4 show these bots?

Our read: GA4 runs as a script in the browser, and crawlers usually just fetch the HTML. Server logs record the request itself.

Does blocking an AI bot’s IP work?

Anthropic says blocking its IPs may not work correctly or guarantee an opt-out, because it stops the bot reading your robots.txt. (Anthropic)

Sources