Ahrefs Scraper avatar

Ahrefs Scraper

Pricing

from $5.99 / 1,000 results

Go to Apify Store
Ahrefs Scraper

Ahrefs Scraper

๐Ÿš€ Ahrefs Scraper extracts SEO data from Ahrefs with speed & precisionโ€”ideal for keyword research, backlink analysis, competitor tracking & content strategy. ๐Ÿ“ˆ Automate insights for faster, smarter decisions.

Pricing

from $5.99 / 1,000 results

Rating

0.0

(0)

Developer

Scrapier

Scrapier

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Share

๐Ÿ”Ž Ahrefs Scraper

Pull rich, structured SEO data from Ahrefs' free tools โ€” without an Ahrefs subscription or API key. Give the actor a domain/URL and/or a keyword, tick the datasets you want, and it returns clean JSON you can pipe straight into spreadsheets, dashboards, or your own pipelines.

It covers 9 Ahrefs free tools in one run:

๐Ÿงฐ ToolWhat you get
๐Ÿ† Domain Overview / Website AuthorityDomain Rating, backlinks, referring domains
๐Ÿ“Š Web TrafficEst. monthly visits, traffic value, history, top pages/countries/keywords
๐Ÿ”— BacklinksBacklink & referring-domain overview
๐Ÿงฉ Broken LinksBroken inbound & outbound links
๐Ÿ’ก Keyword IdeasKeyword + question ideas with volumes
โš™๏ธ Keyword DifficultyKD score + the ranking SERP
๐ŸŽฏ Keyword RankingWhere a domain ranks for a keyword
๐Ÿ”Ž SERP OverviewFull SERP snapshot for a keyword
๐Ÿค– AI VisibilityAI citations across LLMs, top cited domains/pages & topics
๐ŸŒ Top WebsitesAhrefsTop trending websites (Top 1000/100) + movers up & down

โœจ Why Choose Us?

  • All-in-one โ€” 9 Ahrefs tools behind a single, simple input.
  • Bulk-ready โ€” analyse many domains in one run.
  • Resilient โ€” starts on a direct connection and auto-escalates to datacenter โ†’ residential proxies only if Ahrefs blocks it, then sticks with the working tier.
  • Live results โ€” every record is pushed the moment it's collected, so a long run never loses data.
  • Per-section output โ€” each tool gets its own clean dataset view (table) for easy export.

๐Ÿ”‘ Key Features

  • โœ… Single + bulk URL/domain input
  • โœ… 188-country localisation for keyword, SERP & traffic data
  • โœ… exact / subdomains scope and http/https/both protocol control
  • โœ… Cloudflare Turnstile solving via CapSolver, 2Captcha, Playwright, or a static token
  • โœ… Polite rate limiting with configurable delay
  • โœ… Live dataset writes + friendly, emoji-rich run log

๐Ÿ›ก๏ธ Captcha โ€” handled for you

Ahrefs gates every free tool behind a Cloudflare Turnstile challenge. This actor solves it automatically with a built-in solver โ€” you don't need to bring your own captcha key or configure anything. Just enter your target and press Start.

๐Ÿ“ฅ Input

{
"keyword": "ai automation",
"url": "make.com",
"country": "us",
"mode": "subdomains",
"include_web_authority": true,
"include_traffic": true,
"include_backlinks": true,
"include_keywords": true,
"include_serp": true,
"include_ai_visibility": true,
"proxyConfiguration": { "useApifyProxy": true }
}
FieldTypeDescription
keywordstringKeyword (or brand for AI Visibility)
urlstringSingle domain/URL to analyse
urlsarrayBulk list of domains/URLs (overrides url)
countrystring2-letter country code (default us)
modestringsubdomains or exact
include_*booleanToggle each dataset on/off
include_top_websitesbooleanAhrefsTop trending websites (no keyword/domain needed)
category_top_websitesstringCategory filter for Top Websites (default all)
country_top_websitesstringCountry filter for Top Websites (default worldwide)
proxyConfigurationobjectProxy settings (fallback only)

Captcha solving is built in โ€” no key required.

๐Ÿ“ค Output

One record per tool, e.g. a traffic record:

{
"data_captured_at": "2026-06-09T16:09:17+00:00",
"type": "traffic",
"domain": "make.com",
"mode": "subdomains",
"website_authority": { "domainRating": 89.0, "backlinks": 2705381, "refdomains": 35390 },
"website_traffic": { "trafficMonthlyAvg": 360938, "costMontlyAvg": 17315114 },
"website_traffic_history": [ ... ],
"website_traffic_top_pages": [ ... ],
"website_traffic_top_countries": [ ... ],
"website_traffic_top_keywords": [ ... ]
}

Each type (traffic, backlinks, broken_links, keyword_ranking, keyword_difficulty, keywords, serp, ai_visibility, top_websites) has its own dataset view in the Output tab.

๐Ÿš€ How to Use (Apify Console)

  1. Log in at console.apify.com โ†’ Actors.
  2. Open Ahrefs Scraper.
  3. Enter a domain/URL and/or keyword, choose the datasets, and add your captcha key.
  4. Click Start.
  5. Watch the live log as data streams in.
  6. Open the Output tab and switch between per-section views.
  7. Export to JSON / CSV / XLSX.

๐Ÿค– Use via API

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"make.com","keyword":"ai automation","include_traffic":true,"include_backlinks":true}'

๐Ÿ’ก Best Use Cases

  • Competitor SEO benchmarking at scale
  • Keyword research & content gap analysis
  • Backlink & broken-link audits
  • Tracking AI/LLM brand visibility

๐Ÿ’ฐ Pricing

This actor uses pay-per-event: you are billed per result record it produces (plus standard platform usage). Captcha-solver costs (CapSolver/2Captcha) are billed by those providers directly, not by Apify.

โ“ FAQ

Do I need an Ahrefs account? No โ€” this uses Ahrefs' public free tools.

Do I need a captcha key? No โ€” Ahrefs protects every free tool with Cloudflare Turnstile, but this actor solves it automatically with a built-in solver.

Will it use a proxy? Only if Ahrefs blocks the direct connection โ€” it then escalates to datacenter, then residential, and stays there.

Some fields are empty โ€” why? A given tool may have no data for a target (e.g. a brand-new domain), or Ahrefs returned an error for that one call; the rest of the run still succeeds.

๐Ÿ›Ÿ Support & Feedback

Open an issue on the actor's Issues tab in the Apify Console with your run ID and input, and we'll help.

Data is collected only from publicly available Ahrefs free-tool endpoints. You are responsible for compliance with applicable laws (GDPR, CCPA, etc.) and Ahrefs' Terms of Service.