Skip to content
CrawlfolioSourced research on web data for AI
Menu

Explainer

How to see which AI bots are hitting your site

Find GPTBot, ClaudeBot and PerplexityBot in your access logs, then check the IP is real. Commands, a CDN shortcut, and what to do next.

An open notebook with a row of drawn shapes, one triangle vermilion, a small rubber stamp beside it
AI-generated image · Made for this page

Browser analytics cannot show AI crawlers, but your CDN’s dashboard and your server’s access log can. My method is to open your CDN’s AI-crawler view if it has one, otherwise count user-agent tokens in the access log, then check the IP against the vendor’s published list before you block anything.

No log was analysed and no command was run for this post. The commands below are drafted from the nginx and Apache format docs and are not run here, so try them on a copy of a log. It is one piece of my data guide.

Short on time?

Short on time? Here's my pick for each case

You run Cloudflare
Open AI Crawl Control first, then export logs only if you need raw lines
Cloudflare's docs say it is available on all plans, with referral data on paid plans only. High confidence in what the docs say; I did not open a dashboard.
Your own nginx or Apache server
Count tokens in the access log, rotated .gz files included, then check the busiest IPs against the vendor lists
High confidence in the log formats, which are documented. The commands are drafted, not run.
Before you block anything
Verify the IP, not the user agent
Fastly and Search Engine Journal both found large shares of claimed-AI requests did not come from the vendors' IPs. Medium confidence: two samples, neither is your site.
A host with no access log
You cannot see crawlers there on the evidence I read; ask the host or put a CDN with logs in front
Low to medium confidence: one Netlify page describes its log drains for Enterprise plan users.

Prices verified . Sponsors cannot buy a verdict or a position.

Where do the logs actually live? #

In up to four places: your CDN or edge, a web application firewall (WAF), a reverse proxy and the origin server. Swetrix says to search them in that order, edge first.

The order matters because a blocked request never reaches the origin. Oncrawl says firewall-blocked requests never appear in Apache or Nginx logs, and describes one site with about 5,000 daily WAF-blocked requests from ChatGPT-User and OAI-SearchBot that its server logs could not show.

Browser analytics are the wrong place. Netlify says GA4 filters out bot traffic by design and Search Console only shows Googlebot activity, and points to server-level logs.

On your own server, nginx’s predefined combined format records the client address, request, status, bytes sent, referrer and user agent, and its default is access_log logs/access.log combined. The gzip option writes compressed blocks that zcat can read. nginx docs.

Apache’s Combined Log Format carries the same fields and states no default path. Its docs show rotatelogs for daily or size-based rotation. Apache docs.

Which bots are you looking for? #

Three kinds, and the difference decides your policy: crawlers that gather training data, crawlers that build a search index, and fetchers that act when a person asks. Here is what each operator documents as of 2026-11-24.

Purpose Token Operator robots.txt as documented Where the IP list is
Training GPTBot OpenAI Page says disallowing it signals content should not be used for training; it has no separate “honors” sentence openai.com/gptbot.json
Search OAI-SearchBot OpenAI Page says sites opted out will not be shown in ChatGPT search answers; for search results a robots.txt change can take ~24 hours to apply openai.com/searchbot.json
User fetch ChatGPT-User OpenAI “robots.txt rules may not apply” openai.com/chatgpt-user.json
Training ClaudeBot Anthropic Honored, Crawl-delay supported claude.com/crawling/bots.json
Search Claude-SearchBot Anthropic Honored Same list
User fetch Claude-User Anthropic Honored (Anthropic says its bots honor robots.txt) Same list
Search PerplexityBot Perplexity Not stated on the page I read perplexity.ai/perplexitybot.json
User fetch Perplexity-User Perplexity “generally ignores robots.txt rules” perplexity.ai/perplexity-user.json
Control token only Google-Extended Google Never appears as a user agent Not applicable

Sources: OpenAI, Anthropic, Perplexity, Google.

Google-Extended is the one that trips people up. Google says it has no separate HTTP user agent string, so it is a robots.txt control token and cannot show up in a log. Google-CloudVertexBot is a separate token for crawls a site owner requests through Vertex. Google rewrote its Google-Extended page on November 24; what Google-Extended actually blocks now walks through the change.

