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 Organic Keywords (domain_keywords)

API v3 methods will be unavailable from 12/31/2021. Use a similar API v4 method.

The domain_keywords method shows keywords which the analyzed domain ranks for in Google top-100 or Yandex top-50 search results. The data set is similar to the Domain analysis — SEO research  Keywords report. You can get up to 60 000 results in this report.

General request parameters and instructions for using Serpstat API

Following parameters can be used for pagination:
page_size: number of results per page (default: 100, max: 1000)
page: page number (set to the 1st page by default)

You can use the following parameters to filter the results:

Parameter Description Possible settings
position_from min position for a keyword  1-100
position_to max position for a keyword  1-100
queries_from min number of monthly searches  0-100,000,000
queries_to max number of monthly searches  0-100,000,000
cost_from min CPC  0-200
cost_to max CPC  0-200
concurrency_from min level of competition  1-100
concurrency_to max level of competition  1-100
url filtering by url  string
keywords filtering by keywords (list of keywords separated by commas)  string
minus_keywords filtering by negative keywords (separated by commas)  string
pm_url lookup belonging to the partial url  1/0 (active/inactive)


To sort the results apply the following parameters:
sort: field that needs to be sorted
ordersorting order (asc - ascending, desc -  descending)

Response parameters
Parameter Description
result Contains the answer
total Number of keywords which the domain ranks for in top of search results
hits
Contains the answer
domain Domain which ranks for the keyword
subdomain Subdomain which ranks for the keyword
keyword Keyword which the domain ranks for
keyword_length Number of words divided by space in a keyword
url URL of a page which appears in SERP for the keyword
position Domain's position for a keyword
types A list of special elements shown in SERP (for example, video, carousel or map)
found_results

The number of results found for the keyword

cost Cost per click, $
concurrency Keyword competition in PPC (0-100%)
region_queries_count Search volume in selected search engine database
region_queries_count_wide
Search volume in selected search engine database in broad match
geo_names List of toponyms in the array (if toponyms are present in the keywords)
traff
Approximate traffic by keyword depending on its volume and position
difficulty
The assessment of the level of competition for a keyword to advance in organic search in the top-10 (from 0 to 100%)
dynamic How the position of this keyword has changed
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",
    "subdomain": "www.nike.com",
    "keyword": "nikews",
    "keyword_length": 1,
    "url": "https://www.nike.com/",
    "position": 1,
    "types": [
        "also_asks",
        "snip_search_box",
        "snip_breadcrumbs"
    ],
    "found_results": 1140000,
    "cost": 0.64000000000000001,
    "concurrency": 3,
    "region_queries_count": 20400000,
    "region_queries_count_wide": 0,
    "geo_names": [],
    "traff": 3058470,
    "difficulty": null,
    "dynamic": null,
    "_id": "4197266083-1"
},

Example
Request data:

api.serpstat.com/v3/domain_keywords?query=nike.com&token=XXX&se=g_us

Response data:
{
    "result": {
        "total": 2590109,
        "hits": [
            {
                "domain": "nike.com",
                "subdomain": "www.nike.com",
                "keyword": "nikews",
                "keyword_length": 1,
                "url": "https://www.nike.com/",
                "position": 1,
                "types": [
                    "also_asks",
                    "snip_search_box",
                    "snip_breadcrumbs"
                ],
                "found_results": 1140000,
                "cost": 0.64000000000000001,
                "concurrency": 3,
                "region_queries_count": 20400000,
                "region_queries_count_wide": 0,
                "geo_names": [],
                "traff": 3058470,
                "difficulty": null,
                "dynamic": null,
                "_id": "4197266083-1"
            },
            {
                "domain": "nike.com",
                "subdomain": "www.nike.com",
                "keyword": "zoomxs",
                "keyword_length": 1,
                "url": "https://www.nike.com/zoomx",
                "position": 1,
                "types": [
                    "also_asks",
                    "kn_graph_carousel_list",
                    "pic",
                    "snip_breadcrumbs"
                ],
                "found_results": 62900,
                "cost": 0.81999999999999995,
                "concurrency": 5,
                "region_queries_count": 13600000,
                "region_queries_count_wide": 0,
                "geo_names": [],
                "traff": 2038980,
                "difficulty": 0,
                "dynamic": 0,
                "_id": "753548409-1"
            }
        ]
    },
    "status_msg": "OK",
    "status_code": 200,
    "left_lines": 998864
}