Serpstat Domain Rank (SDR) Distribution
SerpstatBacklinksProcedure.getDistributionSDR method returns an array containing objects with SDR value ranges and the number of domains that are included in these ranges. The data set is similar to the graph SDR distribution in the Overview report.
Use case:
Using this method, SerpstatBacklinksProcedure.getDistributionSDR, check which SDR range has the most donor domains of the target site to determine the quality of that site's link profile.
General request parameters and instructions for using Serpstat API
Request parameters | |||||
Parameter | Description | Type | Required | Default value | Value options |
id | A request id: the response contains the same id. Enter any number (number) or text (string) value | int/string | yes |
| Text or number value. For example: 1, test |
method | API method name | string | yes |
| SerpstatBacklinksProcedure.getDistributionSDR |
params | The object with parameters {...}, it lists all the following parameters and arrays [...] |
| yes | ||
query | Domain of the analyzed site. Specify the domain without http / https and «/» | string | yes | The text value of the domain being analyzed. For example: facebook.com | |
searchType | Search modes for analysis | string | no | domain_with_subdomains | domain - domain only (site.com) domain_with_subdomains - domain with subdomains (subdomain.site.com) |
Response parameters | |
Parameter | Description |
id | Response id corresponds the request id |
result | Contains the answer |
data | Array, which contains objects with data |
sdr_range | Serpstat Domain Rank (SDR) range |
domains | Number of domains which range includes |
summary_info | Contains an object with data |
left_lines | Left credits of API lines for your pricing plan |
1 API credit is spent per 1 request.
{
"id": "1",
"method": "SerpstatBacklinksProcedure.getDistributionSDR",
"params": {
"query" : "facebook.com",
"searchType": "domain_with_subdomains"
}
}
{
"id": "1",
"result": {
"summary_info": {
"sort": "",
"order": "",
"left_lines": 499971
},
"data": [
{
"sdr_range": "0",
"domains": 11586082
},
{
"sdr_range": "1 - 9",
"domains": 8206404
},
{
"sdr_range": "10 - 19",
"domains": 9160026
},
{
"sdr_range": "20 - 29",
"domains": 4003907
},
{
"sdr_range": "30 - 39",
"domains": 1135135
},
{
"sdr_range": "40 - 49",
"domains": 259621
},
{
"sdr_range": "50 - 59",
"domains": 49314
},
{
"sdr_range": "60 - 69",
"domains": 7583
},
{
"sdr_range": "70 - 79",
"domains": 965
},
{
"sdr_range": "80 - 89",
"domains": 119
},
{
"sdr_range": "90 - 100",
"domains": 11
}
]
}
}