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

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

By using the website, you agree to our Privacy policy

Sign in Sign Up

Anchors (getAnchors)

The getAnchors  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. 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.getAnchors 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) anchor anchor text Anchor text to filter on it. Default: not filtered
(optional) count number Number of words in  anchor to filter. Default: not filtered
(optional) order desc | asc Sorting. Default: descending
(optional) sort total | refDomains | noFollow Selects a data column to sort. Default: refDomains

Response parameters
Parameter Description
id Request id
result Contains the answer
data Array with data
anchor Anchor content
url_from Linking page
url_to Target page
refDomains Number of referring domains with an anchor
total Number of backlinks with an anchor
noFollow Number of nofollow backlinks with an anchor
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:

     "anchor": "Офіційна інформація",
     "refDomains": 27,
     "total": 4642,
     "noFollow": 0

Request data:
    "id": 1,
    "method": "SerpstatBacklinksProcedure.getAnchors",
    "params": {
        "query": {{domain}},
        (optional) "searchType": {{"domain_with_subdomains" | "url"}},
        (optional) "anchor": {{anchor text}},
        (optional) "count": {{words in anchor}},
        (optional) "page": {{page}},
        (optional) "size": {{size}},
        (optional) "order": {{"asc" | "desc"}},
        (optional) "sort": {{"total" | "refDomains" | "noFollow"}}
Response data:
    "id": "1",
    "result": {
        "data": [
                "anchor": "Офіційна інформація",
                "refDomains": 27,
                "total": 4642,
                "noFollow": 0
                "anchor": "Детальна інформація.",
                "refDomains": 1,
                "total": 4,
                "noFollow": 0
        "summary_info": {
            "total": 2,
            "page": 1,
            "sort": "refDomains",
            "order": "DESC",
            "count": 2,
            "left_lines": 9988460

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