Ahrefs · Other
AhrefsBot
Identify AhrefsBot by its user agent. Check request identity, review robots.txt controls and track visits in Aiola Analytics.
Key facts
AhrefsBotWhat AhrefsBot is
AhrefsBot crawls the web for the Ahrefs SEO link index and for Yep, the search engine Ahrefs runs. Ahrefs says it obeys robots.txt and Crawl-delay, publishes its IP ranges, and uses reverse DNS ending in ahrefs.com or ahrefs.net. Its sister crawler AhrefsSiteAudit runs Site Audit checks. Ahrefs does not describe it as an AI training crawler.
In Aiola's taxonomy, Other means advertising, link previews, content-use controls and other automation.
AhrefsBot user agent
Look for the match token inside the complete HTTP User-Agent header. Tokens can be spoofed, so use the network checks below for authentication.
Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)AhrefsBotOfficial IP ranges
Ahrefs publishes an official IP range list. This cached snapshot contains 81 CIDR prefixes, last fetched 2026-11-29. Open the live source
5.39.1.224/27
5.39.109.160/27
15.235.27.0/24
15.235.96.0/24
15.235.98.0/24
37.59.204.128/27
51.68.247.192/27
51.75.236.128/27
51.81.103.240/28
51.81.104.32/28
51.81.105.16/28
51.81.110.16/28
51.81.110.48/28
51.81.110.80/28
51.81.111.0/28
51.81.111.64/28
51.81.111.112/28
51.81.111.128/28
51.81.163.16/28
51.81.163.48/28
51.81.163.64/28
51.81.164.144/28
51.81.164.192/28
51.81.165.80/28
51.81.165.208/28
51.81.169.112/28
51.81.169.192/28
51.81.170.0/28
51.89.38.128/28
51.89.39.48/28
51.89.59.32/28
51.89.69.32/28
51.89.69.96/28
51.89.71.80/28
51.89.71.144/28
51.89.72.0/28
51.89.74.192/28
51.89.83.48/28
51.89.129.0/24
51.161.37.0/24
51.161.65.0/24
51.195.183.0/24
51.195.215.0/24
51.195.244.0/24
51.222.95.0/24
51.222.168.0/24
51.222.253.0/26
54.36.148.0/23
54.37.118.64/27
54.38.147.0/24
54.39.0.0/24
54.39.6.0/24
54.39.89.0/24
54.39.136.0/24
54.39.203.0/24
54.39.210.0/24
92.222.104.192/27
92.222.108.96/27
94.23.188.192/27
142.44.220.0/24
142.44.225.0/24
142.44.228.0/24
142.44.233.0/24
148.113.128.0/24
148.113.130.0/24
167.114.139.0/24
168.100.149.0/24
176.31.139.0/27
198.244.168.0/24
198.244.183.0/24
198.244.186.193/32
198.244.186.194/31
198.244.186.196/30
198.244.186.200/31
198.244.186.202/32
198.244.226.0/24
198.244.240.0/24
198.244.242.0/24
202.8.40.0/22
202.94.84.110/31
202.94.84.112/31Verify a AhrefsBot request
For AhrefsBot, compare the source IP from your trusted edge or server against Ahrefs’s current published prefixes.
python3 -c 'import ipaddress; print(ipaddress.ip_address("REQUEST_IP") in ipaddress.ip_network("5.39.1.224/27"))'Test every current prefix in the vendor feed and re-fetch it regularly. This cached snapshot is evidence of publication, not a permanent firewall list.
Control AhrefsBot with robots.txt
Ahrefs documents crawler controls for this bot family. Robots.txt can direct cooperative crawling, but it cannot prove that a request is authentic.
User-agent: AhrefsBot
Allow: /User-agent: AhrefsBot
Disallow: /Aiola Analytics
See every AhrefsBot visit on your site
Aiola tracks 124 AI, search and link-preview crawlers next to your human traffic, revenue and errors. See when AhrefsBot arrives, which pages it requests and which requests fail. Then ask a coding agent in the same app to fix those pages. Track AhrefsBot visits with AI crawler analytics.

Common questions
Everything your agents need, in one app
Errors, user feedback, GitHub and analytics live next to your coding agents. Every issue becomes a task an agent can take.