Skip to main content

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

img

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 https://ahrefs.com/traffic-checker.

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

Capabilities

  • 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

Queries

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

yep.com
a-parser.com

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:

a-parser.com: 3134, 98.23
yep.com: 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.country, item.share);
END %]

File name:

$datefile.format().csv

Initial text:

Domain,Country,Share

Example of result:

Domain,Country,Share
a-parser.com,ru,53.1991497505531
a-parser.com,ua,31.2919846320361
a-parser.com,by,6.85420472892478
a-parser.com,us,2.47882258679986
a-parser.com,in,0.973089501699025
yep.com,us,85.3846476280789
yep.com,pk,3.9699361902533
yep.com,ph,2.72343071837447
yep.com,co,2.6309633617564
yep.com,kz,1.83450731299592

Download example

How to import the example into A-Parser

eJx9VNtu2zAM/RVDaIEW8IJ1wF68J9dtsA5Z3OWylyQoCJtOtMiSKsnZAiP/Pspx
7KQd9mZejnjIQ7pmDuzWPhu06CyLFjXTzTeLWI4FVMKxkGkwFo0PL9gE5DaK4o3B
wkbRzEBR8CzZYLZFQ6kdqGZur5GeUTs0hudIQZ6TPXdcvEwwAe2yDXx6aeuFbAei
wrO6h9UqZBSkbztUpgRPanEdDNPJY5x8DbjDMngaB/pukKlKOsPRflnKIAicUsIO
kulPwSXevFZo9mGT3iaeLLsBg7eEeRw/BNcr1pWbwg5nisoVXGDvHpI1htKTvMrB
oY8Oiobaze0gsztKhTznjisJ4sjZT63vYy75a9OkVJTrmRHpoVEluRz+ca1zf+p3
wa4am9ETVYP9ccSwqABhMWSWqA6BiORvI9SiAadMqj0f8tdMyViIEe5Q9GnN+/cV
FzlJHBcEemqB/05J371x6No7L0Wy/zbEoXulse7T7z0qVyO1Pg1D8JI7sm3iNSLv
R3JuEXU3s7FPK5XBrowzFXbFaYk1Sr9iD6oELsOkFXvqZV7KXsdYt4nsTW8XWl06
MyULvk7bZT5lVnJG95PKRJVaoG9WVkKQVhYn/c7EttXGG9083oGTpsTF5TWb/G16
pKoNp5387AmWNN7zqu2TGQgxn4zOI6zfMzL2qOkGyqWED8ej9hbzQIdrRXtGbR1W
3cV3/4X6/3cf1QeS85d9PsJ8mx5EPpqXJa1YdHf4C0nBj14=
tip

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.