New
ArticleTechnical13 min read

How to see which AI crawlers visit your site: a server log guide for B2B marketers

A practical guide to reading server logs for AI crawler visits: what each user agent from OpenAI, Anthropic, Perplexity and Google means, copy-and-paste commands to count them, how to check a visit is real, what status codes tell you, and a ten-minute test.

By the WebVisiblity teamPublished December 5, 2026
On this page
  1. Why analytics will not show this
  2. Step 1: Know the names you are looking for
  3. Step 2: Get the log and count the visits
  4. Step 3: Check the visit is real
  5. Step 4: Read what the log is telling you
  6. Step 5: Fix what blocks the good visitors
  7. A ten-minute test you can run today
  8. What this does and does not prove
  9. Questions and answers

Key takeaways

  • Robots.txt says what you allow. Your server log says who actually turned up, which pages they asked for and whether your server let them in. Google Analytics and similar tools do not record most of these visits.
  • Each AI company runs separate agents for separate jobs: search, model training, and fetches that happen because a person asked a question. A visit by one tells you nothing about the others.
  • A name in a log is only a claim. In one site's own ten-day check, none of 128 requests that used the Claude-SearchBot name came from addresses on Anthropic's published list. Check the source address against the company's list before you believe a visit.
  • Status codes are the quickest finding. A 403 or 429 on a search crawler usually means a firewall or bot rule is turning it away, even when robots.txt allows it.
  • Logs show fetches, not citations. A crawler visit is evidence that your page can be read. It is not evidence that an AI answer used it.
The short answer. Download your raw access log, search it for the user-agent names OpenAI, Anthropic, Perplexity and Google publish, count visits per name, and look at the status code and the pages each one asked for. Then check that the source addresses match the company's published list, because anyone can type a crawler's name. If search crawlers get a 403 or 429, fix the firewall rule before you touch anything else.

Most marketers check robots.txt and stop. That file is a request, not a record. It says what you would like crawlers to do. It cannot say whether OAI-SearchBot, PerplexityBot or Claude-SearchBot ever came, which pages they read, or whether a bot rule at your host sent them away.

The record is your server log. This guide shows how to read it in about ten minutes with tools you already have. It assumes you can get a copy of the raw access log from your host or CDN, or can ask someone who can. It does not need coding skill beyond pasting commands.

Why analytics will not show this#

Page-view tools such as Google Analytics record a visit when a script runs in a browser. Crawlers that fetch the raw page often never run that script, so the visit leaves no trace there. The server that sends the page does record every request, with the time, the address, the page, the response code and the self-declared user agent. That is why the log is the right place to look.

If you cannot reach raw logs (some site builders hide them), look for a CDN or firewall dashboard in front of the site, which often keeps its own request records. The method below is the same.

Step 1: Know the names you are looking for#

Every request carries a user-agent string, which is the name the visitor gives itself. The companies publish the names of their agents and what each is for. This table comes from their own documentation.

CompanyAgent nameWhat it is forDoes robots.txt govern it?
OpenAIOAI-SearchBotSurfaces sites in ChatGPT's search featuresYes, OpenAI recommends allowing it in robots.txt
OpenAIGPTBotCrawls content that may be used to train its modelsYes
OpenAIChatGPT-UserVisits a page when a ChatGPT or Custom GPT user's request needs itOpenAI says rules may not apply, because a user started the action
OpenAIOAI-AdsBotChecks landing pages submitted as ads on ChatGPTOnly visits pages submitted as ads
PerplexityPerplexityBotSurfaces and links sites in Perplexity search results; not used for model trainingYes
PerplexityPerplexity-UserVisits a page when a user's question needs itPerplexity says it generally ignores robots.txt
AnthropicClaudeBotCollects web content that may contribute to model trainingYes
AnthropicClaude-SearchBotAnalyses content to improve the quality of search answersYes
AnthropicClaude-UserAccesses a site when a Claude user asks a questionAnthropic lists it among the bots a site owner can restrict
GoogleGooglebotGoogle's main crawler for SearchYes

