# What is AhrefsBot, and should you allow it?

> For the complete documentation index, see [llms.txt](https://attensira.com/llms.txt).
> Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.

> AhrefsBot builds the Ahrefs link index and the Yep search engine. Not an AI crawler. How it compares with SemrushBot, and why attensira.com blocks both.

- Canonical page: https://attensira.com/bots/ahrefsbot
- Family: bots
- Last updated: 2026-10-04
- Author: Karl-Gustav Kallasmaa (https://attensira.com/about)
- Claims as data: https://attensira.com/claims.json?slug=ahrefsbot

**In short:** AhrefsBot is the crawler that builds the Ahrefs link database and the Yep search engine's index. It is not an AI crawler: allowing or blocking it changes what Ahrefs subscribers can see about your backlinks, not what AI answers say about you. Block it to keep your link data out; slow it with Crawl-Delay if load is the issue.

AI traffic on attensira.com, 30 days to 2026-10-04 (Attensira AI traffic board, n=143,601 requests): AhrefsBot is not counted: the board files it as conventional traffic, off its AI view. User agents as sent, not checked against address lists.

The other SEO crawlers, with attensira.com's rule for each:

- AhrefsSiteAudit: No named group
- Google-InspectionTool: Follows Googlebot
- MJ12bot: No named group
- rogerbot: No named group
- Screaming Frog SEO Spider: No named group
- SemrushBot: Blocked site-wide
- DataForSeoBot: No named group
- dotbot: No named group

## How do I allow or block AhrefsBot in robots.txt?

Paste this into the robots.txt at the root of your domain.

```
# Keep Ahrefs' link crawler out of the whole site.
User-agent: AhrefsBot
Disallow: /

# Or slow it down instead of blocking it.
# User-agent: AhrefsBot
# Crawl-Delay: 10
```

We name AhrefsBot and disallow the whole site. Nothing else in the file changes for it.

```
User-agent: AhrefsBot
Disallow: /
```

## Who runs AhrefsBot, and what is it for?

- robots.txt token: `AhrefsBot`
- Operator: Ahrefs (https://ahrefs.com)
- What the fetch is for: Product operations. Builds the Ahrefs link database and the index of Yep, Ahrefs' own search engine. Ahrefs describes no AI assistant it feeds, so a rule here decides what Ahrefs subscribers and Yep see, not what AI answers say.
- robots.txt: Operator states it respects robots.txt
- Operator documentation: https://ahrefs.com/robot (read 2026-09-03)

## Does AhrefsBot affect your AI visibility?

No. AhrefsBot is on a different axis entirely. Ahrefs documents it as powering the database for both Ahrefs, a marketing intelligence platform, and Yep, an independent, privacy-focused search engine ([Ahrefs](#claim-ahrefsbot-purpose)). Nothing it collects is described as going into a model's training corpus, and nothing it collects puts your URL next to an answer in an assistant.

So the decision is commercial. Allowing it keeps your backlink profile visible to every Ahrefs subscriber, including your competitors. Blocking it removes you from that dataset. The Yep index means AhrefsBot could in principle send a human to your site; in practice the decision people make is about the database. If you came here from a question about ChatGPT or AI Overviews, this crawler does not change the answer.

## Why does attensira.com block AhrefsBot?

Because we would rather state our position than pretend to neutrality. attensira.com's robots.txt disallows `AhrefsBot`, `SemrushBot` and `CCBot`. The comment in our source code gives the reason for the first two plainly: they crawl us to sell our data back to competitors.

That is a commercial preference, not a recommendation. Everywhere else in this directory we argue for allowing the crawlers that can cite you and being deliberate about the ones that only train on you. AhrefsBot is neither. Blocking it is a choice about who may package our link profile as a product. Many publishers reasonably choose the other way, because being visible in the tools their partners and agencies use is worth more to them than the data.

## Should you block AhrefsBot or just slow it down?

It depends on what the objection is. Ahrefs states that AhrefsBot obeys robots.txt and obeys crawl delay ([Ahrefs](#claim-ahrefsbot-robots)). That turns a binary into a dial.

- **The objection is the data.** Block it. The robots.txt block above disallows the whole site.

- **The objection is load.** The site stays up but response times climb when Ahrefs crawls. Use the commented `Crawl-Delay` variant in the same block instead. A full block is an overreaction that also hides your site from your own team's research in the tool.

Write the rule against the right token. [AhrefsSiteAudit](/bots/ahrefssiteaudit) is a separate crawler that only crawls a site when someone with an Ahrefs account audits it ([Ahrefs](#claim-ahrefssiteaudit-purpose)). A group naming `AhrefsBot` leaves it alone, which is how you keep out of the database and still audit your own site.

## How do I verify that a visit really came from AhrefsBot?

A user-agent header is free text, so a log line naming AhrefsBot is a claim until you check it.

Published IP ranges:

- https://api.ahrefs.com/v3/public/crawler-ip-ranges
- https://api.ahrefs.com/v3/public/crawler-ips

Reverse DNS: look up the accessing IP, confirm the hostname ends in one of these, then forward-look-up that hostname and confirm it returns the same IP.

- `ahrefs.com`
- `ahrefs.net`

Ahrefs publishes a CIDR range list, an individual-address list and a reverse DNS suffix (ahrefs.com or ahrefs.net), so you can check one against the other: a range file can be stale between fetches, a reverse lookup is live. Bother, because AhrefsBot is a token many sites allowlist at the CDN, which makes it worth borrowing.

## How is AhrefsBot different from SemrushBot?

They do the same kind of job for two competing platforms. Semrush describes SemrushBot as the software it sends out to discover and collect web data, feeding tools including Backlink Analytics, Site Audit, Backlink Audit and Link Building ([Semrush](#claim-semrushbot-purpose)). The differences are in how much each operator lets you check and control.

| Attribute | AhrefsBot (Ahrefs) | SemrushBot (Semrush) |
| --- | --- | --- |
| Feeds | Ahrefs link database and Yep search | Backlink Analytics and other Semrush tools |
| Robots.txt tokens | AhrefsBot, plus AhrefsSiteAudit for audits | Ten tokens, one per tool (Semrush) |
| Crawl-delay | Obeyed | Supported up to 10 seconds; robots.txt changes may take up to an hour or 100 requests to be seen (Semrush) |
| Verification | IP range list, address list and reverse DNS | No IP list, no reverse DNS suffix; Semrush advises against IP blocking (Semrush) |

The token count is where Semrush rules go wrong. A group naming only `SemrushBot` covers the backlink crawler and leaves other Semrush tools, such as its own site audit bot, untouched. With Ahrefs, two tokens cover the whole operator. And because Semrush publishes no way to verify its crawler, a SemrushBot count in your logs is a count of claims. [SemrushBot](/bots/semrushbot) has its own page.

## How should you match AhrefsBot in logs?

Ahrefs documents the header as `Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)` ([Ahrefs](#claim-ahrefsbot-user-agent)). The `7.0` is a version Ahrefs increments. Match the bare token `AhrefsBot`, case-insensitively; a rule pinned to `AhrefsBot/7.0` stops matching on the day version 8 ships.

## What can Attensira show you about AhrefsBot?

Mostly that it is not part of your AI picture. AI traffic, on Growth and Business, groups crawler fetches by operator and declared purpose at the edge, so SEO-tool crawlers sit apart from the AI agents that affect answers. It reports user agents as sent. What AI engines say about you is read in the answers themselves, every day. See [crawler logs](/features/crawler-logs) and the [robots.txt generator](/tools/robots-generator).

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

Carries a version the operator increments; check the operator's page before relying on the exact string.

## Should I allow AhrefsBot in my situation?

- **Your bandwidth bill jumped and the logs are full of a token you do not recognise.** Verify the addresses against Ahrefs' published ranges before you write any rule. Ahrefs publishes its crawler addresses at two endpoints and states that the reverse DNS hostname always ends in ahrefs.com or ahrefs.net. If the addresses do not match, you are looking at a scraper wearing the name of a bot that obeys robots.txt — and the robots.txt rule you were about to write would have had no effect on it.

- **You want to keep your backlink profile out of a competitor's research tool, but you still want to audit your own site with Ahrefs.** Disallow AhrefsBot and leave AhrefsSiteAudit allowed. These are two separate tokens with two separate documented jobs. AhrefsBot builds the shared link database; AhrefsSiteAudit powers the Site Audit tool that a site owner runs against their own site. Blocking the first and allowing the second is a coherent position and takes two robots.txt groups.

- **The crawl is not the problem, the rate is — the site stays up but response times climb whenever Ahrefs runs.** Set a crawl-delay for AhrefsBot rather than disallowing it. Ahrefs states that AhrefsBot obeys crawl-delay. That makes the rate a negotiable parameter rather than an all-or-nothing decision, and it is a strictly better answer than a block if your objection was load rather than data collection.

## FAQ

### Is AhrefsBot an AI crawler?

No. Nothing in Ahrefs' description says it feeds model training or an AI assistant's answers. It builds a link database for a marketing platform and an index for the Yep search engine.

### Does AhrefsBot respect robots.txt and Crawl-delay?

Ahrefs states that AhrefsBot obeys robots.txt and obeys crawl delay. That makes it a dial, not a switch - if the problem is load rather than data, a Crawl-Delay group slows it without removing you from the tool.

### What is the difference between AhrefsBot and SemrushBot?

Both feed commercial SEO databases and both can be blocked by name. Ahrefs publishes IP ranges and a reverse DNS suffix, so AhrefsBot can be verified. Semrush publishes neither and advises against IP blocking, and it splits its crawling across ten robots.txt tokens.

### Does blocking AhrefsBot stop Ahrefs Site Audit?

No. AhrefsSiteAudit is a separate crawler with its own token that runs when someone with an Ahrefs account audits a site. A group naming AhrefsBot leaves it alone, which is what lets you block the database while auditing your own site.

## Sources

Each entry below is one claim on this page. `retrieved` is the date the exporter or a human last saw the source say this, and nothing more: it is not a publication date and not a promise of re-verification. `cite` is the anchor on the canonical page where this claim is rendered.

### ahrefsbot-purpose

Ahrefs documents AhrefsBot as powering the database for both Ahrefs, a marketing intelligence platform, and Yep, an independent, privacy-focused search engine.

- source: https://ahrefs.com/robot (ahrefs.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-ahrefsbot-purpose

> Powers the database for both Ahrefs, a marketing intelligence platform, and Yep, an independent, privacy-focused search engine.
### ahrefsbot-user-agent

Ahrefs documents AhrefsBot's user-agent string as "Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)" and its robots.txt token as AhrefsBot.

- source: https://ahrefs.com/robot (ahrefs.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-ahrefsbot-user-agent
### ahrefsbot-robots

Ahrefs states that AhrefsBot obeys robots.txt and obeys crawl delay.

- source: https://ahrefs.com/robot (ahrefs.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-ahrefsbot-robots

> Obeys robots.txt: Yes
### ahrefsbot-verification

Ahrefs publishes its crawler IP ranges at api.ahrefs.com/v3/public/crawler-ip-ranges and individual IPs at api.ahrefs.com/v3/public/crawler-ips, and states that the reverse DNS suffix of the IP's hostname is always ahrefs.com or ahrefs.net.

- source: https://ahrefs.com/robot (ahrefs.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-ahrefsbot-verification

> The reverse DNS suffix of the IPs hostname is always ahrefs.com or ahrefs.net.
### ahrefssiteaudit-purpose

Ahrefs documents AhrefsSiteAudit as a separate crawler, with its own robots.txt token, that powers the Ahrefs Site Audit tool.

- source: https://ahrefs.com/robot (ahrefs.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-ahrefssiteaudit-purpose
### semrushbot-purpose

Semrush describes SemrushBot as the search bot software Semrush sends out to discover and collect new and updated web data, feeding tools including Backlink Analytics, Site Audit, Backlink Audit and Link Building.

- source: https://www.semrush.com/bot/ (www.semrush.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-semrushbot-purpose
### semrushbot-tokens

Semrush documents ten robots.txt tokens, including SemrushBot and SiteAuditBot, each with its own Disallow snippet for a different Semrush tool.

- source: https://www.semrush.com/bot/ (www.semrush.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-semrushbot-tokens
### semrushbot-no-ip

Semrush states that it does not use consecutive IP blocks and advises against blocking SemrushBot by IP; its bot page publishes no IP range list and no reverse DNS suffix.

- source: https://www.semrush.com/bot/ (www.semrush.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-semrushbot-no-ip
### semrushbot-robots

Semrush states that SemrushBot for Backlink Analytics supports Crawl-delay directives with intervals of up to 10 seconds, and that it may take up to one hour or 100 requests for SemrushBot to discover changes to robots.txt.

- source: https://www.semrush.com/bot/ (www.semrush.com)
- retrieved: 2026-09-03
- cite: https://attensira.com/bots/ahrefsbot#claim-semrushbot-robots
