Ahrefs All-in-One SEO Scraper - DR, Backlinks, Keywords avatar

Ahrefs All-in-One SEO Scraper - DR, Backlinks, Keywords

Pricing

from $5.00 / 1,000 results

Go to Apify Store
Ahrefs All-in-One SEO Scraper - DR, Backlinks, Keywords

Ahrefs All-in-One SEO Scraper - DR, Backlinks, Keywords

Extract all SEO data from Ahrefs in one Actor: Domain Rating, backlinks, keyword research (20 engines incl. ChatGPT/Gemini/Perplexity), SERP analysis, traffic estimates, AI visibility, keyword rank checker, top 1000 websites ranking, competitors & more. No subscription needed. Bulk URL support.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Ilya

Ilya

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

2

Monthly active users

3 hours ago

Last modified

Share

Ahrefs SEO Tools Scraper

Extract all Ahrefs SEO data via API without a browser, without an Ahrefs subscription, and without limits — keyword research, backlinks, domain authority, SERP analysis, traffic estimates, AI visibility, top websites ranking, competitors, and more. One Actor, 13 tools, full Ahrefs coverage.

Why use this Actor?

  • All Ahrefs free tools in one place — 13 search types covering every free tool on ahrefs.com and ahrefstop.com
  • No browser needed — direct API calls with TLS fingerprinting, 10x faster than browser-based scrapers
  • 20 search engines for keyword research — Google, Bing, YouTube, Amazon, Baidu, Yahoo, Yandex, ChatGPT, Gemini, Perplexity, Copilot, Grok, Google AI Mode and more. No competitor supports AI engines
  • Keyword Explorer metrics — search volume, keyword difficulty (0-100), CPC, traffic potential extracted from SERP data
  • Keyword Rank Checker — check exact ranking position for any domain + keyword + country. Unique feature, no other Actor has it
  • AI Visibility analysis — per-model citation breakdown across ChatGPT, Gemini, Perplexity, Copilot, Google AI Overviews
  • Top 1000 websites — full ahrefstop.com ranking with pagination, country and category filters, trending sites, website details with competitors and similarly ranked sites
  • Bulk processing — pass multiple URLs, process up to 10 in parallel
  • Built-in captcha solving — Cloudflare Turnstile handled automatically, no tokens needed from you
  • Residential US proxies — reliable IP rotation included via Apify Proxy
  • Auto-retry on errors — up to 5 retries with proxy rotation on TLS/connection failures

What data can you extract?

Search TypeData Returned
Website AuthorityDomain Rating (DR), URL Rating (UR), Ahrefs Rank, backlinks count, referring domains, dofollow %
Backlinks OverviewDR, total backlinks, referring domains, dofollow %, signed token for detailed list
Backlinks ListTop backlinks: source URL, target URL, anchor text, DR of linking page, title
Broken LinksInbound and outbound broken links with HTTP codes, anchor, source/target URL
Keyword IdeasUp to 7,600+ keyword suggestions per query across 20 search engines with difficulty and volume labels
Keyword DifficultyKD score (0-100), backlinks needed to rank, full SERP analysis with per-result metrics
Keyword MetricsSearch volume, KD, estimated CPC ($), traffic potential, top SERP results with DR/UR/traffic/keywords
Keyword Rank CheckerExact ranking position, URL, title, DR, UR, traffic, keywords for a domain + keyword + country. Full SERP top-10
SERP OverviewTop-10 Google results with DR, UR, backlinks, traffic, keywords for each result
Traffic OverviewMonthly traffic estimate, traffic value ($), traffic history, top pages, top keywords, traffic by country
AI VisibilityTotal AI citations, breakdown by model (ChatGPT/Gemini/Perplexity/Copilot/Google AI), top cited domains, pages, topics
Top WebsitesTop 1000 ranked sites with traffic, delta, category. Filter by 190+ countries and 25+ categories. Pagination support
Website DetailsSearch traffic, traffic value, keywords count, top countries, top keywords, competitors, similarly ranked sites, DR, linking websites

Input

