> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Serpstat

> SEO data: domain visibility and organic keywords, competitors, keyword volumes and ideas, stored Google top-100 results and backlink summaries, over a JSON-RPC API.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/serpstat.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=57f1bb7b58ebf8c8b887120aa9d47a53)

[Web Catalog · SEO](https://docs.webrouter.net/data-apis.md?category=seo)

Needs&#x20;

`SERPSTAT_API_KEY`

Endpoints

8

Auth

Key in query

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/jenasqbwtxdlr-introduction-to-serpstat-api)

## Setup

| Variable | | What it is |
| - | - | - |
| `SERPSTAT_API_KEY` | required | The personal API token from the Serpstat profile page (one per user). Sent as the token query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* JSON-RPC 2.0: every call is a POST to /v4 with a JSON body \{id, method, params}; the method name is case-sensitive and picks the report.
* Every response is HTTP 200, errors included: check for an error object instead of result.
* The se parameter is the search database: g\_ plus a country code (g\_us, g\_uk, g\_de and so on) or bing\_us.
* Credits are charged per row returned on most reports (see each endpoint) and 1 credit even for an empty result; identical repeated requests are charged again.
* Rate limit: 1 request per second on most plans, up to 10 on top tiers. A report returns at most 60,000 rows; page and size page through it (size usually up to 1000).
* The API needs a paid or trial plan with API access.

## Endpoints

POST

Get domain SEO summary

Organic keywords, traffic, keyword movements, ad keywords and AI-overview counts for up to many domains in one search database.

