Skip to main content

Rank::Ahrefs::TrafficChecker - Ahrefs Website Traffic Checker Scraper


Scraper Overview

Rank::Ahrefs::TrafficCheckerRank::Ahrefs::TrafficChecker – this scraper retrieves for a domain the amount of traffic, its cost, traffic history for the last six months, as well as the top 5 keywords, top 5 pages, and top 5 countries with the most traffic.

Data is collected from the page

To operate, a captcha solving service connection is required Util::TurnstileUtil::Turnstile.

Collected Data

  • Traffic volume and its cost
  • Traffic history for the last 6 months
  • Top 5 keywords with the highest traffic
  • Top 5 pages with the highest traffic
  • Top 5 countries with the highest traffic

what data the Rank::Ahrefs::TrafficChecker scraper collects


  • Automatic work with proxies
  • Choice of request type

Use Cases

  • Estimating website traffic and/or its dynamics
  • Identifying pages that receive the most traffic
  • Determining countries with the most traffic


As queries, it is necessary to specify domains, for example:

Output Results Examples

A-Parser supports flexible formatting of results thanks to the built-in template engine Template Toolkit, which allows it to output results in any form, as well as in structured formats, such as CSV or JSON

Output of traffic volume and its cost

Result format:

$query: $traffic, $cost\n

Example of result: 3134, 98.23 573, 355.11

Output of the top 5 countries and their shares in the total traffic to a CSV table

The built-in utility $tools.CSVLine allows creating correct table documents, ready for import into Excel or Google Sheets.

Result format:

[% FOREACH item IN countries;
tools.CSVline(query,, item.share);
END %]

File name:


Initial text:


Example of result:


Download example

How to import the example into A-Parser


In the Result Format, the Template Toolkit template engine is used to output the $countries array in a FOREACH loop.

In the file name of the results, you just need to change the file extension to csv.

To make the "Initial text" option available in the Task Editor, you need to activate "More options". In the "Initial text," we write the names of the columns separated by a comma, and make the second line empty.

Possible Settings

ParameterDefault ValueDescription
Util::Turnstile presetdefaultSelection of the Util::TurnstileUtil::Turnstile preset for bypassing captcha. It is necessary to pre-configure the scraper Util::TurnstileUtil::Turnstile - specify your access key and other parameters, after which select the created preset here.
Turnstile pass proxyPassing proxy to the captcha solving service. More details.
ModeSubdomainsChoice of request type
Do not search for sitekeyExperimental option, disables the search for captcha sitekey, which in turn speeds up the task start. In case of problems such as an invalid sitekey, this option should be disabled.