FieldTypeDescription
Search TypeenumWhich tool to use (see table above)
URLs or DomainsarrayOne or more target domains — youtube.com, ahrefs.com (bulk: up to 10 parallel)
KeywordstringKeyword for research or brand for AI visibility
CountrystringISO country code — us, gb, de, fr, etc.
Search EngineenumFor keyword ideas: Google, Bing, YouTube, Amazon, ChatGPT, Gemini, Perplexity, Copilot, Grok, and 11 more
URL Modeenumsubdomains (default), exact, prefix, domain
Top Websites Modeenumranking or trending
Top Websites CountrystringCountry filter — worldwide, united-states, united-kingdom, etc.
Top Websites Categoryenumall, shopping, news, finance, health, and 20+ more
Top Websites Limitinteger1-1000 (100 per page, auto-pagination)

Input example

{
"searchType": "keyword_metrics",
"keyword": "seo tools",
"country": "us"
}

Output

Results are saved to the default dataset. Each item includes a searchType field for easy filtering.

Output example — Keyword Metrics

{
"searchType": "keyword_metrics",
"keyword": "seo tools",
"country": "us",
"difficulty": 79,
"shortage": 329,
"searchVolume": 33000,
"trafficPotential": 57735,
"estimatedCpcUsd": 3.16,
"serpResults": [
{
"position": 2,
"title": "The 11 best SEO tools",
"url": "https://zapier.com/blog/best-seo-tools/",
"domainRating": 91,
"urlRating": 9,
"backlinks": 3508,
"referringDomains": 411,
"traffic": 57735,
"trafficValue": 18248929,
"keywords": 1565,
"topKeyword": "seo tools",
"topVolume": 33000,
"wordCount": 7125
}
]
}

Output example — Website Authority

{
"searchType": "website_authority",
"domain": "youtube.com",
"domainRating": 99.0,
"backlinks": 741107285,
"refdomains": 1116138,
"dofollowBacklinks": 90,
"dofollowRefdomains": 97
}

Output example — Top Websites

{
"searchType": "top_websites",
"rank": 1,
"rankChange": null,
"website": "wikipedia.org",
"category": "Reference",
"searchTraffic": 4300000000,
"trafficDelta": -336700000
}

Output example — Website Details (Competitors)

{
"searchType": "website_details",
"domain": "github.com",
"searchTraffic": 39300000,
"trafficValueUsd": 14800000,
"domainRating": 96,
"competitors": [
{ "website": "sourceforge.net", "traffic": 2200000, "pages": 72600 },
{ "website": "docker.com", "traffic": 3200000, "pages": 14300 },
{ "website": "huggingface.co", "traffic": 1100000, "pages": 16500 }
],
"similarlyRanked": [
{ "website": "telegram.org", "traffic": 39600000, "rank": 122 },
{ "website": "github.com", "traffic": 39300000, "rank": 123 }
],
"topCountries": [
{ "country": "United States", "traffic": 9400000, "share": "23.8%" },
{ "country": "India", "traffic": 6400000, "share": "16.2%" }
]
}

Output example — AI Visibility

{
"searchType": "ai_visibility",
"brand": "ahrefs.com",
"totalAiCitations": 2103,
"citationsByModel": [
{ "model": "Chatgpt", "count": 12 },
{ "model": "Gemini", "count": 7 },
{ "model": "Perplexity", "count": 13 },
{ "model": "Copilot", "count": 1362 },
{ "model": "GoogleAIOverviews", "count": 245 },
{ "model": "GoogleAIMode", "count": 464 }
],
"topCitedDomains": [
{ "domain": "ahrefs.com", "mentions": 1357 },
{ "domain": "backlinko.com", "mentions": 184 }
],
"topCitedPages": [
{ "url": "ahrefs.com/blog/seo-pricing/", "mentions": 122 }
],
"topTopics": [
{ "topic": "ahrefs", "aiResponses": 25 },
{ "topic": "keyword research", "aiResponses": 14 }
]
}

Output example — Keyword Rank Checker

{
"searchType": "keyword_rank",
"keyword": "seo tools",
"domain": "ahrefs.com",
"country": "us",
"position": 9,
"url": "https://ahrefs.com/free-seo-tools",
"title": "Free SEO Tools - Made by Ahrefs",
"domainRating": 91,
"urlRating": 27,
"backlinks": 4880,
"referringDomains": 1107,
"traffic": 72668,
"trafficValue": 25530721,
"keywords": 1436,
"lastUpdate": "2026-03-30T02:07:26Z",
"serpResults": [{"position": 1, "title": "...", "url": "...", "domainRating": 91}]
}

Output example — Traffic Overview

