Ahrefs Scraper — Backlinks, Traffic, Keywords & AI Visibility
Pricing
from $3.70 / 1,000 results
Ahrefs Scraper — Backlinks, Traffic, Keywords & AI Visibility
Scrape Ahrefs for any domain or keyword — no login. The extras other scrapers skip: AI Search Visibility (citations in ChatGPT & Google AI Overviews / AI Mode), SERP rank tracking, broken links & sitemaps. Plus DR, backlinks, traffic & value, keyword difficulty & ideas. Filters, CSV/JSON.
📊 Ahrefs Scraper — SEO metrics for any domain or keyword
Pull Domain Rating, backlinks, organic traffic, traffic value, keyword difficulty, keyword ideas, rankings, sitemaps and AI-search visibility for any website or keyword — as clean rows you can export in one click. No Ahrefs login, no subscription.
Most "Ahrefs" scrapers stop at the three numbers on the overview widget. This one keeps going — the dollar value of that traffic, where it comes from, who ranks for a keyword, and whether a brand is being cited in AI answers:
| Typical scraper | 🎯 This Actor | |
|---|---|---|
| Domain Rating | 91 | 91 |
| Backlinks | 26,733,774 | 26,733,774 |
| Organic traffic | 3,674,687 | 3,674,687 |
| Traffic value | — | $543,595,000 / mo |
| Top pages / countries / keywords | — | ✅ where the traffic comes from |
| Keyword difficulty | 82 | 82 + backlinks needed to rank |
| Rank position | — | #1 for "backlink checker" |
| AI-search visibility | — | 513,831 citations, by model |
| Sitemap | — | 936 URLs, full list |
⚡ Quick start
- Click Try for free.
- Add domains (
ahrefs.com), keywords (seo tools), or both. - Pick a country and toggle on what you need.
- Hit Start ▶️
Results appear live in the Output tab and export to CSV, Excel, JSON or XML.
Simplest possible input:
{"urls": ["ahrefs.com", "semrush.com", "moz.com"]}
Keyword research with rank tracking:
{"keywords": ["seo tools", "backlink checker"],"country": "us","rankDomain": "ahrefs.com","withQuestionIdeas": true}
Find only strong sites (nothing weak is charged):
{"urls": ["site-a.com", "site-b.com", "site-c.com"],"minDomainRating": 60,"minOrganicTraffic": 100000}
The world's top websites in a category:
{"includeTopWebsites": true,"topWebsitesCategory": "Finance","topWebsitesLimit": 50}
📥 What you can feed it
| You give it | You get back |
|---|---|
| 🌐 A domain or URL | Domain Rating, backlinks, referring domains, organic traffic & its dollar value |
| 🔑 A keyword | Difficulty, SERP overview, keyword ideas, and where a domain ranks for it |
| 🏷️ A brand + keywords | How that brand shows up in AI answers (AI Overviews, AI Mode, AI assistants) |
| 🗺️ A domain + sitemap on | Every URL in the site's sitemap |
| 🔗 A domain + backlinks on | Its top backlinks and its broken inbound links |
| 🌍 Nothing — just Top Websites on | The world's top sites by organic traffic, with category & monthly change |
Mix domains and keywords freely in the same run. Results split into clean, per-type tables so no column is ever half-empty.
🏆 What makes it different
1. The number that matters — traffic value. 💰 trafficValueMonthlyUsd tells you what a site's organic traffic would cost in ads. A DR score is vanity; this is the money.
2. Where the traffic actually comes from. 📄 topPages, 🌍 topCountries and 🔑 topKeywords — the pages, markets and search terms driving a site, not just the total.
3. AI-search visibility. 🤖 See how often a brand is cited in AI answers — aiTotalCitations broken down by model, plus AI Overviews and AI Mode mentions, top topics and top cited domains. This is where SEO is heading, and almost nobody ships it.
4. Real rank positions. 📍 Give a domain and get its exact position for each keyword — computed from the live SERP, with the full top-10 so you see who you're up against, even when you don't rank.
5. Filters that save you money. 🎯 minDomainRating, minOrganicTraffic, minTrafficValueUsd, maxKeywordDifficulty and more. Rows that don't match are dropped before they're counted — you only pay for the ones you asked for.
6. Clean data, no junk. Duplicates, empty rows and filtered rows are removed on the fly and never charged. Every field that comes back is real — blanks are left out, never guessed.
7. One Actor, seven tools. Website authority, traffic, backlinks, broken links, keyword difficulty, keyword ideas, rank tracking, sitemaps and AI visibility — all in one run.
📤 Example output
Website row (trimmed):
{"type": "url","target": "ahrefs.com","mode": "subdomains","domainRating": 91,"backlinks": 26733774,"refDomains": 117162,"dofollowBacklinks": 60,"organicTrafficMonthly": 3674687,"trafficValueMonthlyUsd": 543595000,"topPages": [{ "url": "https://ahrefs.com/backlink-checker", "traffic": 614024, "sharePct": 39.5 }],"topCountries": [{ "country": "us", "sharePct": 48.2 }],"topKeywords": [{ "keyword": "backlink checker", "position": 1, "traffic": 642000 }],"sitemapUrlCount": 936}
Keyword row (trimmed):
{"type": "keyword","target": "backlink checker","country": "us","keywordDifficulty": 91,"backlinksNeededToRank": 835,"serpTopCount": 10,"keywordIdeaCount": 20,"rankDomain": "ahrefs.com","rankPosition": 1,"rankFound": true,"aiTotalCitations": 513831,"aiCitationsByModel": [{ "model": "Gemini", "citations": 27271 }, { "model": "Copilot", "citations": 29304 }],"aiOverviewMentions": 223676,"aiModeMentions": 12941}
🗂️ Output tables
Websites and keywords have different fields, so the results come as two clean tables — open the one you need and every column is filled:
- 🌐 Websites — one row per domain (DR, backlinks, traffic, traffic value, sitemap size)
- 🔑 Keywords — one row per keyword (difficulty, rank, AI visibility, idea count)
- 🌍 Top Websites — the global ranking (when that toggle is on)
- 📋 Everything — all rows together, for a single export
And four detail datasets, populated on demand:
- 🔗 Backlinks — top backlinks per domain (source, anchor, DR, link type)
- 🚫 Broken links — broken inbound links pointing at a domain
- 💡 Keyword ideas — suggestions per seed keyword, with volume & difficulty labels
- 🗺️ Sitemap — every URL in a site's sitemap
🎛️ What you can pull
| Toggle | You get |
|---|---|
| Website authority | Domain Rating, Ahrefs Rank, backlinks, referring domains, dofollow split |
| Traffic | Organic traffic, its dollar value, monthly history, top pages / countries / keywords |
| Sitemap | Total URL count + the full URL list |
| Backlinks | Top backlinks: source URL, anchor, title, DR, link type |
| Broken links | Broken inbound links pointing at the domain |
| Keyword difficulty | KD score, backlinks needed to rank, SERP overview |
| Keyword ideas | Related keywords with volume & difficulty labels, plus question keywords |
| Rank position | Where a domain you name ranks for each keyword |
| AI visibility | Citations in AI answers, broken down by model |
| AI Overviews / AI Mode | Brand mentions, top topics and top cited domains |
| Top websites | The global top 100 sites by organic traffic — rank, domain, category, monthly traffic & change (filter by category) |
🎯 Filters
Narrow the run to exactly the rows you want — and pay only for those:
- 🌐 Websites —
minDomainRating,maxDomainRating,minBacklinks,minRefDomains,minOrganicTraffic,minTrafficValueUsd - 🔑 Keywords —
minKeywordDifficulty,maxKeywordDifficulty
Anything that doesn't match is dropped before it's counted. The run summary tells you how many were filtered and by which rule.
🍳 Recipes
🔍 Size up a list of competitors
Drop in their domains. Sort the Websites table by trafficValueMonthlyUsd to see who's really winning.
💸 Find undervalued keywords
Keywords + maxKeywordDifficulty: 30. Easy to rank for, and you never pay for the hard ones.
📍 Track your rankings
Keywords + rankDomain: "yoursite.com". Schedule it weekly to watch positions move.
🤖 Measure your AI-search footprint Your brand + your money keywords + AI toggles on. See where you're cited in AI answers — and where competitors are cited and you aren't.
🔗 Audit a site's link profile One domain with backlinks and broken links on. Find your best links and the broken ones worth reclaiming.
🌍 See who leads a market Turn on Top Websites and set a category (e.g. Finance). Get the top sites in that space by organic traffic, ranked, with month-over-month change.
🏆 Qualify prospects fast
A big list of domains + minDomainRating: 50 + minOrganicTraffic: 50000. Only the sites worth your time come back.
❓ FAQ
Do I need an Ahrefs account? No. 🔓 Everything here comes from public data — no login, no subscription, no seat.
Which countries can I get traffic and keyword data for?
Any 2-letter country code (us, gb, de, in…).
Do I pay for duplicates, empty or filtered rows? No — only real, saved rows count. Duplicates and blanks are removed automatically, and filtered rows are dropped before billing.
Why is a keyword's rank position sometimes empty?
Because the domain genuinely isn't in that keyword's top results — rankFound tells you honestly, and rankSerp still shows who does rank. Nothing is invented.
Why do my numbers differ slightly from Ahrefs? The figures update continuously; a number read a minute later will differ by a hair. What's guaranteed is that each value is the exact one reported at the moment it was read.
How much does it cost? You pay per row saved, and it's all-in — no separate charge for starting the run. Set a maximum on the run if you want a hard ceiling.
Can I schedule it or call it from code? Yes ⏰ — use Apify's scheduler, or the Apify API and JavaScript/Python clients like any other Actor. Every run is independent and reproducible.
What if I make a mistake in the input? You get a plain-English note on the run's status line, and the run stops in seconds without burning your budget.