Ahrefs Top Websites avatar

Ahrefs Top Websites

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Ahrefs Top Websites

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

Codebyte

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

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:

EventDescription
resultEach website row from Top Ranking or Top Trending output
detail-resultEach 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

FieldTypeDefaultDescription
modestringtop_rankingScraping mode: top_ranking, top_trending, or website_details
countrystringworldwideFilter by country (190+ supported). Used in top_ranking and top_trending modes
categorystringall categoriesFilter by category (e.g. Finance, Shopping, News, Entertainment). Used in top_ranking and top_trending modes
top_ranking_result_limitinteger1000Maximum number of websites to scrape in top_ranking mode (minimum 100)
top_list_include_website_detailsbooleanfalseWhen enabled in top_ranking or top_trending mode, enriches each result with full website details
website_detailsstring[][]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_details mode 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 using top_ranking or top_trending mode with top_list_include_website_details enabled.

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"
}
FieldDescription
rankCurrent position in the ranking
deltaRank change since last update
deltaDirectionDirection of rank change: up, down, or same
websiteDomain name
categoryWebsite category
searchTrafficEstimated monthly search traffic (abbreviated, e.g. 16.1B)
searchTrafficDeltaSearch traffic change value
searchTrafficDeltaDirectionDirection of traffic change

Same fields as Top Ranking plus:

FieldDescription
trendingDirectionEither 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
}
]
}
FieldDescription
websiteDomain name
websiteDescriptionSite description from Ahrefs
websiteSubtitleSubtitle shown on the detail page
dataDateWhen the data was last updated (e.g. "March 2026")
domainRatingAhrefs Domain Rating (0-100)
trafficRankWorldwideGlobal traffic rank with delta
trafficRankCountryCountry-level traffic rank with delta
trafficRankCategoryCategory-level traffic rank with delta
searchTrafficImpressionsEstimated monthly search traffic with delta
searchTrafficValueEstimated monetary value of search traffic
searchKeywordsNumber of ranking keywords with delta
linkingWebsitesNumber of referring domains with delta
topCompetitorsList of top competing websites
similarlyRankedList of similarly ranked websites
topKeywordsTop organic keywords with volume, traffic, and position
searchTrafficDataHistorical search traffic time series
referringDomainsDataHistorical 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