Sources for the table: OpenAI, Overview of OpenAI crawlers, Perplexity, Perplexity crawlers, Anthropic, Does Anthropic crawl data from the web, and Google, Overview of Google crawlers and fetchers.

Two things in that table matter for how you read a log.

The three jobs are separate. OpenAI says each of its settings is independent: a site can allow OAI-SearchBot to appear in search results while disallowing GPTBot so its content is not used for training. A log that shows plenty of GPTBot and no OAI-SearchBot means something different from the reverse. Our guide on which AI crawlers to allow in robots.txt covers the decision. This guide covers the evidence.

User-triggered visits are a different signal. ChatGPT-User, Perplexity-User and Claude-User fetch a page because a person's question needed it, not on a crawl schedule. A visit by one is a sign a real question touched your page at that moment. It is not a crawl of your whole site, and the companies say robots.txt may not govern it.

Google-Extended is not in the table because it is not a visitor. Google documents it as a robots.txt control, so it will not appear as a user agent in your log. Googlebot is in the table because it is the crawler behind Google Search.

Step 2: Get the log and count the visits#

Ask your host for the raw access log for the last 30 days, or the last 7 if files are large. Most servers write the common "combined" format, where each line looks like this:

203.0.113.9 - - [04/Dec/2026:10:15:32 +0000] "GET /blog/pricing HTTP/1.1" 200 5123 "-" "Mozilla/5.0 (compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot)"

The address is first, the page requested follows GET, the three-digit code after the request is the response status, and the user agent is the last quoted part. The example address is a documentation address, not a real visitor.

On Mac or Linux, open a terminal in the folder with the log (called access.log below) and run these. If a command returns nothing, your log may use a different format, so show the first few lines to whoever manages the server.

Count visits by agent:

grep -Eio 'OAI-SearchBot|GPTBot|ChatGPT-User|PerplexityBot|Perplexity-User|ClaudeBot|Claude-SearchBot|Claude-User|Googlebot' access.log | sort | uniq -c | sort -rn

This prints how many log lines contain each name, biggest first.

See what status codes one agent received (swap the name as needed):

grep -i 'OAI-SearchBot' access.log | awk '{print $9}' | sort | uniq -c | sort -rn

See which pages one agent asked for:

grep -i 'PerplexityBot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

Compressed older logs end in .gz; use zgrep in place of grep for those. If you only have a spreadsheet export from a CDN, filter the user-agent column for the same names and count by hand.

Step 3: Check the visit is real#

A user-agent name is self-declared. Anything can send a request that says it is OAI-SearchBot. Three of the four companies publish more than a name:

  • OpenAI publishes IP address lists for each agent, for example for OAI-SearchBot, GPTBot and ChatGPT-User, and links them from its crawler page.
  • Perplexity publishes address lists for PerplexityBot and Perplexity-User, and says to match each user agent against its own ranges.
  • Google says its crawlers identify themselves in three ways: the user-agent header, the source IP address and the reverse DNS hostname of that address, and it documents how to verify them.

Anthropic's page describes the bots and what happens when you disable each. Check its current page for any published address ranges before you rely on a name alone.

The reason to bother is not theoretical. One site's own monitoring report, covering 22 to 31 October 2026, found 128 requests using the Claude-SearchBot name. None were verified as Anthropic's: they came from addresses outside the list Anthropic published, mostly from a cloud provider. Only 2 asked for ordinary pages. The other 126 asked for files that are not pages on that site, such as a credentials file, which looks like scanners probing for secrets. [Elementera, 2026] That is one site over ten days, and the report's author sells monitoring for these crawlers, so treat it as an example of what can happen, not a rate.

A practical way to check: take the five most active addresses behind a given agent name, and look each one up in that company's published list. If most do not match, you are looking at noise. Cloud and security teams can do this with a short script across the whole log, but five by hand is enough to learn whether your numbers are trustworthy.

Step 4: Read what the log is telling you#

Once the names are counted and checked, read the results against four questions.

