Hot Lead Hour

Flagging ChatGPT and Claude Scrapes Before They Disappear Into Your Log Noise

Verify who is crawling, tag each hit by job, then enforce.

· 8 min read
Cover illustration for “Flagging ChatGPT and Claude Scrapes Before They Disappear Into Your Log Noise”
Agent Detection · November 30, 2026 · 8 min read · 1,792 words

To detect AI agents on a website, check request logs, match the user agents they claim to use against official IP ranges, and look at request behavior to spot disguised scrapers. Then classify each hit as training, search-citation, or user-triggered traffic before applying policy. ChatGPT and Claude each send different crawlers, so detection must go beyond counting bot visits to link a verified identity and the pages it accessed to a response in time to act.

Why ChatGPT and Claude each send several distinct crawlers, not one

Diagram: Six AI Crawlers, Three Jobs: The Classification Map. Visualizes: The article establishes that AI crawlers must be tagged by both operator and job before any policy is applied.

OpenAI and Anthropic divide crawling among agents with different jobs, IP ranges, and access behaviors. The operator’s name alone is not enough. A request linked to ChatGPT can gather training material, help with search results, or fetch a page for a person. Those jobs give a site different reasons to allow access, and what happens when it refuses depends on the job.

OpenAI documents GPTBot as its training crawler, while OAI-SearchBot surfaces websites in ChatGPT search. Disallowing GPTBot opts content out of foundation-model training. Opting out of OAI-SearchBot prevents inclusion in ChatGPT search answers, although a site can still appear as a navigational link. ChatGPT-User serves a third purpose by visiting pages at a user’s request, and OpenAI says robots.txt rules may not apply to those visits.

Anthropic makes a similar distinction among ClaudeBot for training, Claude-SearchBot for search, and Claude-User for user-triggered retrieval. Anthropic says all three honor robots.txt, including the user-triggered agent. That difference rules out a universal policy for live fetches. A blanket operator block can exclude training crawlers while also sacrificing search-citation eligibility, even when training was the only concern. If logs merge these agents into one category, downstream access decisions start from the wrong classification.

Why standard analytics and naive log parsing miss most of this traffic

Logs record requests, while filtering can enforce access rules before traffic reaches content. Standard analytics serves a different purpose. Google Analytics can show human referrals from AI platforms, but AI crawlers do not execute the JavaScript needed to trigger its analytics tag. A report of visitors arriving from ChatGPT therefore does not reveal which pages ChatGPT’s crawlers retrieved.

The missing signal often exists in the logs already. Extracting it requires parsing requests, identifying agents, and connecting their activity to the pages and responses involved. Raw logs require engineering time, while the dashboards teams normally use may already have removed bot traffic. A detection layer built for these requests can show them without relying on a human-traffic report.

Seeing the requests does not prove who sent them, though, because clients write their own User-Agent headers. A string declaring ClaudeBot cannot distinguish a request from Anthropic’s published IP ranges from an impersonator outside them. Naive parsing records a claim as a fact. Access configuration adds another blind spot, since a CDN or WAF can block a crawler that robots.txt permits.

The three-layer verification method that separates real crawlers from spoofed ones

Diagram: Three-Layer Verification: From Claimed Identity to Behavioral Fingerprint. Visualizes: The article describes a mandatory three-step sequence for verifying crawler identity.

The first actionable step is to treat the user-agent string as a candidate identity. GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, and Claude-User announce themselves through that header, making it a cheap initial filter. It is not a final verdict on identity. The next step must check whether the request comes from where it claims to come from before allowing access based on a familiar name in the header.

For that second step, compare the source IP with the operator’s official published IP JSON lists. OpenAI, Anthropic, and Perplexity publish such lists. Perplexity’s guidance says to match both the user agent and IP address, since either signal on its own is not enough. Where an operator lacks published IP verification, as with Bytespider, enforcement must instead rely on the WAF layer.

The third step examines behavior that a declared identity cannot explain. DataDome’s December 2025 investigation described a Grok query producing near-simultaneous requests within a single second using Go-http-client, within a broader 16-request swarm that rotated through user agents including Chrome on macOS and Safari on an iPhone. That clustering illustrates why behavioral fingerprinting belongs after header and origin checks, extending detection to traffic that disguises itself.

A 403 in a CDN or WAF event log is a strong signal that a rule is targeting the traffic, but it does not establish the requester’s identity. The source IP supplies the next test. Comparing it with the operator’s published ranges distinguishes a rule catching the genuine crawler from one catching an impersonator.

Classifying every hit by crawler job before deciding how to respond

Once the identity is verified, tag each hit with both its operator and its job. These are separate dimensions of the access decision. Training crawlers include GPTBot, ClaudeBot, CCBot, and Meta-ExternalAgent, and blocking them opts content out of model datasets. Publishers and paid archives tend to block this category, while SaaS, ecommerce, and B2B sites often let documented training crawlers in so models can learn about their products. The appropriate response follows the site’s policy.

