Ahrefs Scraper DR, Backlinks, Keywords, Traffic & AI Visibility avatar

Ahrefs Scraper DR, Backlinks, Keywords, Traffic & AI Visibility

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Ahrefs Scraper DR, Backlinks, Keywords, Traffic & AI Visibility

Ahrefs Scraper DR, Backlinks, Keywords, Traffic & AI Visibility

Scrape Ahrefs free SEO data — no account. Domain Rating, backlinks & referring domains, broken links, organic traffic, keyword ideas & difficulty, SERP, AI-visibility citations, and the top-websites ranking. Bulk domains, keywords & brands, 188 countries. JSON/CSV/Excel

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Muhamed Didovic

Muhamed Didovic

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Ahrefs Scraper

Extract Ahrefs' free SEO data at scale — Domain Rating, backlinks, referring domains, broken links, organic traffic, keyword ideas, keyword difficulty, SERP overviews, AI-visibility citations, and the top-websites ranking — for any domain, keyword, or brand. No Ahrefs subscription, login, or cookies required. Bulk input, 188 countries, JSON/CSV/Excel out.

How Ahrefs Scraper works

Why use the Ahrefs Scraper?

  • No Ahrefs account or subscription. Pulls straight from Ahrefs' public free tools — no seats, no API key, no login.
  • The whole free-tool suite in one actor. Domain Rating, backlinks (overview + individual list), broken links, traffic, keyword ideas, keyword difficulty, SERP, keyword rank, and AI visibility — mix any of them in a single run.
  • Bulk by design. Feed lists of domains, keywords, and brands together; every input fans out across parallel workers.
  • 188 countries. Localise keyword and traffic data to any market.
  • Clean, flat output. One row per data point with a rowType discriminator — pipe straight into a sheet, database, or dashboard.
  • Captcha handled for you. The actor solves Ahrefs' Cloudflare Turnstile automatically; you paste nothing.

What does the Ahrefs Scraper do?

The Ahrefs Scraper turns Ahrefs' free SEO tools into a structured data feed. Give it three kinds of input — domains/URLs, keywords, and brands — and toggle which datasets you want for each:

InputDatasets you can pull
Domain / URLDomain Rating & backlink counts, backlinks overview, individual backlinks list, broken inbound links, organic-traffic overview (12-month history, top pages/countries/keywords)
KeywordKeyword ideas (+ question ideas), keyword difficulty, SERP overview, keyword rank (for a domain you choose)
BrandAI-visibility citations across ChatGPT, Gemini, Perplexity, Copilot, Grok, and Google AI

