Skip to main content

Rank::MajesticSEO - Parser of backlinks quantity from majesticseo.com

Overview of Majestic parser

Majestic Parser is one of the most popular parsers for SEO specialists as it allows you to obtain such important indicators as Trust Flow and Citation Flow. With the help of the automated multithreaded Majestic parser, you can parse such data as the number of referring domains, backlinks, and indexed pages.

The functionality of A-Parser allows you to save parsing settings for further use (presets), set a parsing schedule, and much more.

Thanks to the multithreaded work of A-Parser, the processing speed of requests can reach 100 requests per minute using only 50 threads.

Rank::MajesticSEO parser speed

Saving results is possible in the format and structure that you need, thanks to the built-in powerful Template Toolkit template engine that allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

Starting from version 1.2.481, it is mandatory to install Node.js and the brotli module

List of collected data

Data is collected from the service www.majesticseo.com/

  • Number of referring domains
  • Number of backlinks
  • Number of indexed pages
  • Trust Flow and Citation Flow indicators

Data collected by Rank::MajesticSEO parser

Usage scenarios

  • Obtaining summary information about the domain
  • Estimation of the number of backlinks
  • Estimation of traffic on the domain

Query examples

  • A list of domains must be specified as queries, for example:
a-parser.com  
yandex.ru
google.com
vk.com
facebook.com
youtube.com

Result output options

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

Exporting a list of results

Result format:

$query - domains: $domains, backlinks: $backlinks, trust: $trustflow, citation: $citationflow, indexed: $indexed\n

The result displays the domain, the number of backlinks, the number of referring IP addresses, trust, citation, and indexed pages.

Result example:

facebook.com - domains: 28384898, backlinks: 83357892873, trust: 99, citation: 99, indexed: 6743835203
a-parser.com - domains: 380, backlinks: 90219, trust: 12, citation: 38, indexed: 16121
yandex.ru - domains: 592182, backlinks: 1751277762, trust: 88, citation: 82, indexed: 92468056
google.com - domains: 21134537, backlinks: 32206959211, trust: 100, citation: 100, indexed: 3278520318
vk.com - domains: 1145676, backlinks: 3235015237, trust: 90, citation: 85, indexed: 372205938
...

Outputting results to a CSV table

The built-in tools.CSVLine utility allows you to create correct tabular documents ready for import into Excel or Google Sheets.

General result format:

[% tools.CSVline(p1.query.orig,p1.domains,p1.trustflow,p1.citationflow,p1.indexed) %]

File name:

$datefile.format().csv

Initial text:

Домен,Ссылающиеся домены,Траст,Цитирование,Индексация

Result example:

Домен,Ссылающиеся домены,Траст,Цитирование,Индексация
a-parser.com,380,12,38,16121
yandex.ru,592182,88,82,92468056
vk.com,1145676,90,85,372205938
facebook.com,28384898,99,99,6743835203
google.com,21134537,100,100,3278520318
tip

The Template Toolkit template engine is used to output results in the General Results Format.
What is the General Results Format?

In the results file name, 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 "Initial text", write the column names separated by commas and make the second row empty.

Saving in SQL format

Result format:

INSERT INTO serp VALUES('$p1.query.orig', '$p1.domains', '$p1.backlinks', '$p1.trustflow', '$p1.citationflow', '$p1.indexed')\n

Result example:

INSERT INTO serp VALUES('google.com', '21134537', '32206959211', '100', '100', '3278520318')
INSERT INTO serp VALUES('vk.com', '1145676', '3235015237', '90', '85', '372205938')
INSERT INTO serp VALUES('yandex.ru', '592182', '1751277762', '88', '82', '92468056')
INSERT INTO serp VALUES('a-parser.com', '380', '90219', '12', '38', '16121')
INSERT INTO serp VALUES('facebook.com', '28384898', '83357892873', '99', '99', '6743835203')

Dumping results in JSON

Result format:

[% data = {};  
data.query = p1.query.orig;
data.exists = p1.exists; %]$data.json\n

Result example:

{"indexed":"372205938","domains":"1145676","citationflow":"85","query":"vk.com","trustflow":"90","backlinks":"3235015237"}
{"indexed":"92468056","domains":"592182","citationflow":"82","query":"yandex.ru","trustflow":"88","backlinks":"1751277762"}
{"indexed":"6743835203","domains":"28384898","citationflow":"99","query":"facebook.com","trustflow":"99","backlinks":"83357892873"}
{"indexed":"3278520318","domains":"21134537","citationflow":"100","query":"google.com","trustflow":"100","backlinks":"32206959211"}
{"indexed":"16121","domains":"380","citationflow":"38","query":"a-parser.com","trustflow":"12","backlinks":"90219"}

Results processing

A-Parser allows you to process results during parsing, in this section, we have provided the most popular use cases for the Rank::MajesticSEO parser.

Saving domains with the required trust

Add a filter and select the variable values check ($trustflow - Trust flow) from the drop-down list. Select the type, for example: >. Then you need to enter the value we need in "Number": 10. With this filter, you can remove all results with a Trust flow value less than 10.

Example of using a filter in the Rank::MajesticSEO parser

Download example

How to import an example into A-Parser

eJx9VFFP20AM/ivRCaRNggoe9lK0SQWt0iagDMpT24cjcbqjl3O4u5RWUf479iW9
tMD21Nr+7LM/f3EtvHQrd2fBgXdiOKtFGf6LobiXZjUc3shncF6lDz8nyWkyVtqD
TWAji1KDOBGltA4sZ84+JlA8g1xW2ouTWvhtCVQW12CtyjhZZWSXFjdbC94qcORb
S10x7PzsTDT/zgruHm0R/f/g6V+LxV6CtxXswfMwFoVpdu6W6tvK+VzjKznb6LSF
/jjokQwsvUJDlgPjRLNY7Kq4MdpCcrHZcZJJL5PvSd1cJMncsDV4qcBuyVeet38H
aNXyYhfNsJDKuDbeGTH4JNOVVmbVhaMZAbH9FhDNCEiVl9x3j9n3RJgyGWwgaxGd
wcHjxVGIPzs087mJzLkHuYYptpRC7ybdwK0smDROBI4O8sDPl68DvyGBCJllihuQ
uiWORdWT+WjUSyDdIGGZMNLLmLbKy4JQILC4I30mjoItqEQVcv+0OWKYS+3gRDhq
dSypkex9RNG6pUc7Caslfy3QjLS+hjXoHhbqX1ZKZ/QFjHJK+tUlfg6ZfKjRxPH2
nyLtvlrqIVYJ1uXkps/K8BqXNHn2RHNrVShPtrvCyrDeWJYrgDJydsucFWghPtNV
7l6n778Ewx9Kv7JR2bsOxjhYy6EzJfmo5aT7+HbIykzpyEzMFfLR4LlMpTWtxcF9
L4+R69bARt/g++Sr8ASPvrsswiNq9/uhbbW0iuT3jRssiMn9V7uSqdT68f56PyJ6
SZEhT9urNkixmJutZNkPbDU3S8Ql6Ta416v2N5cpPCF2luDyHpZIwqPhm0W8kPHE
1p/cyWHd0FKf3V2LZQYYST6i0oXzct68AXxQ/Fc=

tip

See also: Results filters

Possible settings

Parameter nameDefault valueDescription
Check_typeRoot domainAllows you to select the type of check: Root Domain / Subdomain / URL
Use Chrome (Slow)Allows you to use the Chromium browser for parsing