I do not repeat the full token list here. My AI crawler user agents guide has it, plus per-vendor IP methods for Apple, Meta, Amazon and Common Crawl.

How do you count them in an access log? #

With a few one-line commands over the combined format. Drafted from the documented format, not run here: try them on a copy of a log, and expect them to break if you changed log_format.

When a combined-format line is split on spaces, field 1 is the client IP, field 7 the path, field 9 the status and field 10 the bytes. That is my derivation from the nginx and Apache format docs.

# who showed up, by token (rotated .gz files too)
zgrep -hEio 'GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User|CCBot' access.log* | sort | uniq -c | sort -rn

# status codes for one bot
grep -h 'GPTBot' access.log | awk '{print $9}' | sort | uniq -c | sort -rn

# bytes sent to one bot
grep -h 'ClaudeBot' access.log | awk '{b+=$10} END {print b}'

# busiest IPs claiming a name
grep -h 'ClaudeBot' access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head
Command What it tells you Field it needs
zgrep with uniq -c Which tokens appear and how often User agent
awk '{print $9}' Status codes for one bot Status
awk '{b+=$10}' Bandwidth one bot used Bytes
awk '{print $1}' Which IPs claim that name Client IP
Check against a vendor list Whether an IP is real Client IP

zgrep reads both compressed and plain files, and -i makes the tokens case-insensitive. One caution of my own, with no source behind it: behind a CDN or proxy, field 1 may be the CDN’s address unless your server is set to log the real client IP.

How do you read the numbers? #

Read status codes first, then bandwidth, then which IPs make most of the hits. Oncrawl filters for 200 and 304 when it counts AI citations, and its examples include ChatGPT-User getting 403 on every request for 17 hours after a WAF rule went on, and 988 ChatGPT-User requests ending in a 404 on one retail site. My reading: mostly 403s means a bot was blocked, and a pile of 404s means it is chasing URLs you no longer serve.

Bandwidth and concentration come next. If one IP makes most of a bot’s hits, or the bytes are large for the page count, look at that address before anything else.

Do not turn a count into a share of your traffic and compare it with someone else’s. Oncrawl’s author reports AI traffic of 0.1% to 1% across the author’s own clients, with a median around 0.4%, which is one consultant’s client data and not a benchmark for your site.

A thread on OpenAI’s developer forum shows what a problem looks like. On January 6, 2026, a poster reported GPTBot requesting a staging calendar page about every three seconds, and a January 7 reply says it stopped once the site served its robots.txt correctly. The page does not say who the replier is, though the replies point to OpenAI’s crawler documentation. OpenAI forum.

For search results, OpenAI says it can take about 24 hours from a robots.txt update for its systems to adjust, so wait a day before judging a new rule for OAI-SearchBot. The page gives no such figure for GPTBot. OpenAI.

Is that really GPTBot? #

Not until you check the IP. Swetrix puts it as a user agent being a declaration, not authentication, and says its own curl test only shows how your infrastructure answers a user-agent string.

Each operator publishes something you can check against:

  • OpenAI publishes gptbot.json, searchbot.json, chatgpt-user.json and adsbot.json under openai.com. The copy of gptbot.json I opened had a creationTime and a prefixes list of ipv4Prefix entries. OpenAI bots page, gptbot.json.
  • Anthropic publishes ranges at claude.com/crawling/bots.json, and says a source IP on that list “indicates that the crawler is coming from Anthropic”. The copy I opened had the same creationTime and prefixes shape. Anthropic, bots.json.
  • Perplexity lists perplexitybot.json and perplexity-user.json. Perplexity docs.
  • Google uses a reverse DNS lookup with host, then a forward lookup, and accepts googlebot.com, google.com and googleusercontent.com. It also publishes JSON IP files. Google.

Drafted, not run here: the two checks as commands. The Python line reads only ipv4Prefix entries, which is all the two JSON files I opened held, so an IPv6 address needs more work.

# reverse then forward DNS (the Google method); 203.0.113.9 is a documentation address
host 203.0.113.9
host <hostname-returned>

