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

Backlinks dynamics (getBacklinksChangesHistory)

The getBacklinksChangesHistory method returns the history of found and lost backlinks for the analyzed site. The data set is similar to the graphs "Linking page dynamics" and "New and lost backlinks" charts in the "Summary report".

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.getBacklinksChangesHistory
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 required 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 Contains the answer
data Array with data
date Update date
lost_links Number of lost backlinks 
new_links Number of new backlinks
summary_info Object with data
left_lines Left credits of lines for your pricing plan
count Number of results in this answer
page Page number
total Number of results for the request (not used in this procedure)
sort What data are sorted by (not used in this procedure)
order Data sorted (not used in this procedure)

1 request charges 1 API credit. 

Example
Request data:
{
    "id": 1,
    "method": "SerpstatBacklinksProcedure.getBacklinksChangesHistory",
    "params": {
        "query": "serpstat.com",
        "searchType": "domain_with_subdomains"
    }
}
Response data:
{
    "id": "1",
    "result": {
        "data": [
            {
                "date": "2021-06-07",
                "lost_links": 759,
                "new_links": 434
            },
            {
                "date": "2021-06-14",
                "lost_links": 1,
                "new_links": 9
            },
            {
                "date": "2021-06-21",
                "lost_links": 0,
                "new_links": 10
            },
            {
                "date": "2021-06-28",
                "lost_links": 5,
                "new_links": 3074
            },
            {
                "date": "2021-07-05",
                "lost_links": 2,
                "new_links": 3414
            }
        ],
        "summary_info": {
            "left_lines": 999997,
            "page": 1,
            "count": 108,
            "total": null,
            "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

Introducing Serpstat

Find out about the main features of the service in a convenient way for you!

Please send a request, and our specialist will offer you education options: a personal demonstration, a trial period, or materials for self-study and increasing expertise — everything for a comfortable start to work with Serpstat.

Name

Email

Phone

We are glad of your comment
I agree to Serpstat`s Privacy Policy.
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

Thank you, we have saved your new mailing settings.

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
Open support chat