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

List of domain's URLs (domain_urls)

API v3 methods will be unavailable from 03/01/2022. Use a similar API v4 method.

The domain_urls method returns the list of URLs within the analyzed domain and the number of keywords for each URL. The data set is similar to the Top pages report of the Domain Analysis, excluding the information about traffic and number of Facebook shares.

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)

Response parameters
Parameter Description
result Contains the answer
total Number of found results
hits
Contains the answer
url Domain's URL
keywords Number of keywords which the URL ranks for
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:

{
    "url": "https://www.nike.com/",
    "keywords": 66466
},

Example
Request data:

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

Response data:

{
    "result": {
        "total": 148170,
        "hits": [
            {
                "url": "https://www.nike.com/",
                "keywords": 66466
            },
            {
                "url": "https://jobs.nike.com/",
                "keywords": 20811
            }
        ]
    },
    "status_msg": "OK",
    "status_code": 200,
    "left_lines": 998764
}