# 🚀 Ahrefs Scraper · 1,666 Free Results/Month (`omkar-cloud/ahrefs-scraper`) Actor

Ahrefs Scraper gets you Ahrefs SEO data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — Domain Rating, backlinks, traffic, keywords & AI visibility for any site. 💰 $3 per 1,000 results, no start fee. Scrape your first 1,666 results free every month 🚀

- **URL**: https://apify.com/omkar-cloud/ahrefs-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 ahrefs reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper

Ahrefs Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Ahrefs SEO data.

Ahrefs uses Cloudflare Turnstile bot protection to stop you from getting its data.

Ahrefs Scraper beats it, so you get the data — no Ahrefs subscription, no captchas — and can successfully complete your project.

**$3 per 1,000 results.** And with Apify's free plan you get $5 of credit every month, so your first **~1,666 results each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 37 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Ahrefs Scraper free**](https://apify.com/omkar-cloud/ahrefs-scraper) — your first ~1,666 results are Free.

### What can I get

- 📈 **Traffic since 2015 for 190,000+ top websites** — monthly visits & value, ranks, top countries, keywords & competitors
- 🔗 **Domain Rating & backlinks for any website** — DR, backlinks, referring domains, top 20 backlinks with anchors & broken links
- 🔑 **Keyword research on 21 search engines** — Keyword Difficulty, the Google top 10, keyword & question ideas, rank checks
- 🤖 **AI visibility for any brand** — citations in ChatGPT, Gemini, Perplexity, Copilot, Google AI Overviews & AI Mode

### Why Ahrefs Scraper

Most other Ahrefs scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a few fields per website, never the full picture
- 💸 **Pay more to get the same data**
- 🪦 **Works today, breaks next month** — nobody maintains it

Ahrefs Scraper is scraped live on every run, priced honestly, and actively maintained.

### Example: A Full Ahrefs Website Profile

```json
{
  "report": "overview",
  "input": "tesla.com",
  "domain": "tesla.com",
  "name": "Tesla | Electric Cars, Solar & Clean Energy",
  "link": "https://ahrefstop.com/websites/tesla.com",
  "period": "2026-10",
  "worldwide_rank": 637,
  "worldwide_rank_change": -256,
  "category_rank": 19,
  "category_name": "Vehicles",
  "traffic": 8600000,
  "traffic_change": -4900000,
  "traffic_value": 4600000,
  "keywords": 511500,
  "currency": "USD",
  "traffic_history": [{ "month": "2026-10", "organic_traffic": 8639513, "traffic_value": 4635832 }],
  "traffic_by_country": [
    { "country": "US", "traffic": 2680347, "previous_traffic": 5830973, "share_percent": 31 },
    { "country": "FR", "traffic": 766677, "previous_traffic": 926090, "share_percent": 8.8 }
  ],
  "top_keywords": [{ "keyword": "tesla", "volume": 2700000, "traffic": 1800000, "position": 1 }],
  "competitors": [{ "domain": "teslamotorsclub.com", "traffic": 107000, "pages": 13600 }],
  "domain_rating": 90,
  "linking_websites": 89400,
  "linking_websites_change": 322,
  "updated_at": "2026-10-01"
}
```

*Trimmed for readability.* Every row is flat — each value is its own column, so CSV and Excel exports need no clean-up.

### Get Started with 1,666 Free Results

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/ahrefs-scraper) — the input is pre-filled with tesla.com, airbnb.com and "raspberry pi".
2. Enjoy your data 😎.

### What's in a Run

Pick the reports you want — every report is **one row**, so you pay only for the reports you ask for.

