# Ahrefs Domain Rating Scraper (`piotrv1001/ahrefs-domain-rating-scraper`) Actor

Check Ahrefs Domain Rating (DR) for any list of domains in bulk: DR, total backlinks, referring domains and dofollow share for each domain or page URL. No Ahrefs account or subscription needed.

- **URL**: https://apify.com/piotrv1001/ahrefs-domain-rating-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** SEO tools, Lead generation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 domain checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🚀 Ahrefs Domain Rating Scraper

Check **Ahrefs Domain Rating (DR)** for any list of websites in bulk. The **Ahrefs Domain Rating Scraper** returns each domain's DR together with its total backlinks, referring domains and dofollow share. Use it to vet link-building prospects, qualify guest-post and outreach lists, compare competitors or enrich a lead list with an authority score. No Ahrefs account or subscription needed.

### ✨ Features

- 🏆 **Domain Rating plus Link Totals**: DR (0–100), total backlinks, referring domains, % dofollow backlinks and % dofollow referring domains.
- 📋 **Bulk Lists**: Paste hundreds or thousands of domains; duplicates such as `apify.com`, `www.apify.com` and `https://apify.com/` are checked once.
- 🔗 **Domains or Exact Pages**: A bare domain covers the whole site including subdomains. A full page URL (`https://apify.com/store`) is checked as that exact page.
- 🧾 **One Row per Domain**: Easy to join back to your spreadsheet. Domains Ahrefs knows nothing about come back with DR 0 instead of disappearing.

### 🛠️ How It Works

1. **Add your domains** – one per line, with or without `https://` and `www.`.
2. **Set the maximum number of results** – the default is 50.
3. **Run the Scraper** – download the results as JSON, CSV or Excel, or pull them through the API.

### ⚙️ Input

| Field               | What it does                                                                                              |
| ------------------- | --------------------------------------------------------------------------------------------------------- |
| **Domains or URLs** | Domains (`apify.com`) or page URLs (`https://apify.com/store`). A domain includes its subdomains.         |
| **Max results**     | Stop after this many domains. Default 50.                                                                 |

With an empty input the scraper checks `apify.com`, `ahrefs.com` and `semrush.com`.

```json
{
    "domains": ["apify.com", "ahrefs.com", "https://www.semrush.com/blog/"],
    "maxItems": 1000
}
```

### 💰 Pricing

Pay only for the domains you check — no monthly rental.

| Event              | Price                             | What you get                                                                                        |
| ------------------ | --------------------------------- | --------------------------------------------------------------------------------------------------- |
| **Domain checked** | $0.002 per domain ($2 per 1,000)  | Domain Rating, backlinks, referring domains, dofollow backlinks % and dofollow referring domains %  |
| **Actor start**    | $0.00005 per run                  | Charged once when the run starts.                                                                   |

Examples: 50 domains = $0.10 · 1,000 outreach prospects = $2.00 · 10,000 domains = $20.

### 📊 Sample Output Data

```json
{
    "domain": "ahrefs.com",
    "scope": "domain with subdomains",
    "domainRating": 91,
    "backlinks": 25884887,
    "referringDomains": 118478,
    "dofollowBacklinksPercent": 59,
    "dofollowReferringDomainsPercent": 84,
    "scrapedAt": "2026-10-14T08:04:09.943Z"
}
```

### ❓ FAQ

**What is Domain Rating?** Ahrefs' 0–100 score for the strength of a website's backlink profile, on a logarithmic scale. Going from 20 to 30 is much easier than going from 70 to 80.

**Do I need an Ahrefs account?** No. The scraper uses the data Ahrefs shows publicly in its free tools.

**Want the actual links, traffic or keyword difficulty?** See the sister actors [Ahrefs Backlinks Scraper](https://apify.com/piotrv1001/ahrefs-backlinks-scraper), [Ahrefs Traffic Scraper](https://apify.com/piotrv1001/ahrefs-traffic-scraper) and [Ahrefs Keyword Difficulty Scraper](https://apify.com/piotrv1001/ahrefs-keyword-difficulty-scraper).

### 🔗 More SEO Actors

- [Ahrefs Backlinks Scraper](https://apify.com/piotrv1001/ahrefs-backlinks-scraper): the top backlinks pointing at any domain, with anchor text and source DR.
- [Ahrefs Traffic Scraper](https://apify.com/piotrv1001/ahrefs-traffic-scraper): monthly organic traffic, traffic value, top pages, countries and keywords.
- [Ahrefs Keyword Difficulty Scraper](https://apify.com/piotrv1001/ahrefs-keyword-difficulty-scraper): Keyword Difficulty plus the top-10 Google results with DR and traffic.
- [Google Keyword Volume Scraper](https://apify.com/piotrv1001/google-keyword-volume-scraper): monthly Google search volume, CPC and competition for your keyword list.
- [Google Keyword Suggestions Scraper](https://apify.com/piotrv1001/google-keyword-suggestions-scraper): related keyword ideas around a seed, with volume and difficulty.
- [Google Ranked Keywords Scraper](https://apify.com/piotrv1001/google-ranked-keywords-scraper): every keyword a domain ranks for on Google, with position and URL.

This actor is not affiliated with or endorsed by Ahrefs. Domain Rating is a metric by Ahrefs.

# Actor input Schema

## `domains` (type: `array`):

Domains (apify.com) or page URLs (https://apify.com/store). A domain covers its subdomains; a page URL is checked as that exact URL.

## `maxItems` (type: `integer`):

Stop after this many domains.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "ahrefs.com",
    "semrush.com"
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "ahrefs.com",
        "semrush.com"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/ahrefs-domain-rating-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": [
        "apify.com",
        "ahrefs.com",
        "semrush.com",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/ahrefs-domain-rating-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "ahrefs.com",
    "semrush.com"
  ],
  "maxItems": 50
}' |
apify call piotrv1001/ahrefs-domain-rating-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/ahrefs-domain-rating-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/R0bG2B5XcxgWa9nmj/builds/5GiKFljgph2Yb6WRO/openapi.json
