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

Keyword info V4 (SerpstatKeywordProcedure.getKeywordsInfo)

The SerpstatKeywordProcedure.getKeywordsInfo method provides you with the keyword overview showing its volume, CPC, level of competition, etc. The data set is similar to the Overview report in Keyword research.

General request parameters and instructions for using Serpstat API

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

params

The object with parameters {...}, it lists all the following parameters and arrays [...]

array

no

keywords

Array with keywords to search for

array

no

["iphone", "iphone 11"]

se

ID of the search base to be searched

string

no

g_us

sort

Order of sorting the results in the format: {{{field}}: {{order}}}

field — field to sort by (all numeric fields, except suggestions_count and keywords_count)

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

array

yes

[ ]empty array

{"cost": "desc"}

filers

Filter conditions

array

yes

true; false

{"right_spelling": true}

Response parameters

Parameter

Description

id

Response id corresponds the request id

result

Contains the answer

data

Array with data

keyword

Keyword

cost

Cost per click, $

concurrency

Keyword competition in PPC (0-100%)

found_results

Number of results found for the keyword

region_queries_count

Search volume in the selected region

region_queries_count_wide

Search volume (broad match)

types

List of special elements shown in SERP (for example, video, carousel or map)

geo_names

List of toponyms in the array (if toponyms are present in the keywords)

social_domains

Social domains listed top-10 by the keyword

right_spelling

Recommended correction of  a misspelled keyword

lang

Language

difficulty

Competition level for a keyword to advance in organic search in the top-10 positions

suggestions_count

Number of search suggestions

keywords_count

Number of keywords

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. You can get no more than 60000 results per a query. Part of the API response, for which 1 credit is charged:

{
    "keyword": "iphone",
    "cost": 1.8822413793103445,
    "concurrency": 100,
    "found_results": 79,
    "region_queries_count": 1220000,
    "region_queries_count_wide": 0,
    "region_queries_count_phrase": 0,
    "types": [
        "shopping_top",
        "kn_graph_carousel_list",
        "also_asks"
        ],
    "geo_names": [],
    "social_domains": [
        "wikipedia",
        "amazon",
        "reddit"
        ],
    "right_spelling": null,
    "lang": null,
    "difficulty": 89.5890633703002,
    "suggestions_count": 2652668,
    "keywords_count": 8323766
},

Example
Request data:
{
 "id": "1",
 "method": "SerpstatKeywordProcedure.getKeywordsInfo",
 "params": {
   "keywords": ["iphone", "iphone 11"],
   "se": "g_us"
 }
}
Response data:
{
    "id": {{your_num_or_string}},
    "result": {
        "data": [
            {
                "keyword": "купить машину",
                "cost": 0.10480200000000001,
                "concurrency": 48,
                "found_results": 138000000,
                "region_queries_count": 33100,
                "region_queries_count_wide": 135000,
                "region_queries_count_phrase": 0,
                "types": [
                    "pic",
                    "local_pack",
                    "related_search",
                    "video",
                    "kn_graph_carousel_list"
                ],
                "geo_names": [],
                "social_domains": [
                    "pinterest"
                ],
                "right_spelling": null,
                "lang": "ru",
                "suggestions_count": 38384,
                "keywords_count": 277261
            }
        ],
        "summary_info": {
            "left_lines": 996252
        }
    }
}