Get access to 30+ marketing and SEO tools. analyze competitors, keywords, and backlinks for free..
Sign in Sign Up

We use cookies to make Serpstat better. By clicking "Accept cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Learn more

Malicious pages (getThreatsLinks)

getThreatsLinks method returns the list of backlinks from malicious domains referred to the analyzed domain and information on them.

General request parameters and instructions on using Serpstat API

Request parameters
Parameter Value Description
id any number or string Request ID
method SerpstatBacklinksProcedure.getThreatsLinks API method name
query domain
Domain of analyzed site
(optional) page number
Page number. 1 by default
(optional) size number Number of results. 20 by default
(optional) order asc | desc  Data sorted in ascending/descending order
(optional) sort
  • url_from
  • links_count
  • platform_type
  • threat_type
Sorting data
  • url_from
  • links_count
  • platform_type
  • threat_type
Data filter

Response parameters
Parameter Description
id Request id
result Contains the answer
data Block containing the list of domains and the information on them
domain Malicious domain
Link Malicious page URL
Links count Number of active backlinks


  • LINUX;
  • OSX;

Vulnerability type:

  • malware
  • social engineering
  • unwanted software
  • potentially harmful application
Last Update Last issue date
summary_info Contains general request information
page Page number
order Data sorted in ascending / descending order
sort Data used for sorting
total Total number of request results
count Number of results displayed in response
left_lines Remaining limits for pricing plan

API credits: for each backlink 1 credit is charged. In the absence of data credits aren’t charged.

Example PHP Python
Request data:
    "id": 1,
    "method": "SerpstatBacklinksProcedure.getThreatsLinks",
    "params": {
        "query": "",
        "page": 1,
        "size": 50,
        "order": "desc",
        "sort": "links_count"

Response data:
    "id": "1",
    "result": {
        "data": [
                "Domain": "",
                "Link": "",
                "Links count": 1,
                "0": "all_platforms",
                "1": "malware",
                "Last Update": "2019-11-12 16:37:02"
        "summary_info": {
            "page": 1,
            "order": "DESC",
            "sort": "links_count",
            "total": 1,
            "count": 1,
            "left_lines": 994001

Share this article with your friends

Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Back To Login

Don’t worry! Just fill in your email and we’ll send over your password.

Are you sure?


To complete your registration you need to enter your phone number


We sent confirmation code to your phone number

Your phone Resend code Queries left

Something went wrong.

Contact our support team
Or confirm the registration using the Telegram bot Follow this link
Please pick the project to work on

Personal demonstration

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

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.




We are glad of your comment
Upgrade your plan

Upgrade your plan

Export is not available for your account. Please upgrade to Lite or higher to get access to the tool. Learn more

Sign Up Free

Спасибо, мы с вами свяжемся в ближайшее время

View Editing


You have run out of limits

You have reached the limit for the number of created projects. You cannot create new projects unless you increase the limits or delete existing projects.

I want more limits