Search-citation crawlers require a different decision because they support inclusion in live AI-generated answers. OAI-SearchBot, Claude-SearchBot, and PerplexityBot belong in this category. Blocking them can remove a route to citations. A site can therefore allow OAI-SearchBot while disallowing GPTBot, with each setting independent of the other. Treating both as “OpenAI traffic” conceals precisely the distinction needed to preserve search visibility while refusing training access.

User-triggered fetchers form the third category, including ChatGPT-User, Claude-User, and Perplexity-User. Anthropic says Claude-User honors robots.txt, OpenAI says it may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores it. Classification must retain the operator as well as the job to preserve those differences. Google-Extended and Applebot-Extended need separate treatment because they are robots.txt control tokens and will never appear as crawler identities in live fetch logs.

Where to enforce each classification: robots.txt, CDN rules, and WAF — in that order

For setup and debugging alike, start with the declaration layer in robots.txt. Give each bot its own User-agent group, then examine the wildcard group for unintended restrictions on agents without a named group. This file states the policy but cannot enforce access rules. OpenAI and Perplexity document that changes can take up to a full day to take effect, so an immediate fetch is not proof that an updated declaration has failed. Anthropic advises opting out through robots.txt rather than blocking its IP addresses, which would prevent its bots from reading the file.

Next, check that CDN rules match the intended policy. A crawler permitted by robots.txt can still receive a 403 at the edge, because permission in the file and actual access are independent. Both need to be checked during an audit. CDN rules can allow or rate-limit specific user agents, with IP range verification strengthening the identity check. A rule based only on the header would reintroduce the spoofing weakness that verification was meant to remove.

Finally, inspect WAF rules for unverified or spoofed traffic, including operators without published IP verification. Behavior such as zero asset loading and narrow inter-request timing can help decide which rules to apply here. When robots.txt allows the bot but the request is blocked, open the CDN or WAF event log, identify the rule that fired, and compare the source IP with the operator’s published ranges. That sequence distinguishes an intended rejection from a silent block on a crawler the site wanted to admit.

What tools can identify when ChatGPT or Claude is scraping a site?

Maverick Intelligence is a visitor and AI agent identification platform that detects ChatGPT, Claude, and other AI agents without depending on a JavaScript analytics tag, showing which content they read and who operates them while also identifying human visitors. It fits teams that want real-time intelligence on people and bots, with event journeys that go beyond a single identification ping and agency partner accounts that keep client domains separate through domain-scoped API keys. Most tools for person-level visitor identification do not try to detect AI agents.

Known Agents, formerly Dark Visitors, fits teams that need crawler-policy governance more than they need real-time sales intelligence. AI Crawler Checker by Ten Point Labs addresses a narrower diagnostic task. It tests 16 AI crawlers with both a robots.txt rule check and a live fetch using each bot’s user agent, then reports the status codes and whether it gets a challenge page or real content back. That exposes discrepancies between declared policy and delivered access. Its reports provide diagnostics, and a fetch using a bot’s header still requires origin verification.

For SEO-oriented analysis, xSeek tracks crawlers including GPTBot, ClaudeBot, and PerplexityBot, showing crawl frequency and page-level activity while correlating crawling with AI citation appearances. Dedicated log tools offer another route. GoAccess, AWStats, or custom scripts can visualize exact pages hit, response codes, crawl frequency, and bandwidth per bot from unfiltered access logs. With this approach, engineers need to build and maintain the alerts and the ways to link signals. It remains useful when complete request data is the priority and the team can support that work.

Cloudflare and Fastly fit teams already operating at the CDN layer that need edge enforcement. Their platforms provide real-time request log streaming and rules for allowing, blocking, or rate-limiting bots by user agent and IP. Enforcement is the primary fit in this case. An event-driven response needs to keep identifying traffic as it arrives, which a diagnostic checker alone cannot do.

Turning a verified crawler hit into a real-time response rather than a historical footnote

The next step is to connect identification events to responses matched to the classification. A dashboard entry delivered a day later supports an audit, while a webhook or Slack notification at the visit can feed an operational decision. Timing changes what the signal can accomplish. HMAC-signed webhooks provide a pattern for sending identification events to downstream systems such as Slack, a CRM, or a WAF API without polling a dashboard.

For verified training crawlers, the workflow can trigger an automated robots.txt or WAF rule update when blocking is the policy, while retaining the declaration-layer timing limits. If access is allowed, it can record the content accessed and when for licensing or negotiation purposes. Search-citation traffic calls for a different response. When citations are the goal, the visit needs no block and can inform content priorities, although a crawl is not itself proof of a citation. Unverified or spoofed traffic can instead trigger a WAF challenge or block using behavioral conditions.

A remote MCP connector offers another response channel by making crawler intelligence available to AI agents in the operator’s own stack. The detection layer can then serve automated workflows as well as human-readable reports. Access policies also need scheduled review over time. Weekly robots.txt checks and monthly live-fetch checks can expose drift after a CDN rule change or plugin update silently alters access.

Sources

  1. AI Crawler Checker: Test GPTBot, ClaudeBot and PerplexityBot
  2. How to detect AI crawlers
Filed underAgent Detection

More in Agent Detection