What you seeWhat it likely meansWhat to do
A search agent (OAI-SearchBot, PerplexityBot, Claude-SearchBot) never appearsIt has not reached you, or something is blocking it before the log, or the site is too new or too small to be crawled oftenCheck robots.txt, then the firewall. Allow the agent in both
A search agent appears with mostly 200 codesIt can read your pagesCompare its paths with the pages that matter to buyers
A search agent receives 403 or 429A firewall, CDN or rate limit is refusing itAdd an allow rule for the verified agent and addresses
A search agent mostly requests robots.txt and little elseIt may be reading your rules and finding them restrictiveOpen your own robots.txt and read it as the bot would
A user-triggered agent (ChatGPT-User and similar) appears on a few pagesPeople asked questions that touched those pagesRead those pages as a buyer would, and check what they say
Only training agents appearYour content may be used for models, but this says nothing about search answersLook specifically for the search agents

Two cautions on reading it. The log shows that a page was fetched, not that an answer used or cited it. And a crawler's coverage of your site is partial and uneven, so one missing page is weak evidence of anything. Look for patterns across weeks, not single lines.

Step 5: Fix what blocks the good visitors#

The most common cause of a search agent getting a 403 is not robots.txt. It is a bot-protection rule that treats unfamiliar automated traffic as hostile.

Perplexity's documentation gives step-by-step rules for common firewalls and makes one point that catches people out: with Cloudflare, Bot Fight Mode cannot be skipped by a custom WAF rule, so if it is on, it can still challenge Perplexity's bots even when you have an allow rule. [Perplexity, 2026] OpenAI's page recommends allowing OAI-SearchBot in robots.txt and allowing requests from its published IP ranges, and notes that after a robots.txt change it can take about 24 hours for its search systems to adjust. [OpenAI, 2026]

So the order is:

  1. Confirm the robots.txt group for each search agent allows the pages you want read.
  2. Allow the verified agent by address range, not by name alone, in any firewall or CDN bot rule.
  3. Wait at least a day, then count again with the same commands.

Do not open the door to every request that carries an AI name. That is the opposite of what Step 3 is for.

A ten-minute test you can run today#

You can make a user-triggered visit happen on purpose and watch it arrive.

  1. Pick one public page on your site that has not been in the news. Write down the time.
  2. In an AI tool with web access, ask it to read that exact link and summarise it.
  3. A few minutes later, search your log for the user-triggered agent for that tool (ChatGPT-User, Perplexity-User or Claude-User) and for that page's path.
  4. Note the status code and the source address, and check the address against the company's list.

OpenAI says ChatGPT may visit a page with the ChatGPT-User agent when a user asks a question, and Elementera reported that when it asked Claude to open a link to one of its pages in four test sessions, all four requests came from Claude-User. [OpenAI, 2026; Elementera, 2026] A small test on one site, so results can differ. If nothing arrives, the tool may have used a cached copy, or a firewall may have stopped the request. If the visit arrives with a 403, you have just found a real problem.

If you run this test, record it. A line like "4 December, ChatGPT-User, /blog/pricing, 200, address matched" is a baseline you can compare with after any change to robots.txt, the firewall or the site. Our guide on how to test whether a change moved your AI citations shows how to treat a before-and-after result carefully.

What this does and does not prove#

A clean log is good news about access only. It means AI systems can read your pages. Whether they name you depends on much else: what your pages say, what other sites say about you, and how each tool picks sources. For how those tools find and cite pages, read how AI search retrieves and cites your pages. For measuring the visitors who do arrive from AI tools, see how to track AI referral traffic in GA4.

A log check is also a technical baseline for the other readiness work: schema markup, clear homepage facts, and a sensible view on whether llms.txt helps. Each is easier to judge once you know the crawlers can reach you.

Free consultation

Want someone to read your crawler logs with you?

Logs are easy to misread, and a wrong block can quietly keep AI tools away from your pages. I have about ten years in search, leading search and AI visibility work for software, security and finance brands. Send me a week of log lines and your robots.txt and I will tell you which agents are reaching you and which are being turned away.

  • I count visits by agent and check the source addresses
  • I flag firewall and CDN rules that refuse search crawlers
  • I give you a short fix list in the order to do it

