Ahrefs Free Website Stats Scraper avatar

Ahrefs Free Website Stats Scraper

Pricing

Pay per event

Go to Apify Store
Ahrefs Free Website Stats Scraper

Ahrefs Free Website Stats Scraper

Scrape public AhrefsTop domain stats: traffic, Domain Rating, backlinks, countries, keywords, and competitors for SEO monitoring.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Scrape public AhrefsTop website stats for any list of domains. The actor returns domain-level SEO signals such as organic traffic, traffic value, Domain Rating, referring domains, backlink-related data, top countries, top keywords, competitors, and similarly ranked websites.

What does Ahrefs Free Website Stats Scraper do?

Ahrefs Free Website Stats Scraper turns public website stats pages into structured datasets.

It accepts domains such as apify.com, shopify.com, or https://ahrefstop.com/websites/stripe.com.

For every input domain it follows the public Ahrefs redirect and extracts visible metrics from the free AhrefsTop page.

Use it when you need repeatable SEO snapshots without manually opening each domain page.

Who is it for?

SEO agencies use it to monitor client and competitor domains.

Link builders use it to qualify outreach prospects.

Affiliate teams use it to benchmark niche competitors.

Content teams use it to find domains with growing organic visibility.

Competitive-intelligence operators use it to enrich company lists with traffic and backlink signals.

Why use this actor?

  • Bulk scrape public domain stats from AhrefsTop.
  • Normalize domains and URLs automatically.
  • Export data as JSON, CSV, Excel, XML, or HTML through Apify datasets.
  • Run on a schedule for recurring monitoring.
  • Integrate results into Google Sheets, CRMs, dashboards, and lead-scoring workflows.

Data you can extract

FieldDescription
domainNormalized input domain
sourceUrlFinal AhrefsTop page URL
organicTrafficLatest visible organic traffic number
trafficValueLatest visible traffic value number
domainRatingVisible Domain Rating value
referringDomainsLatest linking websites / referring-domain trend value when exposed
backlinksVisible backlink value when exposed
topCountriesCountry traffic split objects
topKeywordsKeyword, volume, traffic, and position rows
topCompetitorsCompeting websites shown on the page
similarlyRankedWebsitesSimilar traffic-rank domains
scrapedAtISO timestamp for the scrape

How much does it cost to scrape Ahrefs website stats?

This actor uses pay-per-event pricing.

There is a small start charge for each run and a per-domain charge for every saved dataset item.

The final price shown in Apify billing depends on the live pricing tier on the actor page.

Use a small maxItems value for your first run, then scale after checking the output.

How to use Ahrefs Free Website Stats Scraper

  1. Open the actor on Apify.
  2. Add domains or AhrefsTop URLs to domains.
  3. Keep maxConcurrency modest for stable scraping.
  4. Click Start.
  5. Download the dataset or connect it to your automation.

Input example

{
"domains": [
"apify.com",
"stripe.com",
"https://ahrefstop.com/websites/shopify.com"
],
"maxItems": 3,
"maxConcurrency": 3,
"proxyConfiguration": { "useApifyProxy": false }
}

Output example

{
"domain": "apify.com",
"sourceUrl": "https://ahrefstop.com/websites/apify.com",
"organicTraffic": 355203,
"trafficValue": 169333,
"domainRating": 80,
"topCountries": [
{ "countryCode": "US", "traffic": 79721, "trafficShare": 0.224 }
],
"scrapedAt": "2026-07-04T00:00:00.000Z"
}

Input fields

Domains

Add domains, hostnames, Ahrefs URLs, or AhrefsTop URLs.

The actor removes www. and normalizes URLs to the public website stats endpoint.

Maximum domains to process

maxItems is a safety cap. It prevents accidental large runs.

Maximum concurrency

maxConcurrency controls how many pages are requested at once.

Use a lower value for very large batches or repeated monitoring jobs.

Include raw HTML

Turn this on only when debugging. Raw HTML increases dataset size.

Proxy configuration

The public pages usually work without a proxy. If your run is blocked, enable Apify Proxy.

Output fields explained

