robots.txt token
- AhrefsBot
- AhrefsBot
- AhrefsSiteAudit
- AhrefsSiteAudit
AhrefsBot is Ahrefs' crawler for its link database and the Yep search engine. Exact user agent, robots.txt rules, crawl-delay limits and how to verify it.
AhrefsBotMozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)AhrefsBot is the main crawler Ahrefs runs. It powers the database behind Ahrefs and the Yep search engine. Ahrefs says it obeys robots.txt, including Crawl-Delay, so User-agent: AhrefsBot with Disallow: / blocks it. A second bot, AhrefsSiteAudit, has its own token.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Each bot has its own robots.txt token, so a group that names AhrefsBot does not name AhrefsSiteAudit. To keep both out, address both tokens. Ahrefs says AhrefsSiteAudit limits itself to 30 URLs per minute at most, and owners who verify their site in Site Audit can crawl it faster.
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)Mozilla/5.0 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/site-audit)Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.173 Mobile Safari/537.36 (compatible; AhrefsSiteAudit/6.1; +http://ahrefs.com/robot/site-audit)User-agent: AhrefsBot
Disallow: /path-to-disallow/User-agent: AhrefsBot
Disallow: /The last block is the same Disallow syntax with a root path, per RFC 9309. Ahrefs warns of two gotchas. AhrefsBot may need some time to pick up changes, which happens before its next scheduled crawl. And if your robots.txt contains errors, its bots can't recognize your commands and will keep crawling the way they did before.
User-agent: AhrefsBot
Crawl-Delay: [value]Ahrefs says you can pull its IP addresses "as IP ranges or Individual IPs", and that the reverse DNS suffix of the IP's hostname is always ahrefs.com or ahrefs.net. The user agent alone proves nothing, because anyone can send it. Ahrefs also says both bots are recognized as verified "good" bots by Cloudflare.
host 203.0.113.10
# expect a hostname ending in ahrefs.com or ahrefs.netThe IP in that command is a documentation placeholder. Use an address from your own logs, and compare it with the ranges in Ahrefs' JSON list at https://api.ahrefs.com/v3/public/crawler-ip-ranges (individual IPs are at https://api.ahrefs.com/v3/public/crawler-ips). Ahrefs asks you to email support@ahrefs.com if you see suspicious traffic you want to confirm. For traffic you can't tie to any operator, see bad bots and good bots.
Ahrefs says returning 4xx or 5xx status codes during an outage makes the bot detect the errors and back off automatically. Blocking AhrefsBot says nothing about Google or Bing; their crawlers are separate. See Googlebot and compare other SEO tool crawlers in the SEO bots guide.
Other SEO tool crawlers: SemrushBot.
5 questions people ask next, answered from the sources on this page.
It is the web crawler Ahrefs uses to power the database behind Ahrefs and the Yep search engine.
Yes. Ahrefs says both AhrefsBot and AhrefsSiteAudit strictly respect Disallow and Allow rules and Crawl-Delay, with the JavaScript-rendering limit noted above.
Add a group with User-agent: AhrefsBot and Disallow: / to your robots.txt. Use AhrefsSiteAudit as a separate token for the Site Audit crawler.
Check the IP against the ranges Ahrefs publishes, or run a reverse lookup and confirm the hostname ends in ahrefs.com or ahrefs.net.
Ahrefs says Cloudflare recognizes it as a verified good bot and that it obeys robots.txt. Whether it is wanted on your site is your call.
The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.