Find Domains by Pattern and Metrics

Find domains matching wildcard patterns and performance criteria in the current month or an inclusive historical month range. Historical metrics use the same normalization as Get All Domain Stats.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use wildcards such as *blog* to find matching domains, then narrow the results
with traffic, budget, ranking, and other metric filters.

Choose the months to search

Default: If both searchDateId.min and searchDateId.max are omitted, the
endpoint uses dateId when supplied, or the current domain stats index otherwise.
It does not default to all historical months.

ParametersMonths searched
Neither date bound nor dateId suppliedCurrent month
searchDateId.min and searchDateId.maxEvery available month between the bounds, inclusive
Only searchDateId.minFrom that month through the latest available month
Only searchDateId.maxFrom the earliest available month through that month
dateIdOne exact historical month

Use yyyyMM values, such as 202609 for September 2026. Set both bounds to the
same value to search one month. The maximum cannot be earlier than the minimum,
and dateId cannot be combined with either range bound. Invalid dates or
conflicting parameters return HTTP 400.

For example, search August and September 2026:

GET /apis/domain_stats_api/v2/getMatchingDomains?query=*blog*&searchDateId.min=202608&searchDateId.max=202609

With only searchDateId.max=202609, the search includes every available month
from the beginning of the available history through September 2026, inclusive.
With only searchDateId.min=202609, it includes September 2026 and every
available month after it through the latest available month in the dataset.
The latest available month may lag the calendar month.
Ranges include intermediate years as well as the endpoints. For example,
searchDateId.min=201601&searchDateId.max=202601 searches all 121 months from
January 2016 through January 2026, where data is available. Missing months in a
range are skipped; a range with no available months returns an empty result.
An unavailable exact month requested with dateId returns HTTP 404.

Historical metrics and pagination

Returned historical metrics use the same normalization as
Get All Domain Stats, including adjustments
for changes to legacy data, paid-keyword counts, and budget formulas. Metric
filters and sorting use stored monthly values, so normalized response values can
differ from the values used to select and order results.

Each result represents one domain and one month. The same domain can therefore
appear more than once. totalMatchingResults counts matching domain/month
records, rather than distinct domains. pageSize limits those records per page,
and startingRow is 1-based. Use pagination to retrieve additional matching
months; requesting a range does not bypass the page-size limit.

Query Params
string
required

A wildcard(*) used to find any domain that matches the pattern. *blog* will find any domain with the word blog appearing anywhere within it.

string
enum
Defaults to US

Country to get results for.

string
enum
Defaults to MonthlyOrganicClicks

Column to sort by.

string
enum
Defaults to Descending

Order to sort the results.

Allowed:
float

Minimum monthly ad budget filter.

float

Maximum monthly ad budget filter.

float

Minimum monthly organic traffic filter.

float

Maximum monthly organic traffic filter.

float

Minimum organic keyword count filter.

float

Maximum organic keyword count filter.

float

Minimum organic traffic value filter.

float

Maximum organic traffic value filter.

float

Minimum domain strength score filter.

float

Maximum domain strength score filter.

float

Minimum monthly paid clicks filter.

float

Maximum monthly paid clicks filter.

float

Minimum average organic rank filter.

float

Maximum average organic rank filter.

float

Minimum average ad position filter.

float

Maximum average ad position filter.

int32
1 to 10000
Defaults to 5

Maximum number of domain/month records returned.

int32
1 to 10000
Defaults to 1

First domain/month record to return (1-based).

string

One historical month in yyyyMM format. Omit for the current month. Cannot be combined with searchDateId.min or searchDateId.max. An unavailable exact month returns HTTP 404.

string

Inclusive first historical month in yyyyMM format. Omit for the earliest available month when searchDateId.max is supplied. Cannot be combined with dateId. When both bounds are omitted, uses dateId if supplied; otherwise uses the current domain stats index.

string

Inclusive last historical month in yyyyMM format. Omit for the latest available month when searchDateId.min is supplied. Must be greater than or equal to searchDateId.min. Cannot be combined with dateId. When both bounds are omitted, uses dateId if supplied; otherwise uses the current domain stats index.

Responses

400

Bad Request

401

User failed authorization

404

The exact historical month requested with dateId is unavailable. Missing months within a searchDateId range are skipped instead.

500

Internal Server Error

Language
Credentials
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json