Intermediate
Advanced

How to Tell a Real ChatGPT Visit From a Fake One

User agents are free to fake, and scrapers fake the AI ones because firewalls let them through. Here's how to check every AI bot visit against the vendor's own IP list.

The Renown Team
15 minutes

In one week on our own site, 26 of the 49 requests calling themselves ChatGPT-User came from IP addresses OpenAI does not use. All 12 calling themselves Claude-User were fake. The full log is in what AI bots did on our website in a week.

That matters for two reasons. ChatGPT-User and Claude-User are the visits people care about most, because each one means a person asked an assistant about your page. Count them by user agent and you may double the number. And scrapers borrow those names on purpose: plenty of firewalls and bot rules let AI assistants through.

The fix is simple, because the vendors that matter publish where their bots come from.

Checking a bot request

Three questions, one JSON file

The vendors whose bots matter publish the IP ranges they use. Check the address, not the name.

Source: Vendor IP-range files and reverse-DNS rules as published by OpenAI, Anthropic, Google, Perplexity and Microsoft, checked 3 Dec 2026.

Where the lists are

Each of these is a JSON file listing the IP ranges the bot uses. They all share one format, a prefixes array of ipv4Prefix or ipv6Prefix entries, so one script reads them all.

BotWhat it isIP list
ChatGPT-UserChatGPT opening a page for a personhttps://openai.com/chatgpt-user.json
OAI-SearchBotDecides what appears in ChatGPT searchhttps://openai.com/searchbot.json
GPTBotOpenAI's training crawlerhttps://openai.com/gptbot.json
ClaudeBot, Claude-User, Claude-SearchBotAnthropic's crawlers and user fetcheshttps://claude.com/crawling/bots.json
PerplexityBotPerplexity's search crawlerhttps://www.perplexity.ai/perplexitybot.json
Perplexity-UserPerplexity fetching for a personhttps://www.perplexity.ai/perplexity-user.json
Googlebot and Google's other crawlersGoogle Search and related fetchershttps://developers.google.com/static/crawling/ipranges/common-crawlers.json
BingbotBing search, behind Copilothttps://www.bing.com/toolbox/bingbot.json

Meta publishes no IP list for Meta-WebIndexer or Meta-ExternalAgent, and neither do most smaller crawlers. Their traffic cannot be verified this way. Count it, but label it unverified.

The lists change. OpenAI's ChatGPT-User file we fetched on 3 December 2026 had been regenerated on 25 November. Fetch them fresh, or cache them for a day at most.

Check one address

For a single IP, the AI bot IP verifier does this in the browser against the same vendor lists.

Check a log file

This Python script uses only the standard library. Give it a bot name and an IP:

import ipaddress, json, sys, urllib.request

RANGES = {
    "ChatGPT-User": "https://openai.com/chatgpt-user.json",
    "OAI-SearchBot": "https://openai.com/searchbot.json",
    "GPTBot": "https://openai.com/gptbot.json",
    "Claude": "https://claude.com/crawling/bots.json",
    "PerplexityBot": "https://www.perplexity.ai/perplexitybot.json",
    "Perplexity-User": "https://www.perplexity.ai/perplexity-user.json",
    "Googlebot": "https://developers.google.com/static/crawling/ipranges/common-crawlers.json",
    "Bingbot": "https://www.bing.com/toolbox/bingbot.json",
}

def load(url):
    req = urllib.request.Request(url, headers={"User-Agent": "bot-ip-check"})
    with urllib.request.urlopen(req, timeout=20) as r:
        data = json.load(r)
    return [ipaddress.ip_network(p.get("ipv4Prefix") or p.get("ipv6Prefix"))
            for p in data["prefixes"]]

def verify(bot, ip):
    addr = ipaddress.ip_address(ip)
    return any(addr in net for net in load(RANGES[bot]))

if __name__ == "__main__":
    bot, ip = sys.argv[1], sys.argv[2]
    print(f"{ip} claiming {bot}:", "real" if verify(bot, ip) else "NOT from the published ranges")

Save it as verify_bot.py. Then, for an nginx or Apache access log in the usual combined format, check every distinct address that claimed to be ChatGPT-User:

grep 'ChatGPT-User' access.log | awk '{print $1}' | sort -u \
  | xargs -n1 python3 verify_bot.py ChatGPT-User

We ran it against the live lists on 3 December 2026: an address inside OpenAI's published ChatGPT-User range came back real, and 8.8.8.8 came back as not from the published ranges. For a large log, load each list once rather than once per address; the script keeps it simple on purpose.

Behind Cloudflare or another proxy, the first field in your log is the proxy's address, not the visitor's. Log the forwarded client IP (on Cloudflare, CF-Connecting-IP) and check that instead.

Google and Bing: reverse DNS works too

Google and Microsoft also support the older check. Look up the host name for the IP, confirm it ends in googlebot.com or google.com (Google) or search.msn.com (Bing), then look the host name up again and confirm it returns the same IP. On Linux:

host 66.249.66.1
host crawl-66-249-66-1.googlebot.com

The IP list is quicker for bulk checks. Reverse DNS is handy when you are reading one suspicious line.

What to do with the fakes

  • Report them separately. "AI assistant visits" in a dashboard should mean verified ones. Anything else is a guess dressed as a number.
  • Rate-limit by verification, not by name. A rule that waves through anything saying ChatGPT-User is a rule for scrapers. Let verified ranges in; treat the rest like any other unknown client.
  • Don't block the real ones by accident. OpenAI says ChatGPT-User acts on a person's request, and that robots.txt rules may not apply to it. Blocking its IPs at the firewall stops ChatGPT from reading your page for someone who asked. For what each AI bot does and what blocking it costs, see the AI crawler directory.
  • Frequently asked questions

    How do I know if a ChatGPT bot visit is real?

    Check the request's IP address against OpenAI's published list for that bot, for example https://openai.com/chatgpt-user.json for ChatGPT-User. If the address is outside every listed range, the request did not come from OpenAI, whatever the user agent says.

    Do scrapers really pretend to be ChatGPT?

    Yes. On tryrenown.com, in the week of 26 November 2026, 26 of 49 requests claiming to be ChatGPT-User and all 12 claiming to be Claude-User came from outside the vendors' published IP ranges.

    Can I verify Meta's AI crawler?

    Not by IP. Meta publishes no IP list for Meta-WebIndexer or Meta-ExternalAgent, so their requests can be counted but not verified.

    Does robots.txt apply to ChatGPT-User?

    OpenAI says that because ChatGPT-User acts on a user's request, robots.txt rules may not apply. OAI-SearchBot and GPTBot follow robots.txt.

    ai crawlers
    chatgpt-user
    bot verification
    server logs
    security
    analytics
    Back to all guides

    Find out what AI thinks of your business

    Warning: may cause existential crisis.

    Rather talk it through? Contact us.