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 competitors in V4 search result (SerpstatDomainProcedure.getCompetitors)

SerpstatDomainProcedure.getCompetitors — this method brings in the list of domain competitors from Google top-20 search results.

Request parameters:

Parameter

Description

Optional

Default value

Value options

domain

Domain name

no

-

allo.ua

se

ID of the search base to be searched

no

-

g_ua

sort

Sort order of the results in the format:

{{{field}}: {{order}}}

field - field to sort by

order - sort direction (asc - ascending, desc - descending)

yes

{"relevance":"desc"}

{"ads":"desc"}

page

Page number in response

yes

1

5

size

Number of results per page in response

yes

100

50-1000

Sorting results is possible by the following fields:

Parameter
visible
keywords
traff
visible_dynamic
keywords_dynamic
traff_dynamic
ads_dynamic
new_keywords
out_keywords
rised_keywords
down_keywords
ad_keywords
ads
intersected
relevance
new_relevance
our_relevance

Response metrics:

Metrics

Description

result

Contains the answer

visible

Site visibility

domain

Domain

keywords

Number of keywords found in the chosen search engine

traff

Estimated organic traffic to a site (number of visitors)

visible_dynamic

Change in visibility since the last upgrade

keywords_dynamic

Change in the number of keywords over the period of time

traff_dynamic Traffic change over the period of time
ads_dynamic Change in the number of keywords in the PPC ads
new_keywords Number of new keywords for the domain over the period of time
out_keywords Number of keywords lost by a domain over the period of time
rised_keywords Number of domain keywords for which positions have improved over the period of time
down_keywords Number of domain keywords for which positions have dropped over the period of time
ad_keywords Number of keywords in the PPC
ads Number of ads
intersected Number of domain keywords that  contain a target keyword
relevance Total domain relevance for a target word
left_lines Number of remaining API lines

Limits: the number of charged limits corresponds to the number of results obtained upon request.

Part of the API response, for which 1 credit is charged:

{
"domain": "google.com",
"visible": 6292.39888,
"keywords": 514454762,
"traff": 2795219750,
"visible_dynamic": -132.55671,
"keywords_dynamic": 48860651,
"traff_dynamic": 927779,
"ads_dynamic": 554,
"new_keywords": 54740992,
"out_keywords": 5880341,
"rised_keywords": 1010039,
"down_keywords": 985120,
"ad_keywords": 62679,
"ads": 41551,
"intersected": 514454762,
"relevance": 100,
"new_relevance": 100,
"our_relevance": 100
}

Example PHP Python
Request data:
{
 "id": {{any_num_or_string}},
 "method": "SerpstatDomainProcedure.getCompetitors",
 "params": {
   "domain": {{domain}},
   "se": {{search_engine}},
   (optional) "sort": { {{field}}: {{"asc"|"desc"}}}, // only 1 sort field per request. This sorting will sort only data on current page!
   (optional) "size": {{page_size}}
 }
}

Response data:
{
    "id": {{your_num_or_string}},
    "result": {
        "data": [
            {
                "domain": "google.com",
                "visible": 6292.39888,
                "keywords": 514454762,
                "traff": 2795219750,
                "visible_dynamic": -132.55671,
                "keywords_dynamic": 48860651,
                "traff_dynamic": 927779,
                "ads_dynamic": 554,
                "new_keywords": 54740992,
                "out_keywords": 5880341,
                "rised_keywords": 1010039,
                "down_keywords": 985120,
                "ad_keywords": 62679,
                "ads": 41551,
                "intersected": 514454762,
                "relevance": 100,
                "new_relevance": 100,
                "our_relevance": 100
            },
            {
                "domain": "apple.com",
                "visible": 3814.89588,
                "keywords": 32516468,
                "traff": 1563652506,
                "visible_dynamic": -10.44331,
                "keywords_dynamic": 1138855,
                "traff_dynamic": 4112875,
                "ads_dynamic": 136,
                "new_keywords": 1265228,
                "out_keywords": 126373,
                "rised_keywords": 248398,
                "down_keywords": 225489,
                "ad_keywords": 14167,
                "ads": 4334,
                "intersected": 24353338,
                "not_intersected": 8163130,
                "relevance": 74.9,
                "new_relevance": 4.66,
                "our_relevance": 4.73
            },
 
            ........................
            ........................
 
        ],
        "summary_info": {
            "left_lines": 99985
        }
    }
}

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
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