Ahrefs Bot IP Addresses — Verify AhrefsBot Crawler IPs

Check if an IP address belongs to Ahrefs' web crawler (AhrefsBot). Verify bot traffic from your server logs instantly.

Known AhrefsBot IP Ranges

AhrefsBot operates from the following CIDR blocks. These ranges are used by the crawler to access and index web pages for the Ahrefs SEO toolset.

CIDR BlockIP Range
54.36.148.0/2454.36.148.0 – 54.36.148.255
54.36.149.0/2454.36.149.0 – 54.36.149.255
54.36.150.0/2454.36.150.0 – 54.36.150.255
195.154.122.0/24195.154.122.0 – 195.154.122.255
195.154.123.0/24195.154.123.0 – 195.154.123.255
62.210.244.0/2462.210.244.0 – 62.210.244.255
51.222.253.0/2451.222.253.0 – 51.222.253.255
51.222.252.0/2451.222.252.0 – 51.222.252.255
204.236.202.0/24204.236.202.0 – 204.236.202.255
54.173.70.0/2454.173.70.0 – 54.173.70.255

What Is AhrefsBot?

AhrefsBot is the web crawler that powers Ahrefs, one of the most widely used SEO toolsets. It continuously crawls the internet to build and maintain the Ahrefs link index, which contains data on backlinks, referring domains, organic keywords, and more.

AhrefsBot is one of the most active crawlers on the web. It discovers new pages, follows links, and re-crawls known pages to keep its index fresh. Website owners and SEO professionals rely on the data it collects to analyze backlink profiles, track keyword rankings, and audit site health.

Common User-Agent String

When AhrefsBot visits your site, it identifies itself with the following User-Agent header:

Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)

You can look for this string in your server access logs (e.g., Apache or Nginx logs) to identify AhrefsBot requests.

How to Verify AhrefsBot via DNS Reverse Lookup

Matching an IP against known ranges is a quick check, but for definitive verification you can perform a DNS reverse lookup. This confirms that the IP genuinely resolves to an Ahrefs-owned hostname.

Run the following command in your terminal:

host 54.36.148.100

If the IP belongs to AhrefsBot, the reverse DNS should resolve to a hostname under the ahrefs.com domain. Then confirm with a forward lookup:

host <returned-hostname>

If the forward lookup returns the same IP, the bot is verified as legitimate. If the reverse DNS does not point to an Ahrefs domain, the request may be from an impersonator spoofing the AhrefsBot User-Agent.

Managing AhrefsBot via robots.txt

If AhrefsBot is consuming too many server resources or you simply do not want your site crawled by Ahrefs, you can block or throttle it using your robots.txt file.

Block AhrefsBot entirely:

User-agent: AhrefsBot
Disallow: /

Block AhrefsBot from specific directories:

User-agent: AhrefsBot
Disallow: /admin/
Disallow: /private/
Disallow: /tmp/

Slow down the crawl rate:

User-agent: AhrefsBot
Crawl-delay: 10

You can also adjust AhrefsBot's crawl rate directly from the Ahrefs Webmaster Tools dashboard if you have a verified site there.

Important: Blocking AhrefsBot means your site will not appear in Ahrefs' backlink index. Other SEO professionals will not be able to see your link data in Ahrefs, which may reduce inbound link-building outreach to your site.

Want AI-generated blog content that ranks? Try Autorank free.

Get Started Free →

All Free SEO Tools

More free tools to help with your SEO workflow.