{
"searchType": "traffic_overview",
"domain": "ahrefs.com",
"mode": "subdomains",
"trafficMonthlyAvg": 4274823,
"costMonthlyAvg": 625363650,
"trafficHistory": [
{ "date": "2025-10-01", "organic": 5820145 },
{ "date": "2026-03-01", "organic": 4505125 }
],
"topPages": [
{ "url": "https://ahrefs.com/blog/google-advanced-search-operators/", "traffic": 266617, "share": 11.35 }
],
"topCountries": [
{ "country": "us", "share": 54.29 },
{ "country": "in", "share": 11.70 }
],
"topKeywords": [
{ "keyword": "search operators", "position": 2, "traffic": 546000 }
]
}
{
"searchType": "backlinks_list",
"domain": "ahrefs.com",
"backlinks": [
{
"urlFrom": "https://copyblogger.com/content-marketing/",
"urlTo": "https://ahrefs.com/",
"anchor": "Ahrefs",
"domainRating": 84,
"title": "The Complete Content Marketing Guide For 2025 - Copyblogger"
}
]
}
{
"searchType": "broken_links",
"domain": "ahrefs.com",
"inboundLinks": [
{
"urlFrom": "https://ipgeolocation.io/what-is-my-ip",
"urlTo": "https://ahrefs.com/robot/)",
"anchor": "http://ahrefs.com/robot/)",
"httpCode": 404,
"domainRating": 66,
"title": "What is my IP Address?"
}
],
"outboundLinks": [
{ "urlFrom": "https://ahrefs.com/", "title": "Ahrefs Homepage" }
]
}

Output example — Keyword Ideas

{
"searchType": "keyword_ideas",
"sourceKeyword": "seo tools",
"country": "us",
"searchEngine": "Google",
"keywords": [
{ "keyword": "free seo tools", "difficulty": "Hard", "volume": "MoreThanOneThousand" },
{ "keyword": "best seo tools", "difficulty": "Medium", "volume": "MoreThanOneThousand" }
],
"questions": [
{ "keyword": "what are the best seo tools", "difficulty": "Medium", "volume": "MoreThanOneThousand" }
]
}

Advantages over competitors

FeatureThis ActorOthers
Website Authority (DR, Rank)YesYes
Backlinks Overview + ListYesPartial
Traffic OverviewYesPartial
Keyword Ideas20 enginesGoogle only
Keyword Difficulty (KD 0-100)YesPartial
Keyword Metrics (volume, CPC)YesRare
Keyword Rank CheckerYesNo
SERP OverviewYesPartial
Broken LinksYesPartial
AI Visibility (per-model breakdown)YesBasic or No
Top Websites (1000, pagination)YesTop 100 or No
Website Details + CompetitorsYesNo
Similarly Ranked SitesYesRare
Bulk URL processingYes (10 parallel)Yes
Built-in captcha solvingYesYes

How it works

  1. For ahrefs.com API tools (keyword research, backlinks, SERP, traffic, AI visibility): the Actor solves Cloudflare Turnstile captcha automatically, then calls the internal Ahrefs v4 API with TLS fingerprinting (chrome impersonation) through residential US proxies
  2. For ahrefstop.com tools (top websites, website details, competitors): the Actor fetches and parses server-rendered HTML pages directly — no captcha needed, much faster

All captcha solving costs are included in the per-result pricing. You don't need any API keys or tokens.

Limitations

  • Keyword Ideas returns difficulty and volume as labels (Hard/Medium/Easy, MoreThanTenThousand/MoreThanOneThousand) — not exact numbers. Use Keyword Metrics search type for exact values
  • SERP results show full metrics (DR, UR, traffic, keywords) only for top 3-4 organic positions. Positions 5+ return title and URL only
  • Each Ahrefs API request requires a fresh captcha solution (~5-15 seconds per request)
  • ahrefstop.com shows max 1000 websites per ranking (10 pages x 100)

Having issues? Help me fix them faster

If you experience any problems, please share your run data with me so I can debug and improve the Actor:

  1. Go to Apify Security Settings
  2. Find "Share run data with developers"
  3. In the "Manage list of Actors" section, check this Actor (or All Actors)
  4. Save

This data is used only for debugging and helps me resolve issues much faster. Thank you!

Support

Questions, bug reports, feature requests: africanec@gmail.com