# is the IP inside a published list (python3, standard library only)
python3 -I -c "import ipaddress,json,sys; n=[ipaddress.ip_network(p['ipv4Prefix']) for p in json.load(open(sys.argv[1]))['prefixes']]; print(any(ipaddress.ip_address(sys.argv[2]) in x for x in n))" gptbot.json 203.0.113.9
A wall of narrow vertical wooden slats in copper-orange, sharp on the right and blurring toward the left
The IP list is what you check a log line against: the user-agent string alone proves nothing. Photo: Jan Kopřiva / Unsplash · Unsplash License

How common is faking? Reports differ, and none is a sample of your site.

Report Date Sample Finding Limit
Search Engine Journal June 25, 2026 14 days, one new site 33 requests claimed an assistant name and only 6 came from published vendor IPs; 799 claimed Googlebot and 107 verified Author says the sample is small
Fastly Oct 13, 2026 One day (Sept 23, 2026 UTC), Next-Gen WAF logs of Bot Management customers About 6.3 million requests claimed AI crawler identities while probing sensitive files, from about 10,200 IPs; about 1,600 made 94% Fastly’s customers, one day
Cloudflare Aug 4, 2025 Sites that blocked Perplexity’s declared crawlers A second crawler with a generic Chrome user agent and IPs outside Perplexity’s published ranges appeared Cloudflare’s claim; Perplexity’s reply is not on the page I read
Screaming Frog Updated May 19, 2026 None given Says AI user-agent spoofing is currently rare compared with search engine bots No data offered

Fastly’s research centered on requests probing for .env files. It says attackers borrow AI bot names because some sites treat them leniently, and it recommends verifying where traffic comes from rather than trusting what it claims to be. Screaming Frog’s Log File Analyser has a “Verify Bots When Importing Logs” option that checks IPs against publicly confirmed lists, which slows the import. I would not call fakes rare or common as a rate; I would check yours. If Google-Edu, pageburst or Chrome-Lighthouse turn up in your log, which of Google’s 12 newly listed bots you can block shows which Google list each belongs to and which DNS check to run.

What if you have no server log access? #

Start at the CDN, since the edge sees requests your origin never will. On Cloudflare, AI Crawl Control (formerly AI Audit) is documented as available on all plans, lets you monitor and allow or block per crawler, and has a pay-per-crawl private beta. Cloudflare docs.

Its analysis view has Overview, Crawlers and Metrics tabs showing requests over time, status code distribution, content format, top referrers and most popular paths. Referral data is “paid plans only”, you can download a CSV or image, and a GraphQL Analytics API exists. Analyze AI traffic.

Vertical wooden slats in light and dark tones separated by thin black gaps
What a CDN view shows before you open a log: counts and status codes per crawler, without a single grep. Photo: Scott Webb / Unsplash · Unsplash License

For raw lines, Cloudflare’s Logpush availability table lists Free, Pro, Business and Enterprise as available. I did not read the dataset-level terms, so check your own dashboard. Logpush docs.

On Netlify, its page describes Log Drains (Datadog, S3 or an HTTP endpoint) for users on the Enterprise plan and offers help to teams that need to upgrade to get them. Netlify. On a plan without them, I found no way to see crawlers on the evidence I read. Asking the host, or putting a CDN that provides logs in front, is my suggestion, not something that page says.

What should you do with the numbers? #

Split the traffic by purpose, then act on verified hits only. This is my approach, not a legal or vendor rule.

  • Verified search bots (OAI-SearchBot, Claude-SearchBot, PerplexityBot): I would allow them if you want to appear in those assistants’ answers.
  • Training bots (GPTBot, ClaudeBot): a policy call. I would make it after reading your counts, not before.
  • User-fetch bots (ChatGPT-User, Claude-User, Perplexity-User): they act when a person asks. OpenAI and Perplexity document that robots.txt may not apply, so a robots.txt rule will not stop them.
  • Unverified claims of any AI name: I would rate-limit or block them at the edge.

My block AI crawlers guide and robots.txt opt-out guide cover the how. Anthropic warns that blocking by IP may not work correctly or persistently guarantee an opt-out, so use robots.txt where a bot honors it. On Cloudflare, see what its crawler categories mean, and for proving who a bot is, Web Bot Auth.

