11385
Serpstat updates 14 min read December 1, 2020

Backlink analysis: interface search upgrade, API filters and sorting

Let's speed your work up!
Фильтры и сортировки для API анализа ссылок
Backlink analysis: interface search upgrade, API filters and sorting 16261788445766
Yuliia Zadachenkova
Product Marketer Serpstat
We decided to reduce your time for analyzing the backlink mass and reduce the consumption of API credits. Meet filters and sorting in the API Backlink analysis.

As a bonus — additional search modes for the Serpstat backlinks index. Let's take a look at all the updates in Backlink analysis!

Additional search modes in the interface

Now you can select the search modes in Backlink analysis module to receive data for a more specific request:

  • "Root domain" and "With subdomains": data can be obtained both for the root domain (apple.com) and taking into account subdomains (support.apple.com);

  • "URL": data on the analyzed URL;

  • "URL prefix": data for the part of the site whose pages start with the search string.
backlink analysis
Case: It is not uncommon to analyze the link profile for a specific product category/subdomain/specific page. When analyzing the entire domain, you get a large array of data, then spend time filtering and selecting data, in general, double work.

With new search types, data will only be available for a specific request.

On the example of the site nike.com. It would help if you analyzed the link profile for pages of a specific clothing category:
    1
    Select the search type "URL prefix" and enter part of the URL: https://www.nike.com/men;
    2
    Analyze the link profile for this category. Now you can optimize it and competitors' analysis will help you;
    3
    Enter the category of a relevant competitor and collect high-quality domains-donors that fit your category.
    How Serpstat Helps Digital Marketing Agencies: Experience Of Strategy Plus
    This way you can:

    • analyze and get more specific data;
    • with the new search types you can analyze the exact URL to compare it with the competitor's;
    • part of the URL helps work with the product category and all the items in it.
    Now we'll show you the bigger updates =)

    Filters in the API Backlink analysis

    Want to reduce the amount of data in reports, get the information you need most and save API credits? All this is possible with filters in the API!

    If you are new to the API — we have an article, there you will find answers to all your questions.
    Quick and easy Backlink analysis with Serpstat API is now available
    To find out which parameter you can filter by, click on the plus next to the selected method:
    getNewBacklinks
    The method gives you a list of active backlinks of a site you analyze. The data set is similar to the Aсtive Backlinks report:
    • url_from
    • url_to
    • link_nofollow
    • link_type
    • links_external
    • lastupdate
    • anchor
    getLostBacklinks
    The method gives you a list of lost backlinks of a site you analyze. The data set is similar to the Lost Backlinks report:
    • url_from
    • url_to
    • link_nofollow
    • link_type
    • links_external
    • lastupdate
    • anchor
    getOutlinks
    The method gives you a list of external backlinks of a site you analyze. The data set is similar to the External Backlinks report:
    • url_from
    • url_to
    • link_nofollow
    • link_type
    • links_external
    • lastupdate
    • anchor
    getAnchors
    The method gives you a list of keywords used as anchors for backlinks of a site you analyze. The data set is similar to the Anchors report:
    • anchor
    • refDomains
    • total
    • noFollow
    getRefDomains
      The method gives you a list of referring domains of a site you analyze; the data set is similar to the Referring Domains report.:
      • domain_from
      • domain_rank
      • domain_links
      getThreats
      The method returns a list of malicious domains referring to the analyzed domain and information on them. The data set is similar to the Malicious sites report.:
      • lastupdate
      • domain_link
      • links_count
      • platform_type
      • threat_type
      getThreatsLinks
      The method returns a list of links from malicious sites referring to the analyzed domain. The data set is similar to the Malicious sites report:
      • lastupdate
      • url_from
      • platform_type
      • threat_type
      • domain_from
      • url_to
      getOutThreats
      The method returns a list of malicious domains referring to the analyzed domain and information on them. The data set is similar to the Malicious sites report:
      • domain_link
      • links_count
      • platform_type
      • threat_type
      • lastupdate
      getOutThreatsLinks
      The method returns a list of links from malicious sites referring to the analyzed domain. The data set is similar to the Malicious sites report:
      • url_from
      • url_to
      • platform_type
      • threat_type
      • lastupdate
      getTopPages
      The method gives you a list of leading pages of the analyzed site by the number of backlinks with referring pages, domains and IPs. The data set is similar to the Top Pages report:
      • path_to
      • url_to
      • count
      • domains
      • ips
      getIntersect
      The method gives you a list of backlinks from intersecting donors to the analyzed domain. The data set is similar to the Links intersect report:
      • domain_from
      • domain_rank
      • links_count1
      • links_count2
      • links_count3 - если есть третий домен
      getOutDomains
      The method gives you a list of the domains that are linked to the analyzed site. The data set is similar to the External domains report:
      • domain_to
      • domain_rank
      • domain_links
      To apply filters, you'll need the parameter compare type.

      Available compareType parameters:

      • gt — greater than (numbers);
      • lt — less than (numbers);
      • gte — greater than, or equal to (numbers);
      • lte — less than, or equal (numbers);
      • eq — exact match (numbers, strings);
      • neq — does not match (numbers, strings);
      • between — between (numbers);
      • contains — contains (strings);
      • notContains — does not contain (strings);
      • startsWith — starts with (strings);
      • endsWith — ends with (strings).

      API sorting

      Use data sorting to get information in a ready-to-work format.

      Like filtering, sorting for each API v4 method is possible by a set of parameters. We'll show you how to do it right, and examples of parameters will always be here or in our API guide if you suddenly forget something.

      Sorting is specified in the sort parameter. Below are the possible sorting options for each API method =)
      getNewBacklinks
      The method gives you a list of aсtive backlinks of a site you analyze. The data set is similar to the Aсtive Backlinks report:
      • links_external
      • link_nofollow
      • url_from
      • link_type
      • url_to
      get LostBacklinks
      The method gives you a list of lost backlinks of a site you analyze. The data set is similar to the Lost Backlinks report.:
      • links_external
      • link_nofollow
      • url_from
      • link_type
      • url_to
      get Outlinks
      The method gives you a list of external backlinks of a site you analyze. The data set is similar to the External Backlinks report.:
      • links_external
      • link_nofollow
      • url_from
      • link_type
      • url_tо
      getAnchors
      The method gives you a list of keywords used as anchors for backlinks of a site you analyze. The data set is similar to the Anchors report:
      • total
      • refDomains
      • noFollow
      • anchor
      getRefDomains
        The method gives you a list of referring domains of a site you analyze; the data set is similar to the Referring Domains report:
        • domain_links
        • domain_from
        • domain_rank
        getThreats
        The method returns a list of malicious domains referring to the analyzed domain and information on them. The data set is similar to the Malicious sites report:
        • lastupdate
        • domain_link
        • links_count
        • platform_type
        • threat_type
        getThreatsLinks
        The method returns a list of links from malicious sites referring to the analyzed domain. The data set is similar to the Malicious sites report:
        • url_from
        • url_to
        • platform_type
        • threat_type
        • lastupdate
        getOutThreats
        The method returns a list of malicious domains referring to the analyzed domain and information on them. The data set is similar to the Malicious sites report:
          • lastupdate
        • domain_link
        • links_count
        • platform_type
        • threat_type
        getOutThreatsLinks
        The method returns a list of links from malicious sites referring to the analyzed domain. The data set is similar to the Malicious sites report:
        • url_from
        • url_to
        • platform_type
        • threat_type
        • lastupdate
        getTopPages
        The method gives you a list of leading pages of the analyzed site by the number of backlinks with referring pages, domains and IPs. The data set is similar to the Top Pages report:
        • ips
        • count
        • domains
        • url_to
        getIntersect
        The method gives you a list of backlinks from intersecting donors to the analyzed domain. The data set is similar to the Links intersect report:
        • domain_rank
        • links_count1
        • links_count2
        • links_count3
        getOutDomains
        The method gives you a list of the domains that are linked to the analyzed site. The data set is similar to the External domains report:
        • domain_links
        • domain_to
        • domain_rank
        Personal demonstration
        Leave a request, and we will conduct a personal demonstration of the service for you, provide you with a trial period, and offer comfortable conditions for starting exploring the tool

        How it works

        After the theory, we can start to practice. Let's look at an illustrative situation to face the challenges.
        Case: We offer to identify and eliminate malicious domains for your site, directly affecting your ranking and conversion on the site.

        In this case, domain and subdomains need analysis.
        1
        Choose the getThreats method for analyzing referring malicious domains or getOutThreats for malicious acceptor domains;
        2
        Enter "domain_with_subdomains" for the searchType parameter;
        3
        First, we want to eliminate sites that threaten all operating systems. To do this, enter "7" into the complexFilter line;
        * For platform_type and threat_type parameters, numbers correspond to specific platform and threat type. You can find this information in the manual.
        4
        And to visually make it easier to work with the data, write lastupdate in the sort line. This will give us ordered information.
        Here's an example of the API request and response:
        Request:
        
        {
         "id": 1,
         "method": "SerpstatBacklinksProcedure.getThreats",
         "params": {
             "query": "kinopoisk.ru",
             "searchType": "domain_with_subdomains",
             "sort": "lastupdate",
             "order": "desc",
             "linkPerDomain": 1,
             "complexFilter": [
                    [
                        {
                            "field": "lastupdate",
                            "compareType": "gt",
                            "value": [
                                "25.09.2020"
                            ]
                        },
                        {
                            "field": "domain_link",
                            "compareType": "contains",
                            "value": [
                                ".com"
                            ]
                        },
                        {
                            "field": "links_count",
                            "compareType": "gte",
                            "value": [
                                "1"
                            ]
                        },
                        {
                            "field": "platform_type",
                            "compareType": "contains",
                            "value": [
                                "7"
                            ]
                        },
                        {
                            "field": "threat_type",
                            "compareType": "contains",
                            "value": [
                                "1"
                            ]
                        }
                    ]
                ]
          }
        }
        
        
        Response:
        {
            "id": "1",
            "result": {
                "data": [
                    {
                        "domain": "thevampireclubrus.blogspot.com",
                        "domain_link": "http://thevampireclubrus.blogspot.com",
                        "links_count": 22,
                        "platform_type": [
                            "all_platforms"
                        ],
                        "threat_type": [
                            "malware"
                        ],
                        "lastupdate": "2020-12-02 08:48:52"
                    }
                ],
                "summary_info": {
                    "left_lines": 999708,
                    "page": 1,
                    "count": 1,
                    "total": 1,
                    "sort": "lastupdate",
                    "order": "DESC"
                }
            }
        }

        Filters and sorting at export

        Taking into account filters and sorts during export allow:

        • reduce file size;
        • save export credits;
        • get only the necessary data at the output.


        Now you know how to get organized, sorted data that is much easier to work with!
        If you lack information about API methods, read it in the Tutorial !

        Let's sum up

        New features will allow your profile to have a faster and more convenient link analysis:
        1. Analysis of only the necessary data;
        2. Saving credits for API;
        3. Convenient search by domain and subdomains, URL or part of the URL in the service interface.
        Personal demonstration
        Our specialists will contact you and discuss options for further work. These may include a personal demonstration, a trial period, comprehensive training articles, webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.

        Speed up your search marketing growth with Serpstat!

        Keyword and backlink opportunities, competitors' online strategy, daily rankings and SEO-related issues.

        A pack of tools for reducing your time on SEO tasks.

        Get free 7-day trial

        Rate the article on a five-point scale

        The article has already been rated by 6 people on average 5 out of 5
        Found an error? Select it and press Ctrl + Enter to tell us

        Share this article with your friends

        Are you sure?

        Introducing Serpstat

        Find out about the main features of the service in a convenient way for you!

        Please send a request, and our specialist will offer you education options: a personal demonstration, a trial period, or materials for self-study and increasing expertise — everything for a comfortable start to work with Serpstat.

        Name

        Email

        Phone

        We are glad of your comment
        I agree to Serpstat`s Privacy Policy.

        Thank you, we have saved your new mailing settings.

        Report a bug

        Cancel
        Open support chat
        mail pocket flipboard Messenger telegramm