| Input | Report | What you get |
|---|---|---|
| Domains | **Website Overview** | Monthly traffic since 2015, worldwide / country / category rank, top countries, keywords, competitors, DR |
| Domains | **Domain Rating** | DR, backlinks, referring domains, dofollow share |
| Domains | **Backlinks** | The same totals plus the top 20 backlinks with source page, its DR and anchor text |
| Domains | **Organic Traffic** | Monthly traffic and value, 6-month history, top pages, countries and keywords |
| Domains | **Competitors** | The sites fighting for the same Google keywords, with traffic, value, pages, DR and ranks |
| Domains | **Broken Links** | Broken backlinks to win back and broken outgoing links to fix |
| Domains | **Sitemap** | Up to 1,000 crawled URLs with last-modified dates |
| Keywords | **Keyword Difficulty** | KD, referring domains needed to rank, and the Google top 10 with DR, UR, backlinks and traffic |
| Keywords | **Keyword Ideas** | Top 20 keyword ideas + 20 question ideas with difficulty and volume tier, on 21 search engines |
| Keywords | **Keyword Rank** | Where your domain ranks on Google for each keyword |
| Brands | **AI Visibility** | Citations per AI model with a monthly trend, top cited domains and pages |
| Brands | **AI Overviews / AI Mode** | Mentions in Google's AI answers, new this cycle, topics and cited pages |

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Any report** | **$3 per 1,000** | One row per report — a website overview, a backlink report, a keyword's top 10, a brand's AI visibility |

No start fee — you pay only for the rows you get. Websites outside Ahrefs' ranking and keywords with no data are never billed. Control your spend with **Max results**: 1,000 rows = $3.

💡 Apify's free plan includes $5 of credit every month — about **1,666 free results, every month**.