If I were doing this on my own server, I would pull a week of logs, count the nine tokens, then look at status codes and the busiest IPs per bot. Anything claiming GPTBot or ClaudeBot from outside the vendor’s list gets limited, verified search bots stay, and the training decision waits for the numbers.

What could I not check? #

Everything that needs a real log. I cannot tell you how many AI hits your site gets, whether the commands fit your log_format, or what Perplexity’s JSON files contain. The only community voice I found is one OpenAI forum thread.

FAQ

Can Google Analytics show AI crawler hits?

No. Netlify says GA4 filters out bot traffic by design and Search Console only shows Googlebot activity, and points to server-level logs instead. Use your CDN's dashboard or the access log.

Which user agents should I search for?

Start with GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User and CCBot. Google-Extended is a robots.txt token only and never appears as a user agent in logs. My AI crawler user agents guide has the full list.

How do I know a GPTBot hit is real?

Check the source IP against OpenAI's published list at openai.com/gptbot.json. The user agent string alone is a claim, and two 2026 reports found many claimed-AI requests came from addresses outside the vendors' published ranges.

Does ChatGPT-User obey robots.txt?

OpenAI's bots page says robots.txt rules may not apply to ChatGPT-User, because a person asked for the fetch. If you need to stop it, plan for an edge rule instead of relying on robots.txt.

Does Perplexity-User obey robots.txt?

Perplexity's docs say that since a user requested the fetch, this fetcher generally ignores robots.txt rules. Its search crawler PerplexityBot is documented separately, and the page I read does not state its robots.txt behavior.

Does Anthropic publish its IP ranges?

Yes. Anthropic's support page points to claude.com/crawling/bots.json and says a source IP on that list indicates the crawler is coming from Anthropic. It also says its bots honor robots.txt.

Why do I see no hits although I expect them?

A firewall or CDN rule may block the request before it reaches your origin, so it never appears in Apache or nginx logs. Oncrawl describes this, and it is why I would check the edge first.

Will blocking by IP work?

Anthropic warns that blocking by IP may not work correctly or persistently guarantee an opt-out. For robots.txt-respecting bots, a robots.txt rule is the documented route, and an edge rule is the option for fetchers that ignore it.

Sources

20 sources, accessed .

Official pricing, docs, changelogs and status pages 12

  1. OpenAI docs: bots (OAI-SearchBot, GPTBot, ChatGPT-User) developers.openai.com · accessed
  2. OpenAI: gptbot.json published IP prefixes openai.com · accessed
  3. Anthropic support: does Anthropic crawl data from the web support.claude.com · accessed
  4. Anthropic: bots.json published IP prefixes claude.com · accessed
  5. Perplexity docs: PerplexityBot and Perplexity-User docs.perplexity.ai · accessed
  6. Google Search Central: verifying Googlebot and other Google crawlers developers.google.com · accessed
  7. Google: common crawlers (Google-Extended and Google-CloudVertexBot) developers.google.com · accessed
  8. nginx docs: ngx_http_log_module nginx.org · accessed
  9. Apache HTTP Server docs: log files httpd.apache.org · accessed
  10. Cloudflare docs: AI Crawl Control developers.cloudflare.com · accessed
  11. Cloudflare docs: analyze AI traffic developers.cloudflare.com · accessed
  12. Cloudflare docs: Logpush developers.cloudflare.com · accessed

Community discussions 1

  1. OpenAI Developer Community: GPTBot makes over 10,000 requests to my website community.openai.com · accessed

News and press 1

  1. Search Engine Journal: my AI assistant traffic was fake (June 25, 2026) searchenginejournal.com · accessed

Last updated November 24, 2026. Researched and drafted with AI tools; editorial review by the site owner is pending.

What readers say

Used one of the tools in this guide? Tell other readers how it went. I read every review before it goes up, and I never turn one down for being negative. How reviews work.

No reader reviews yet. Yours could be the first.

Write a review
Your rating

What did you use it for, what worked, and what didn't? 30 to 1500 characters. Please don't include links.

Your connection to the company

Your review appears with the name you enter, after I approve it. I don't ask for your email. Privacy.