Ahrefs Scraper avatar

Ahrefs Scraper

Pricing

from $4.99 / 1,000 results

Go to Apify Store
Ahrefs Scraper

Ahrefs Scraper

🔎 Ahrefs Scraper automates extracting key SEO data from Ahrefs—backlinks, keywords & metrics—so you can accelerate link research, competitor analysis & content planning. 🚀 Great for SEOs, agencies & growth teams. ✅

Pricing

from $4.99 / 1,000 results

Rating

0.0

(0)

Developer

API Empire

API Empire

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 days 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.comActors.
  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.