Competitors in paid search results

The SerpstatKeywordProcedure.getAdsCompetitors method performs list of competitors in PPC for the given keyword. The data set is similar to the Competitors report in PPC research of the keywords.

General request parameters and instructions for using Serpstat API

Search databases available

Request parameters
Parameter Description Type Optional Default value Value Options
id A request id: the response contains the same id. Enter any number (number) or text (string) value int/string no 1, test
method API method name string no SerpstatKeywordProcedure.getAdsCompetitors
params The object with parameters {...}, it lists all the following parameters and arrays [...] array no
query Keyword by which competitors will be searched string no iphone
se Search engine ID. string no g_us
page Page number in response  int yes 1 "page": "5"
size Number of results per page in response int yes 100 "size": "100"

min: 100, max: 1000

Sort order of the results in the format:
{{{field}}: {{order}}}

field - field to sort by:

order - sort direction (asc - ascending, desc - descending)
json object yes {"common": "desc"}

Response parameters
Parameter Description
id Response id corresponds the request id
result Contains the answer
data Array with data
domain Competitor's domain
ads Number of ads for a domain
all Number of keywords for a domain in PPC
common Common keywords in PPC
summary_info Object with data
page Page number
left_lines API credits remaining

Credits: the number of charged credits corresponds to the number of results obtained upon request. Part of the API response, for which 1 credit is charged:

    "domain": "",
    "ads": 8953,
    "all": 30855,
    "common": 1437

Request data:
 "id": "1",
 "method": "SerpstatKeywordProcedure.getAdsCompetitors",
 "params": {
   "query": "iphone",
   "se": "g_us",
   "page": "1",
   "size": "100",
     "sort": {
            "common": "desc"

Response data:
    "id": "1",
    "result": {
        "data": [
                "domain": "",
                "ads": 8953,
                "all": 30855,
                "common": 1437
                "domain": "",
                "ads": 4018,
                "all": 6164,
                "common": 488
                "domain": "",
                "ads": 2623,
                "all": 3916,
                "common": 452
        "summary_info": {
            "page": 1,
            "left_lines": 997925

Поделитесь статьей с вашими друзьями

Are you sure?

Персональная презентация сервиса

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
Política de privacidad.

Спасибо, мы с вами свяжемся в ближайшее время

Open support chat