It also scrapes the Top Websites ranking (Ahrefs' most-visited sites, filterable by 26 categories and by country) — a global dataset that runs once per run and needs no captcha at all.

Everything runs account-free and returns one flat row per data point.

Supported inputs

  • Domains / URLs — e.g. apify.com, https://example.com/blog. Scope each with the mode setting (exact URL, domain + subdomains, path prefix, or whole domain).
  • Keywords — any seed phrase, localised by country.
  • Brands — any brand or entity name for AI-visibility.

All three accept bulk lists and can be combined in one run.

Use cases

  • Backlink research & outreach — pull a competitor's referring domains and top backlinks to build a prospect list.
  • Broken-link building — find broken inbound links pointing at any site and pitch your replacement.
  • Keyword research — expand a seed keyword into hundreds of ideas with difficulty and volume bands, plus question keywords for content.
  • Rank tracking — check where your domain ranks for a basket of keywords across markets.
  • Competitor traffic intelligence — estimate a rival's organic traffic, value, trend, and top pages/countries.
  • AI-search visibility (GEO) — measure how often a brand is cited by ChatGPT, Gemini, Perplexity, and Google AI Overviews.
  • Domain Rating enrichment — score a list of domains by authority for lead-qualification or link-vetting.
  • Market mapping — pull the top-visited websites in any category or country to size a niche or find leaders to benchmark.

How it works

  1. Input — provide domains/URLs, keywords, and/or brands, then pick the datasets and locale.
  2. Processing — each worker solves Ahrefs' Cloudflare Turnstile automatically, queries the matching free-tool endpoint, and rotates residential proxies to scale.
  3. Output — every data point is flattened to one row (tagged with rowType) and pushed to the dataset, ready to export.

Input configuration

FieldTypeDescription
urlsarrayDomains / URLs for the website datasets.
keywordsarraySeed keywords for the keyword datasets.
brandsarrayBrand names for AI-visibility.
countrystringTwo-letter country code for keyword & traffic data (default us).
modeselectURL scope: exact, subdomains, prefix, domain (default subdomains).
protocolselectProtocol for the traffic dataset: both, https, http.
searchEngineselectEngine for keyword ideas (Google, Bing, YouTube, Amazon, ChatGPT, Gemini, Perplexity, …).
rankDomainstringOptional — when set, each keyword also returns where this domain ranks.
includeBacklinksbooleanBacklinks overview (DR, backlinks, referring domains, dofollow split). On by default.
includeBacklinksListbooleanIndividual top backlinks. Reuses the overview call — no extra cost.
includeWebsiteAuthoritybooleanStandalone Domain Rating row (redundant with the backlinks overview).
includeBrokenLinksbooleanBroken inbound links pointing at the target.
includeTrafficbooleanOrganic-traffic overview with 12-month history and top pages/countries/keywords.
includeKeywordIdeasbooleanRelated keyword ideas. On by default.
includeQuestionIdeasbooleanAlso pull question-style keyword ideas.
includeKeywordDifficultybooleanSERP scored for keyword difficulty.
includeSerpOverviewbooleanFull organic SERP with per-result metrics.
includeTopWebsitesbooleanAhrefs top-websites ranking (global, no captcha). Runs once per run.
topWebsitesCategorystringOptional category slug filter, e.g. finance, shopping, news.
topWebsitesCountrystringOptional country slug filter, e.g. united-kingdom, india. Combines with category.
topWebsitesLimitintegerCap on top-website rows (default 100).
maxBacklinks / maxKeywordIdeas / maxSerpResultsintegerPer-target row caps (default 100).
maxItemsintegerHard cap on total output rows.
maxConcurrencyintegerParallel workers (default 3).
proxyobjectProxy configuration (default Apify Residential, US).

Example input

{
"urls": ["apify.com"],
"keywords": ["seo tools"],
"brands": ["Apify"],
"country": "us",
"mode": "subdomains",
"includeBacklinks": true,
"includeBacklinksList": true,
"includeTraffic": true,
"includeKeywordIdeas": true,
"includeKeywordDifficulty": true
}

Output overview

Each data point is a single flat row tagged with a rowType, so one dataset cleanly holds every tool's output:

website_authority · backlinks_overview · backlink · broken_link · traffic_overview · keyword_idea · serp_result · keyword_rank · ai_visibility · top_website

Output samples

Backlinks overview (rowType: "backlinks_overview")

{
"rowType": "backlinks_overview",
"url": "apify.com",
"mode": "subdomains",
"domainRating": 81,
"backlinks": 3281785,
"refDomains": 12319,
"dofollowBacklinks": 94,
"dofollowRefDomains": 71
}

Individual backlink (rowType: "backlink")

{
"rowType": "backlink",
"targetDomain": "apify.com",
"sourceUrl": "https://github.com/docling-project/docling",
"targetUrl": "https://apify.com/vancura/docling",
"sourceTitle": "GitHub - docling-project/docling",
"anchor": "Docling Actor",
"domainRating": 97
}

Traffic overview (rowType: "traffic_overview")

{
"rowType": "traffic_overview",
"url": "apify.com",
"monthlyOrganicTraffic": 477073,
"monthlyTrafficValue": 16976950,
"trafficHistory": [{ "date": "2026-07-01", "organic": 466379 }],
"topPages": [{ "url": "https://apify.com/", "traffic": 31978, "share": 36.56 }],
"topCountries": [{ "country": "in", "share": 22.9 }]
}

Keyword idea (rowType: "keyword_idea")

{
"rowType": "keyword_idea",
"seedKeyword": "seo tools",
"keyword": "free seo tools",
"country": "us",
"difficultyLabel": "Hard",
"volumeLabel": "MoreThanOneThousand",
"isQuestion": false
}

Top website (rowType: "top_website")

{
"rowType": "top_website",
"rank": 1,
"domain": "moneysavingexpert.com",
"category": "Finance",
"monthlyVisits": "5.4M",
"monthlyVisitsChange": "-905.2K",
"scope": "finance/united-kingdom"
}

AI visibility (rowType: "ai_visibility")

{
"rowType": "ai_visibility",
"brand": "Apify",
"totalAiCitations": 16716,
"citationsByModel": [
{ "model": "Chatgpt", "count": 270 },
{ "model": "Perplexity", "count": 207 }
],
"topCitedDomains": [{ "domain": "apify.com", "mentions": 454 }]
}

Key output fields

FieldAppears inMeaning
domainRatingauthority, backlinks, backlink, broken_link, serp_resultAhrefs Domain Rating (0–100).
backlinks / refDomainsauthority, backlinks_overviewTotal backlinks and referring domains.
sourceUrl / targetUrl / anchorbacklink, broken_linkLinking page, linked page, and anchor text.
httpCodebroken_linkHTTP status of the broken target (e.g. 404).
monthlyOrganicTraffic / monthlyTrafficValuetraffic_overviewEstimated monthly organic visits and traffic value.
trafficHistorytraffic_overview12 months of organic-traffic points.
difficultyLabel / volumeLabelkeyword_ideaDifficulty and search-volume bands.
position / urlRatingserp_resultOrganic position and URL Rating of the result.
topPositionkeyword_rankBest organic position your domain holds for the keyword.
totalAiCitations / citationsByModelai_visibilityAI citations and their per-model breakdown.
rank / monthlyVisits / monthlyVisitsChangetop_websiteRanking position, estimated monthly visits, and month-over-month change.

FAQ

Do I need an Ahrefs account or subscription? No. The actor uses Ahrefs' public free tools — no login, API key, or cookies.

Are the numbers the same as paid Ahrefs? They match Ahrefs' free tools, which show real Ahrefs metrics but at free-tier depth (e.g. keyword volume/difficulty as labelled bands, and top-N backlinks rather than the full index).

Can I scrape many domains and keywords at once? Yes. Provide bulk lists of urls, keywords, and brands together; they fan out across parallel workers.

Which countries are supported? Any two-letter country code (188 markets) for keyword and traffic data.

Why do some fields come back null? A dataset is only populated when its toggle is on and Ahrefs returns that field for the target. Non-organic SERP entries (AI overview, questions) have fewer metrics than organic ones.

How is it billed? Pay-per-result — you're charged per output row. See the Pricing tab on the actor's page.

Support

Found a bug or need a field added? Open an issue on the actor's Issues tab in Apify Console and we'll take a look.

Additional services

Need a tailored SEO or data-extraction pipeline — scheduled runs, enrichment, or delivery straight to your warehouse? Reach out through the developer profile on Apify.

Explore more scrapers

  • Ubersuggest Scraper — keyword volume, CPC, difficulty, domain backlinks & top pages.
  • SimilarWeb Scraper — website traffic, engagement, and audience data.
  • Browse the full store profile for more SEO and directory scrapers.

⚠️ Disclaimer

This actor extracts data made publicly available by Ahrefs' free online tools (ahrefs.com) and the public Ahrefs top-websites ranking (ahrefstop.com). It does not access any account-gated or paid Ahrefs data, and it is not affiliated with, endorsed by, or sponsored by Ahrefs. "Ahrefs" is a trademark of its respective owner and is used here only to describe the data source. Use the collected data in compliance with Ahrefs' terms, applicable laws (including copyright and data-protection rules such as GDPR/CCPA), and only for legitimate purposes. You are responsible for how you use the output.

SEO keywords

Ahrefs scraper, Ahrefs API, Ahrefs free tools scraper, Domain Rating checker, backlink checker, backlinks scraper, referring domains, broken link checker, organic traffic checker, keyword research tool, keyword difficulty checker, keyword ideas, SERP checker, keyword rank checker, AI visibility checker, AI citations, SEO data extraction, bulk domain analysis, competitor backlink analysis, DR checker, SEO scraper, Apify SEO actor, top websites ranking, most visited websites, Ahrefs top websites, website ranking by category, top sites by country.