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

Domain History (domain_history)

The domain_history method provides historical data on the number of keywords and visibility of the domain. 

General request parameters and instructions for using Serpstat API

Response parameters
Parameter Description
result Contains the answer
domain A domain of the analyzed site
keywords Number of keywords found in the chosen search engine
traff Estimated search traffic based on keyword positions and search volume
visible Site visibility
visible_static Dynamics of visibility since the last update
new_keywords Number of new keywords since the last N-days monitoring
out_keywords Number of lost keywords since the last N-days monitoring
rised_keywords Number of keywords which positions of the domain have improved over the last N-days
down_keywords Number of keywords which positions of the domain have dropped over the last N-days
ad_keywords Number of keywords in PPC
ads Number of the PPC ads
date Verification date of a particular array element
status_msg Response "Ok" or "Error" report on a successful or unsuccessful request
status_code Response code "200" — successful request. Errors occur when credits are exceeded (number of simultaneous requests or account credits)
left_lines API credits remaining

Part of the API response for which you spend 1 credit:

{
    "domain": "nike.com",
    "keywords": 2603734,
    "traff": 240307722,
    "visible": 212.81692000000001,
    "visible_static": 212.81692000000001,
    "visible_mysql": 0,
    "new_keywords": 32499,
    "out_keywords": 37326,
    "rised_keywords": 40518,
    "down_keywords": 43717,
    "ad_keywords": 1197,
    "ads": 929,
    "date": "2021-04-29"
},

Example
Request data:
Response data:

{
    "result": [
        {
            "domain": "nike.com",
            "keywords": 2603734,
            "traff": 240307722,
            "visible": 212.81692000000001,
            "visible_static": 212.81692000000001,
            "visible_mysql": 0,
            "new_keywords": 32499,
            "out_keywords": 37326,
            "rised_keywords": 40518,
            "down_keywords": 43717,
            "ad_keywords": 1197,
            "ads": 929,
            "date": "2021-04-29"
        },
        {
            "domain": "nike.com",
            "keywords": 2613344,
            "traff": 255497238,
            "visible": 222.88057000000001,
            "visible_static": 222.88057000000001,
            "visible_mysql": 0,
            "new_keywords": 40573,
            "out_keywords": 30963,
            "rised_keywords": 49642,
            "down_keywords": 43635,
            "ad_keywords": 1098,
            "ads": 840,
            "date": "2021-05-13"
        }
    ],
    "status_msg": "OK",
    "status_code": 200,
    "left_lines": 999030
}

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