TOP-10 Anchors
SerpstatBacklinksProcedure.getTopAnchors method returns information about the TOP-10 anchors, the number of backlinks with these anchors, and the number of domains on which the referring pages are located.
General request parameters and instructions for using Serpstat API
Request parameters | ||
Parameter | Description | |
id | required | A request id: the response contains the same id. Enter any number (number) or text (string) value |
method | required | API method name: SerpstatBacklinksProcedure.getTopAnchors |
params | required | The object with parameters {...}, it lists all the following parameters and arrays [...] |
query | required | A domain of the analyzed site. Specify the domain without HTTP, HTTPS, and "/" |
searchType | optional | Search type: * domain - only domain (site.com) * domain_with_subdomains - domain with subdomains (subdomain.site.com) |
Response parameters | |
Parameter | Description |
id | Response id corresponds the request id |
result | Object, which contains the answer |
data | Array which contains objects with data |
anchor | Contains anchor text |
backlinks_count | Number of backlinks with anchor text |
domains_count | Number of referring domains containing pages with links with anchor text |
summary_info | Contains an object with data |
left_lines | Left credits of API lines for your pricing plan |
referring_domains | Number of referring domains |
backlinks | Number of backlinks |
unique_anchors | Number of unique anchors |
sort | What data are sorted by |
order | Order: * asc - in the ascending order * desc - in the descending order |
1 API credit is spent per 1 request.
{
"id": "1",
"method": "SerpstatBacklinksProcedure.getTopAnchors",
"params": {
"query" : "facebook.com",
"searchType": "domain_with_subdomains"
}
}
{
"id": "1",
"result": {
"data": [
{
"anchor": "",
"backlinks_count": 9631781457,
"domains_count": 21637307
},
{
"anchor": "Facebook",
"backlinks_count": 3632875256,
"domains_count": 11419708
},
{
"anchor": "facebook",
"backlinks_count": 499970511,
"domains_count": 1453680
},
{
"anchor": "Share Share on Facebook",
"backlinks_count": 114796462,
"domains_count": 754093
},
{
"anchor": "https://www.facebook.com/about/privacy/",
"backlinks_count": 1150070,
"domains_count": 559207
},
{
"anchor": "Share",
"backlinks_count": 154201961,
"domains_count": 526031
},
{
"anchor": "Share on Facebook",
"backlinks_count": 194270177,
"domains_count": 503465
},
{
"anchor": "Facebook-f",
"backlinks_count": 61567370,
"domains_count": 371749
},
{
"anchor": "Facebook page",
"backlinks_count": 7600560,
"domains_count": 308833
},
{
"anchor": "Facebook0",
"backlinks_count": 18148941,
"domains_count": 265193
}
],
"summary_info": {
"left_lines": 988478,
"referring_domains": 172812719,
"backlinks": 18587594618,
"unique_anchors": 83369501,
"sort": "referring_domains",
"order": "desc"
}
}
}