Ahrefs Top Websites
Pricing
from $1.00 / 1,000 results
Ahrefs Top Websites
Scrape top-ranking websites, trending websites, and detailed website analytics from Ahrefs Top. Extract search traffic data, domain ratings, backlink profiles, keyword rankings, and traffic trends for any website — filtered by country and category.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer

Codebyte
Actor stats
1
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Ahrefs Top Websites Scraper
Scrape top-ranking websites, trending websites, and detailed website analytics from Ahrefs Top. Extract search traffic data, domain ratings, backlink profiles, keyword rankings, and traffic trends for any website — filtered by country and category.
What does Ahrefs Top Websites Scraper do?
This actor extracts website ranking and analytics data from Ahrefs Top in three modes:
- Top Ranking — Scrape the ranked list of top websites with search traffic estimates, rank changes, and categories. Filter by country (190+ countries) and category (25+ categories).
- Top Trending — Get the fastest-growing and fastest-declining websites, with traffic deltas and rank movement.
- Website Details — Scrape in-depth analytics for specific domains: domain rating, backlink profile, search traffic metrics, top keywords, competitors, traffic history charts, and more.
You can also combine ranking/trending with details by enabling Include Website Details, which enriches each result with full analytics data.
How much does it cost?
This actor uses pay-per-event pricing:
| Event | Description |
|---|---|
result | Each website row from Top Ranking or Top Trending output |
detail-result | Each website detail result in Website Details mode or when including Details in Top Ranking or Top Trending |
You can set a spending limit on each run to control costs. The actor stops automatically when your event charge limit is reached.
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | string | top_ranking | Scraping mode: top_ranking, top_trending, or website_details |
country | string | worldwide | Filter by country (190+ supported). Used in top_ranking and top_trending modes |
category | string | all categories | Filter by category (e.g. Finance, Shopping, News, Entertainment). Used in top_ranking and top_trending modes |
top_ranking_result_limit | integer | 1000 | Maximum number of websites to scrape in top_ranking mode (minimum 100) |
top_list_include_website_details | boolean | false | When enabled in top_ranking or top_trending mode, enriches each result with full website details |
website_details | string[] | [] | List of domains for website_details mode. Accepts bare domains (wikipedia.org), full URLs (https://wikipedia.org), or Ahrefs Top URLs (https://ahrefstop.com/websites/wikipedia.org) |
Input examples
Top 500 finance websites in the United States:
{"mode": "top_ranking","country": "united states","category": "finance","top_ranking_result_limit": 500}
Trending websites worldwide with full details:
{"mode": "top_trending","country": "worldwide","category": "all categories","top_list_include_website_details": true}
Detailed analytics for specific domains:
{"mode": "website_details","website_details": ["wikipedia.org","github.com","reddit.com"]}
Important: When using
website_detailsmode with your own list of domains, be aware that Ahrefs Top only has detail data for popular/well-known websites. For lesser-known domains, Ahrefs Top returns no data (404), but you will still be charged for the request since we incur costs by sending it. Prefer usingtop_rankingortop_trendingmode withtop_list_include_website_detailsenabled.
Output
Top Ranking output
Each result contains the website's position in the Ahrefs ranking:
{"rank": 1,"delta": 0,"deltaDirection": "same","website": "google.com","category": "Internet & Telecom","searchTraffic": "16.1B","searchTrafficDelta": 0,"searchTrafficDeltaDirection": "down"}
| Field | Description |
|---|---|
rank | Current position in the ranking |
delta | Rank change since last update |
deltaDirection | Direction of rank change: up, down, or same |
website | Domain name |
category | Website category |
searchTraffic | Estimated monthly search traffic (abbreviated, e.g. 16.1B) |
searchTrafficDelta | Search traffic change value |
searchTrafficDeltaDirection | Direction of traffic change |
Top Trending output
Same fields as Top Ranking plus:
| Field | Description |
|---|---|
trendingDirection | Either trendingUp or trendingDown |
Website Details output
Detailed analytics for a single domain:
{"website": "github.com","websiteDescription": "GitHub is where people build software...","websiteSubtitle": "github.com","dataDate": "March 2026","domainRating": 97,"trafficRankWorldwide": {"rank": 42,"label": "Worldwide","delta": 2,"deltaDirection": "up"},"trafficRankCountry": {"rank": 28,"label": "United States","delta": 1,"deltaDirection": "up"},"trafficRankCategory": {"rank": 3,"label": "Computers & Electronics","delta": 0,"deltaDirection": "same"},"searchTrafficImpressions": {"value": 494800000,"delta": 8700000,"deltaDirection": "up"},"searchTrafficValue": {"value": 300000000,"delta": 0,"deltaDirection": "same"},"searchKeywords": {"value": 21000000,"delta": 0,"deltaDirection": "same"},"linkingWebsites": {"value": 7800000,"delta": 0,"deltaDirection": "same"},"topCompetitors": [{"website": "stackoverflow.com","traffic": "283.1M","trafficDelta": "+15.7M","rank": 64}],"similarlyRanked": [],"topKeywords": [{"keyword": "github","volume": "30.4M","volumeDelta": null,"traffic": "7.8M","trafficDelta": null,"position": "1","positionDelta": null}],"searchTrafficData": [{"date": "2024-01","search_traffic": 450000000,"search_traffic_value": 280000000}],"referringDomainsData": [{"date": "2024-01","value": 7500000}]}
| Field | Description |
|---|---|
website | Domain name |
websiteDescription | Site description from Ahrefs |
websiteSubtitle | Subtitle shown on the detail page |
dataDate | When the data was last updated (e.g. "March 2026") |
domainRating | Ahrefs Domain Rating (0-100) |
trafficRankWorldwide | Global traffic rank with delta |
trafficRankCountry | Country-level traffic rank with delta |
trafficRankCategory | Category-level traffic rank with delta |
searchTrafficImpressions | Estimated monthly search traffic with delta |
searchTrafficValue | Estimated monetary value of search traffic |
searchKeywords | Number of ranking keywords with delta |
linkingWebsites | Number of referring domains with delta |
topCompetitors | List of top competing websites |
similarlyRanked | List of similarly ranked websites |
topKeywords | Top organic keywords with volume, traffic, and position |
searchTrafficData | Historical search traffic time series |
referringDomainsData | Historical referring domains time series |
Enriched output (Top Ranking/Trending + Details)
When Include Website Details is enabled, each ranking or trending result includes a website_details field containing the Website Details object described above if Ahrefstop has data for this domain:
{"rank": 42,"delta": 2,"deltaDirection": "up","website": "github.com","category": "Computers & Electronics","searchTraffic": "494.8M","searchTrafficDelta": 8700000,"searchTrafficDeltaDirection": "up","website_details": {"websiteDescription": "GitHub is where people build software...","domainRating": 97,"topKeywords": [],"searchTrafficData": [],"..."}}
Use cases
- SEO research — Analyze top-performing websites in any niche to understand competitive landscapes
- Market intelligence — Track which websites are gaining or losing traffic in specific countries and categories
- Competitor analysis — Compare domain ratings, backlink profiles, and keyword rankings across competitors
- Trend monitoring — Identify fast-growing websites and emerging players in your industry
- Lead generation — Build lists of top websites by category and country for outreach campaigns
- Investment research — Evaluate the organic search presence and growth trajectory of digital businesses