Some options are limited.

This site uses cookies and other tracking technologies to make possible your usage of the website, assist with navigation and your ability to provide feedback, analyse your use of our products and services, assist with our promotional and marketing efforts, and provide better user experience.

By using the website, you agree to our Privacy policy

Sign in Sign Up

Referring domains (getRefDomains)

The getRefDomains method gives you a list of referring domains of a site you analyze; the data set is similar to the Referring Domains report. Outdates metrics are not removed from the method to maintain backward compatibility.

General request parameters and instructions for using Serpstat API

Request parameters
Parameter Value Description
id any number or string Request id
method SerpstatBacklinksProcedure.getRefDomains API method name
params {...} Array with parameters
query domain
Domain of analyzed site
searchType domain_with_subdomains | url
Search type — domain with subdomains or url
(optional) page number
Page number. Default: 1
(optional) size number Number of results. Default: 20
(optional) order desc | asc
Sorting. Default: descending (by the number of referring pages)

Response parameters
Parameter Description
id Request id
result Contains the answer
data Array with data
domain_from Referring domain
ref_pages Number of referring pages of domain
domainRank Serpstat Domain Rank (SDR)
str Serpstat TrustRank (outdated)
spr Serpstat PageRank (outdated)
summary_info Array with data
page Page number
total Number of results for request
count Number of results in this answer
left_lines Left limit of lines for your pricing plan
sort What data is sorted by
order Data sorted in ascending / descending order

API limits are spent at 1 limit per line. Part of the API response for which you spend 1 limit:

{
"domain_from": "abroad.ucu.edu.ua",
"ref_pages": "258",
"domainRank": 13.700301,
"str": null,
"spr": null
}

Example
Request data:
{
    "id": 1,
    "method": "SerpstatBacklinksProcedure.getRefDomains",
    "params": {
        "query": {{url}},
        "searchType": {{"domain_with_subdomains"|"url"}},
        (optional) "page": {{page}},
        (optional) "size": {{size}},
        (optional) "order": {{"desc"|"asc"}}
    }
}
Response data:
{
    "id": "1",
    "result": {
        "data": [
            {
                "domain_from": "abroad.ucu.edu.ua",
                "ref_pages": "258",
                "domainRank": 13.700301,
                "str": null,
                "spr": null
            },
            {
                "domain_from": "101.datascience.community",
                "ref_pages": "258",
                "domainRank": 41.6473,
                "str": null,
                "spr": null
            },
            {
                "domain_from": "catholicnews.org.ua",
                "ref_pages": "256",
                "domainRank": 47.71492,
                "str": null,
                "spr": null
            }
        ],
        "summary_info": {
            "page": 1,
            "total": 2090,
            "count": 100,
            "left_lines": 996196,
            "sort": null,
            "order": null
        }
    }
}

Share this article with your friends

Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Optional
Back To Login

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

Are you sure?

Awesome!

To complete your registration you need to enter your phone number

Back

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.

Name

Email

Phone

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

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

Invite
View Editing

E-mail
Message
Optional
E-mail
Message
Optional

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