👉 [**Scrape your first 1,666 results free**](https://apify.com/omkar-cloud/ahrefs-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/ahrefs-scraper").call(run_input={
    "domains": ["tesla.com", "airbnb.com"],
    "domainReports": ["authority", "traffic"],
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["report"], row["input"], row.get("domain_rating"), row.get("monthly_organic_traffic"))
```

**Node.js** (`npm install apify-client`)

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/ahrefs-scraper').call({
    keywords: ['raspberry pi'],
    keywordReports: ['keyword_difficulty', 'keyword_ideas'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp about Ahrefs Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://www.omkar.cloud/l/ahrefs-scraper-apify-whatsapp)

[![Ask Us by Email about Ahrefs Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Ahrefs%20Scraper%20actor\&body=I%20need%20help%20using%20the%20Ahrefs%20Scraper%20actor.)

### Related Actors

- 🔑 [**Ahrefs Keyword Scraper**](https://apify.com/omkar-cloud/ahrefs-keyword-scraper) — Keyword Difficulty, the Google top 10, keyword ideas and rank checks for any list of keywords. $3 per 1,000 keywords.
- 🏆 [**Ahrefs Top Websites Scraper**](https://apify.com/omkar-cloud/ahrefs-top-websites-scraper) — Ahrefs' ranking of the most visited websites by country and category, plus the trending lists. $1 per 1,000 websites.

### Popular Actors by Omkar Cloud

- [**G2 Product Scraper**](https://apify.com/omkar-cloud/g2-product-scraper) — G2 product details, ratings & AI-found contacts
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website
- [**AliExpress Product Scraper**](https://apify.com/omkar-cloud/aliexpress-product-scraper) — live product details, SKU variants, stock & shipping
- [**Booking Scraper**](https://apify.com/omkar-cloud/booking-scraper) — Booking.com hotels: prices, ratings, rooms & amenities
- [**Etsy Scraper**](https://apify.com/omkar-cloud/etsy-scraper) — Etsy products: prices, discounts, shops & variations

👉 [**Scrape your first 1,666 results free now**](https://apify.com/omkar-cloud/ahrefs-scraper)

# Actor input Schema

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

Domains (tesla.com), page links (https://www.tesla.com/model3) or ahrefs.com website links (https://ahrefs.com/websites/tesla.com). Rows carry an `input` field with what you entered.

## `domainReports` (type: `array`):

Reports to scrape for every domain — each is one row:<br>• <b>Website Overview</b>: monthly traffic since 2015, worldwide / country / category rank, top countries, keywords, competitors, DR (the 190,000+ sites in Ahrefs' ranking; others are skipped free)<br>• <b>Domain Rating</b>: DR, backlinks, referring domains, dofollow share<br>• <b>Backlinks</b>: the same totals plus the top 20 backlinks with anchors<br>• <b>Organic Traffic</b>: monthly traffic and value, 6-month history, top pages, countries and keywords<br>• <b>Competitors</b>: sites competing for the same keywords<br>• <b>Broken Links</b>: broken backlinks and broken outgoing links<br>• <b>Sitemap</b>: up to 1,000 crawled URLs

## `mode` (type: `string`):

Which part of each domain the Backlinks, Organic Traffic and Broken Links reports measure.

## `keywords` (type: `array`):

Keywords or phrases to research.

## `keywordReports` (type: `array`):

Reports to scrape for every keyword — each is one row:<br>• <b>Keyword Difficulty</b>: KD, referring domains needed to rank, and the Google top 10 with DR, UR, backlinks and traffic per result<br>• <b>Keyword Ideas</b>: the top 20 keyword ideas and 20 question ideas with difficulty and volume tier, plus the totals<br>• <b>Keyword Rank</b>: where the domain below ranks for the keyword

## `searchEngine` (type: `string`):

Where the keyword ideas come from.

## `includeQuestions` (type: `boolean`):

Add question-form keyword ideas ("what is raspberry pi") to every Keyword Ideas row.

## `rankDomain` (type: `string`):

Needed for the Keyword Rank report: the domain or page whose Google position to find (raspberrypi.com).

## `brands` (type: `array`):

Brand names to look up in AI answers (tesla, notion).

## `brandReports` (type: `array`):

Reports to scrape for every brand — each is one row:<br>• <b>AI Visibility</b>: citations per AI model with a monthly trend, top cited domains and pages, top topics<br>• <b>AI Overviews</b>: mentions in Google AI Overviews, new this cycle, topics and cited pages<br>• <b>AI Mode</b>: the same for Google AI Mode

## `country` (type: `string`):

2-letter country code for keyword data (default US) and for the Organic Traffic report's top pages and keywords (default worldwide).

## `maxResults` (type: `integer`):

Maximum number of rows (reports) to scrape in this run. Use it to control your cost (1,000 rows = $3).

## Actor input object example

```json
{
  "domains": [
    "tesla.com",
    "airbnb.com"
  ],
  "domainReports": [
    "overview",
    "backlinks",
    "traffic"
  ],
  "mode": "subdomains",
  "keywords": [
    "raspberry pi"
  ],
  "keywordReports": [
    "keyword_difficulty",
    "keyword_ideas"
  ],
  "searchEngine": "google",
  "includeQuestions": true,
  "brandReports": [
    "ai_visibility"
  ],
  "maxResults": 1000
}
```

# Actor output Schema

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

Every row with every field.

## `overview` (type: `string`):

Ranks, monthly traffic and value, keywords, DR and linking websites of every website profile.

## `authority` (type: `string`):

DR, backlinks, referring domains and the top backlinks of every domain.

## `traffic` (type: `string`):

Monthly organic traffic and value with top pages, countries and keywords.

## `site_health` (type: `string`):

Broken backlinks, broken outgoing links and crawled sitemap URLs.

## `competitors` (type: `string`):

The websites competing for the same Google keywords.

## `keywords` (type: `string`):

Keyword Difficulty, the Google top 10, keyword ideas and rank checks.

## `ai` (type: `string`):

Brand citations and mentions in ChatGPT, Gemini, Perplexity, Copilot and Google's AI answers.

# 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": [
        "tesla.com",
        "airbnb.com"
    ],
    "keywords": [
        "raspberry pi"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/ahrefs-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": [
        "tesla.com",
        "airbnb.com",
    ],
    "keywords": ["raspberry pi"],
}

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/ahrefs-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": [
    "tesla.com",
    "airbnb.com"
  ],
  "keywords": [
    "raspberry pi"
  ]
}' |
apify call omkar-cloud/ahrefs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/ahrefs-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/UvGENGFDqpsKKljyQ/builds/r99HHLEPKlmNpQRHZ/openapi.json