Sources: OpenAI, Overview of OpenAI crawlers · Perplexity, Perplexity crawlers · Anthropic, Does Anthropic crawl data from the web and how can site owners block the crawler · Google, Overview of Google crawlers and fetchers · Elementera, Claude-SearchBot: what it is, and how to allow or block it

Questions and answers

How do I know if ChatGPT is crawling my website?

Search your server access log for the names OpenAI publishes: OAI-SearchBot for search, GPTBot for training and ChatGPT-User for fetches triggered by a user's question. Then check that the source addresses match the lists OpenAI publishes for each agent, because a name alone can be faked.

OpenAI's documentation says the settings for these agents are independent, so seeing one tells you nothing about the others. If none appear over a month, check your robots.txt and any firewall rule before assuming the site is ignored. (OpenAI, 2026)

Does Google Analytics show AI crawler visits?

Mostly no. Analytics tools record a visit when a script runs in a browser, and crawlers that fetch the raw page often do not run it. Your server access log, or the request log of your CDN or firewall, records every request whether or not a script ran. Use that instead.

What is the difference between OAI-SearchBot, GPTBot and ChatGPT-User?

OAI-SearchBot is used to surface sites in ChatGPT's search features. GPTBot crawls content that may be used to train OpenAI's models. ChatGPT-User visits a page when a user's request needs it, and OpenAI says it is not used to decide whether content appears in search. Blocking one does not block the others. (OpenAI, 2026)

Why would an AI search crawler get a 403 when robots.txt allows it?

Because robots.txt is only one layer. A firewall, CDN or bot-protection rule can refuse a request before the page is served. Perplexity's documentation notes, for example, that Cloudflare's Bot Fight Mode cannot be skipped by a custom WAF rule, so it can still challenge Perplexity's bots. Allow the verified agent by its published address ranges and test again after a day. (Perplexity, 2026)

Can a bot fake a crawler name?

Yes. The user agent is whatever the sender chooses to say. That is why companies publish address lists, and why Google documents verification by user agent, source address and reverse DNS. In one site's ten-day check, none of 128 requests using the Claude-SearchBot name matched Anthropic's published addresses. It is a single site, so treat it as a warning and not as a rate. (Elementera, 2026)

Does a crawler visit mean AI will cite my page?

No. A visit shows a page could be read at that time. Whether an answer uses or cites it depends on the tool, the question and many other pages. Use logs to confirm access, then measure citations separately with a fixed set of buyer questions.

How often should I check my logs for AI crawlers?

A monthly check is enough for most B2B sites, plus one after any change to robots.txt, your firewall, your CDN or a site migration. Use the same commands each time, so the counts can be compared.

Written by the WebVisiblity team

B2B marketers who build tools to measure how ChatGPT, Gemini, Claude and Perplexity talk about companies. About us

Keep reading

Latest from Market Signal

AI and LLMsDec 1, 2026, 7:30 AM ET7 min read

Publishers tell five AI firms their assistants must obey robots.txt, a rule Anthropic says Claude already follows

News publishers in the SPUR Coalition have asked Amazon, Google, Meta, OpenAI and Perplexity to stop exempting user-requested page fetches from robots.txt. Each firm's own documentation says those fetchers may skip it today.

Other softwareDec 2, 2026, 3:30 AM ET8 min read

AI agents now act on 13% of their site visits, up from 1.4% in May, Cequence's traffic data shows

Six months of traffic at the businesses Cequence protects show agents moving from reading pages to signing in, booking and buying. The same data shows bots borrowing trusted agent names, Perplexity's among them, to hunt for keys and passwords.

Other softwareNov 28, 2026, 9:30 PM ET8 min read

Google's AI cites Reddit and YouTube 52% more, while ChatGPT cut the same sites by 44%

Semrush counted about 937 million AI citations to 18 social and community sites over eight months. Google's AI products leaned on them more each month, ChatGPT leaned on them less, and TikTok was the only big name that grew everywhere.

All industry briefings →

See what AI says about your company.

Free check, about 2 minutes, no card. Or browse the free guides.