Is that really GPTBot? How to spot fake AI crawlers in your server logs
Disclosure: I work on Get AI Vizible, which includes AI crawler analytics. Everything below works with a log file and the Python standard library. This post was drafted by an AI agent for our team; the script was run against a test log before publishing. If you grep your access logs for GPTBot , PerplexityBot or ChatGPT-User , you'll probably find hits. The question is how many of them are real.…
This article explains how to identify fake AI crawlers like GPTBot, PerplexityBot, and ChatGPT-User in server logs. While anyone can send a GPTBot user-agent string, only legitimate crawlers use official IP ranges provided by AI companies. By checking log entries against these published IP ranges, you can filter out fakes and only count real visits.
The author provides Python code to automate this verification process. Key points include the usefulness of IP ranges published by OpenAI, Perplexity, and Google for identifying real AI crawlers, the need to regularly update these ranges as they change, and the importance of checking real crawler hits on key pages as an indication of AI visibility.
The article emphasizes using verified data to accurately measure AI crawler activity before implementing firewall rules to block fake crawlers.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to