[Open](#serpstat-domain-info)

POST

List a domain's organic keywords

Keywords a domain ranks for in Google's top 100, with position, volume, CPC and URL.

[Open](#serpstat-domain-keywords)

POST

List a domain's organic competitors

Domains competing with a domain in Google's top 20, with shared-keyword and visibility figures.

[Open](#serpstat-domain-competitors)

POST

Get keyword metrics

Search volume, CPC, competition and related figures for a list of keywords.

[Open](#serpstat-keywords-info)

POST

Find keywords containing a keyword

Organic keywords that include a seed keyword, with volume, CPC and competition.

[Open](#serpstat-keywords-ideas)

POST

Get the top 100 results for a keyword

Google's top-100 organic results for a keyword: position, URL, domain and SERP feature types.

[Open](#serpstat-keywords-top)

POST

Get a backlink profile summary

External links, referring domains, subdomains, IPs and subnets, domain authority and link types for a domain.

[Open](#serpstat-backlinks-summary)

POST

Get API credit usage

Available and used API credits and extension credits of the account.

[Open](#serpstat-account-stats)

### Get domain SEO summary

POST

`/v4`

`serpstat.domain.info`

Organic keywords, traffic, keyword movements, ad keywords and AI-overview counts for up to many domains in one search database.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatDomainProcedure.getDomainsInfo. One of `SerpstatDomainProcedure.getDomainsInfo` Example `SerpstatDomainProcedure.getDomainsInfo`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>domains (array of domains, required), se (search database, required, e.g. g\_us), filters (optional). Example `{"domains": ["nike.com", "adidas.com"], "se": "g_us"}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/0c6vx6hzygijk-get-domains-info) · Same job: [Adyntel](https://docs.webrouter.net/data-apis/adyntel.md#adyntel-domain-keywords), [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-metrics), [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-traffic), [Aviato](https://docs.webrouter.net/data-apis/aviato.md#aviato-company-web-traffic), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-domain-traffic), [Majestic](https://docs.webrouter.net/data-apis/majestic.md#majestic-index-item-info)

```python Python theme={null}
router.call_data_api("serpstat.domain.info", {'id': '1', 'method': 'SerpstatDomainProcedure.getDomainsInfo', 'params': {'domains': ['nike.com', 'adidas.com'], 'se': 'g_us'}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.domain.info", params={"id": "1", "method": "SerpstatDomainProcedure.getDomainsInfo", "params": {"domains": ["nike.com", "adidas.com"], "se": "g_us"}})
```

> [!NOTE]
>
> * 5 credits per domain returned; 1 credit even when nothing is found.

### List a domain's organic keywords

POST

`/v4`

`serpstat.domain.keywords`

Keywords a domain ranks for in Google's top 100, with position, volume, CPC and URL.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatDomainProcedure.getDomainKeywords. One of `SerpstatDomainProcedure.getDomainKeywords` Example `SerpstatDomainProcedure.getDomainKeywords`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>domain (required), se (required), withSubdomains (default true), withIntents (g\_us and g\_ua only), url, keywords, minusKeywords, filters (including types\_contain/types\_not\_contain for SERP features), sort as \{field: order}, page (from 1), size (1-1000, default 100). Example `{"domain": "serpstat.com", "se": "g_us", "page": 1, "size": 100}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/j5jbjt0rk7oei-get-domain-keywords) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-organic-keywords), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-domain-keywords), [Mangools](https://docs.webrouter.net/data-apis/mangools.md#mangools-domain-keywords), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-domain-organic-keywords)

```python Python theme={null}
router.call_data_api("serpstat.domain.keywords", {'id': '1', 'method': 'SerpstatDomainProcedure.getDomainKeywords', 'params': {'domain': 'serpstat.com', 'se': 'g_us', 'page': 1, 'size': 100}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.domain.keywords", params={"id": "1", "method": "SerpstatDomainProcedure.getDomainKeywords", "params": {"domain": "serpstat.com", "se": "g_us", "page": 1, "size": 100}})
```

> [!NOTE]
>
> * 1 credit per keyword returned; 1 credit even when nothing is found.
> * At most the first 60,000 rows of a report are reachable through the API.

### List a domain's organic competitors

POST

`/v4`

`serpstat.domain.competitors`

Domains competing with a domain in Google's top 20, with shared-keyword and visibility figures.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatDomainProcedure.getOrganicCompetitorsPage. One of `SerpstatDomainProcedure.getOrganicCompetitorsPage` Example `SerpstatDomainProcedure.getOrganicCompetitorsPage`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>domain (required), se (required), sort as \{field: order}, page (from 1), size (10-500, default 100). Example `{"domain": "amazon.com", "se": "g_us", "size": 10}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/qzd94b49vdkyb-get-organic-competitors-page) · Same job: [Advanced Web Ranking](https://docs.webrouter.net/data-apis/advanced-web-ranking.md#advanced-web-ranking-marketshare-metadata), [Mangools](https://docs.webrouter.net/data-apis/mangools.md#mangools-domain-competitors), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-domain-organic-competitors), [SE Ranking](https://docs.webrouter.net/data-apis/seranking.md#seranking-domain-competitors), [Similarweb](https://docs.webrouter.net/data-apis/similarweb.md#similarweb-similar-sites), [SpyFu](https://docs.webrouter.net/data-apis/spyfu.md#spyfu-seo-top-competitors)

```python Python theme={null}
router.call_data_api("serpstat.domain.competitors", {'id': '1', 'method': 'SerpstatDomainProcedure.getOrganicCompetitorsPage', 'params': {'domain': 'amazon.com', 'se': 'g_us', 'size': 10}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.domain.competitors", params={"id": "1", "method": "SerpstatDomainProcedure.getOrganicCompetitorsPage", "params": {"domain": "amazon.com", "se": "g_us", "size": 10}})
```

> [!NOTE]
>
> * 1 credit per competitor returned. Replaces the deprecated getCompetitors.

### Get keyword metrics

POST

`/v4`

`serpstat.keywords.info`

Search volume, CPC, competition and related figures for a list of keywords.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatKeywordProcedure.getKeywordsInfo. One of `SerpstatKeywordProcedure.getKeywordsInfo` Example `SerpstatKeywordProcedure.getKeywordsInfo`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>keywords (array, required), se (required), withIntents (g\_us and g\_ua only), sort, includeMissingKeys (list keywords with no data under not\_found), filters. Example `{"keywords": ["seo tools", "keyword research"], "se": "g_us"}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/2brcbdgmr6rcx-get-keywords-info) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-keywords-overview), [Bing Webmaster Tools](https://docs.webrouter.net/data-apis/bing-webmaster.md#bing-webmaster-keywords-stats), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-keywords-google-ads-volume), [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-keywords-historical-metrics), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-keyword-data), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-keyword-overview-all-databases)

```python Python theme={null}
router.call_data_api("serpstat.keywords.info", {'id': '1', 'method': 'SerpstatKeywordProcedure.getKeywordsInfo', 'params': {'keywords': ['seo tools', 'keyword research'], 'se': 'g_us'}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.keywords.info", params={"id": "1", "method": "SerpstatKeywordProcedure.getKeywordsInfo", "params": {"keywords": ["seo tools", "keyword research"], "se": "g_us"}})
```

> [!NOTE]
>
> * 1 credit per keyword returned; at most 1000 results per query.

### Find keywords containing a keyword

POST

`/v4`

`serpstat.keywords.ideas`

Organic keywords that include a seed keyword, with volume, CPC and competition.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatKeywordProcedure.getKeywords. One of `SerpstatKeywordProcedure.getKeywords` Example `SerpstatKeywordProcedure.getKeywords`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>keyword (required), se (required), minusKeywords, withIntents (g\_us and g\_au only), sort, filters, page (from 1), size (default 100). Example `{"keyword": "iphone", "se": "g_us", "size": 100}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/w7jh5sk9kc0cm-get-keywords) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-matching-terms), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-labs-keyword-ideas), [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-keywords-ideas), [Keywords Everywhere](https://docs.webrouter.net/data-apis/keywordseverywhere.md#keywordseverywhere-related-keywords), [Mangools](https://docs.webrouter.net/data-apis/mangools.md#mangools-keywords-related), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-keyword-related)

```python Python theme={null}
router.call_data_api("serpstat.keywords.ideas", {'id': '1', 'method': 'SerpstatKeywordProcedure.getKeywords', 'params': {'keyword': 'iphone', 'se': 'g_us', 'size': 100}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.keywords.ideas", params={"id": "1", "method": "SerpstatKeywordProcedure.getKeywords", "params": {"keyword": "iphone", "se": "g_us", "size": 100}})
```

> [!NOTE]
>
> * 1 credit per row returned; only the first 60,000 rows are reachable.

### Get the top 100 results for a keyword

POST

`/v4`

`serpstat.keywords.top`

Google's top-100 organic results for a keyword: position, URL, domain and SERP feature types.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatKeywordProcedure.getKeywordTop. One of `SerpstatKeywordProcedure.getKeywordTop` Example `SerpstatKeywordProcedure.getKeywordTop`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>keyword (required), se (required), filters, size. Example `{"keyword": "laptops", "se": "g_us"}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/env4osjb1ev9c-get-keyword-top) · Same job: [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-google-search), [cloro](https://docs.webrouter.net/data-apis/cloro.md#cloro-google-search), [Crawl4AI Cloud](https://docs.webrouter.net/data-apis/crawl4ai.md#crawl4ai-serp), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-serp-google-organic), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-search), [Massive (Web Render)](https://docs.webrouter.net/data-apis/joinmassive.md#joinmassive-search)

```python Python theme={null}
router.call_data_api("serpstat.keywords.top", {'id': '1', 'method': 'SerpstatKeywordProcedure.getKeywordTop', 'params': {'keyword': 'laptops', 'se': 'g_us'}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.keywords.top", params={"id": "1", "method": "SerpstatKeywordProcedure.getKeywordTop", "params": {"keyword": "laptops", "se": "g_us"}})
```

> [!NOTE]
>
> * 1 credit per result row. This is Serpstat's stored SERP snapshot, not a live search.

### Get a backlink profile summary

POST

`/v4`

`serpstat.backlinks.summary`

External links, referring domains, subdomains, IPs and subnets, domain authority and link types for a domain.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatBacklinksProcedure.getSummaryV2. One of `SerpstatBacklinksProcedure.getSummaryV2` Example `SerpstatBacklinksProcedure.getSummaryV2`</td></tr>
    <tr><td>`params` required</td><td>object</td><td>body</td><td>query (the domain, required), searchType (domain or domain\_with\_subdomains, the default). Example `{"query": "facebook.com", "searchType": "domain_with_subdomains"}`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/59d6e25056c22-get-summary-v2) · Same job: [Ahrefs](https://docs.webrouter.net/data-apis/ahrefs.md#ahrefs-backlinks-stats), [DataForSEO](https://docs.webrouter.net/data-apis/dataforseo.md#dataforseo-backlinks-summary), [Semrush](https://docs.webrouter.net/data-apis/semrush.md#semrush-backlinks-overview), [SE Ranking](https://docs.webrouter.net/data-apis/seranking.md#seranking-backlinks-summary)

```python Python theme={null}
router.call_data_api("serpstat.backlinks.summary", {'id': '1', 'method': 'SerpstatBacklinksProcedure.getSummaryV2', 'params': {'query': 'facebook.com', 'searchType': 'domain_with_subdomains'}})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.backlinks.summary", params={"id": "1", "method": "SerpstatBacklinksProcedure.getSummaryV2", "params": {"query": "facebook.com", "searchType": "domain_with_subdomains"}})
```

> [!NOTE]
>
> * 5 credits per request. Summary figures can differ slightly from the detailed backlink reports.

### Get API credit usage

POST

`/v4`

`serpstat.account.stats`

Available and used API credits and extension credits of the account.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>body</td><td>JSON-RPC request id of your choice; echoed back in the response. Example `1`</td></tr>
    <tr><td>`method` required</td><td>string</td><td>body</td><td>Must be exactly SerpstatLimitsProcedure.getStats. One of `SerpstatLimitsProcedure.getStats` Example `SerpstatLimitsProcedure.getStats`</td></tr>
  </tbody>
</table>

[Vendor docs](https://api-docs.serpstat.com/docs/serpstat-public-api/p2grcut8yurv0-get-stats)

```python Python theme={null}
router.call_data_api("serpstat.account.stats", {'id': '1', 'method': 'SerpstatLimitsProcedure.getStats'})
```

```text MCP theme={null}
call_data_api(endpoint="serpstat.account.stats", params={"id": "1", "method": "SerpstatLimitsProcedure.getStats"})
```

> [!NOTE]
>
> * Free: spends no credits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.