organicTraffic and trafficValue come from the latest visible chart values embedded in the page.

domainRating is parsed from the backlink profile section.

topCountries comes from embedded page data.

topKeywords, topCompetitors, and similarlyRankedWebsites are parsed from visible tables.

Some locked Ahrefs metrics may be unavailable on certain pages; those fields are returned as null.

Tips for reliable runs

  • Start with 3-10 domains.
  • Use exact domains, not full paths, unless you are pasting AhrefsTop URLs.
  • Keep concurrency between 3 and 5 for regular monitoring.
  • Schedule separate runs for very large client lists.
  • Store previous datasets if you want to compare month-over-month changes.

SEO agency workflow

Upload a list of prospect or competitor domains.

Export the dataset to Google Sheets.

Filter by Domain Rating, traffic, and country share.

Prioritize targets with meaningful traffic and relevant keyword overlap.

Add outreach prospects to the actor.

Use Domain Rating and linking-website signals to remove weak targets.

Use top keywords to understand topical relevance before outreach.

Send qualified domains to your CRM or outreach tool.

Competitive monitoring workflow

Create a scheduled Apify task.

Run it weekly or monthly against the same competitor list.

Compare exported datasets over time.

Trigger alerts when traffic, rank, or referring-domain signals change.

Integrations

Connect the dataset to Google Sheets for analyst review.

Send results to Make or Zapier for lead scoring.

Store snapshots in BigQuery, Snowflake, or a warehouse.

Feed domains into other automation-lab SEO actors for enrichment.

API usage with Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/ahrefs-free-website-stats-scraper').call({
domains: ['apify.com', 'stripe.com'],
maxItems: 2,
});
console.log(run.defaultDatasetId);

API usage with Python

from apify_client import ApifyClient
import os
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('automation-lab/ahrefs-free-website-stats-scraper').call(run_input={
'domains': ['apify.com', 'stripe.com'],
'maxItems': 2,
})
print(run['defaultDatasetId'])

API usage with cURL

curl -X POST "https://api.apify.com/v2/acts/automation-lab~ahrefs-free-website-stats-scraper/runs?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"domains":["apify.com","stripe.com"],"maxItems":2}'

Use with AI agents via MCP

Ahrefs Free Website Stats Scraper is available as a tool for AI assistants that support the Model Context Protocol (MCP).

Add the Apify MCP server to Claude Code:

$claude mcp add --transport http apify "https://mcp.apify.com"

For Claude Desktop, Cursor, or VS Code, add this JSON config:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}

Your assistant can then call automation-lab/ahrefs-free-website-stats-scraper.

Example prompts:

  • "Use automation-lab/ahrefs-free-website-stats-scraper to scrape AhrefsTop stats for these competitor domains and summarize the strongest domains."
  • "Monitor this prospect list and identify domains with high traffic and strong DR."
  • "Compare traffic countries for these SaaS competitors."

Legality and ethical notes

This actor extracts publicly available page data.

You are responsible for using the output lawfully and respecting applicable terms, privacy rules, and rate limits.

Do not use the data for spam, deception, or abusive automation.

FAQ

Why are some fields null?

AhrefsTop exposes different data on different pages. Locked or unavailable metrics are returned as null.

Why did a domain fail?

The public stats page may not exist for the domain, or the target may return a temporary error. Check the run log for HTTP status codes.

Should I enable proxy?

Leave proxy disabled first. Enable Apify Proxy only if your environment receives blocking or repeated network errors.

How fast is the scraper?

HTTP-only scraping is fast. A 100-domain cloud run typically finishes in under one minute with moderate concurrency.

How is this different from private Ahrefs API access?

This actor extracts public AhrefsTop page data. It does not access private Ahrefs account data or paid-only API features.

Limitations

The actor works with public AhrefsTop pages, not private Ahrefs account data.

It does not bypass paid Ahrefs features.

Large batches should use moderate concurrency.

Changelog

Initial version extracts public domain stats, country data, keyword rows, competitor rows, and backlink profile signals.

Support

If a run fails, share the run URL and the input domains so the issue can be reproduced.