Skip to main content
Select a tab to view the specific filter configurations and examples for that particular platform or brand.

Using filters in YouTube advanced search

Search for YouTube creators using various filter options.

Using subscribers as a filter

Filter YouTube creators by subscriber count.

Using average views as a filter

Filter YouTube creators by average views.

Using the country as a filter

Filter YouTube creators by country.

Using content as a filter

Filter YouTube creators by content.

Using the target audience as a filter

Filter YouTube creators by target audience.
This page lists the available filterKey options for the YouTube Advanced Search API, including the data types, examples, and notes on data sorting and availability. You can use multiple filterKey to narrow your search criteria to find the most relevant YouTube creators. By default, the API lists YouTube creator search results by their CreatorDB ranking score (ranking.score filter) in descending order.

Available filterKey and sortBy options

The table below lists the available filterKey options with the YouTube Advanced Search API. Each entry includes the expected data type and an example value and indicates whether the filterKey supports sorting or is only available for specific data APIs.

Column definitions

Supports sorting

Indicates whether this field can also be used as a sortBy parameter. When the field is checkmarked, it supports sorting search results by that parameter in ascending or descending order.
The sorting behavior depends on the data type— for example, strings are sorted alphabetically.

Returned only in youtubeDetail API

When this column is checkmarked, it indicates the field is only returned in the youtubeDetail API response.For example, when you use the mainLanguage filter to make an Advanced Search API call, it will return valid creator IDs. However, the mainLanguage field will only appear in the youtubeDetail API response and not in the youtubeBasic API response.The examples below demonstrate some common YouTube subscriber filter configurations.
By default, CreatorDB will list search results in descending order.

Filtering subscribers with a minimum value

By specifying greater than (> ) as the operation value, you can search for YouTube creators with a minimum number of subscribers. The following example will search the CreatorDB database for five creators with at least 100 subscribers and list their YouTube ID in descending order.

Filtering subscribers with a maximum value

By specifying less than (< ) as the operation value, you can search for YouTube creators with a maximum number of subscribers. The following example will search the CreatorDB database for five creators with less than 1,000 subscribers and list their YouTube ID in descending order.

Filtering subscribers within a range

You can specify the range in advanced search filters by using the filter operations greater than (>) and less than (<). For example, the request sample below will return 5 YouTube IDs with 10,000 to 100,000 subscribers.
CreatorDB provides two average views filter options, avgViews1Y and avgViewsR20. The examples below use avgViews1Y to demonstrate common settings.

Filtering by avgViews1Y with a minimum value

Use the > operator to search for YouTube creators with a minimum average view count for up to 800 videos uploaded in the past year. For example, the API request below finds five creators with at least 10,000 average views in the last year and lists their YouTube IDs in descending order of subscribers.

Filtering by avgViews1Y with a maximum value

Use the < operator to search for YouTube creators with a maximum average view count for up to 800 videos uploaded in the past year. For example, the API request below finds five creators with less than 100,000 average views in the last year and lists their YouTube IDs in descending order of subscribers.

Filtering by avgViews1Y within a range

Use the < and > operators in two avgViews1Y filterKeys to find YouTube creators with average views within a specified range for up to 800 videos uploaded in the past year. For example, the API request below returns five creators with average views between 10,000 and 100,000 in the last year and lists their YouTube IDs in descending order of subscribers.
You can search for YouTube creators by their channel’s country with the ISO three-letter country code. For details, see Country Codes.

Filtering by country with a single value

Use the = operator to specify a single country value. For example, the API request below will return five YouTube creators in the U.S. and list them in descending followers order.

Filtering by country with multiple values

Use the in operator to specify multiple country values. For example, the API request below will return five YouTube creators that are in the U.S. or the UK and list them in descending subscribers order.
CreatorDB provides two types of content categorization filters, topics and niches. Topics are a list of subjects compiled by CreatorDB’s proprietary system for categorizing a YouTube channel. Whereas niches are content keywords labeled by YouTube creators that are cleaned and aggregated by CreatorDB proprietary system to categorize the creator’s content type. You need the topics and niches IDs to look up a topic or niche name. To get a YouTube channel’s topics and niches IDs, call the Get the topic table API. For details, see the API Reference.

Filtering by topic with a single value

Use the = operator to find YouTube creators who match a certain topic. For example, the API request below finds five creators with the topic value id_roblox_Gaming and lists their YouTube IDs in descending order of subscribers.
You can search for YouTube creators based on their target audience metrics. The following are available demographic filters:
You will be charged 1 API credit for every 10 filter objects included in a single request. For example, 1–10 filters = 1 credit, 11–20 filters = 2 credits, and so on.

Filtering by audience country and female viewer ratio with single values

You can combine multiple demographic filters to limit the YouTube creator’s search scope to a specific target audience. For example, the API request below shows how you can find creators whose main audience is from the U.S. and has less than 40 percent of female viewers. The request below will return five YouTube creators that meet the filter conditions and list them in descending order of subscribers.

Filtering by audience country and female viewer ratio within a specific range

You can use multiple values to set a range or additional target audience search conditions. For example, the API request below shows how to find creators with audiences from multiple countries and a female viewer ratio within a specific range. The API request below will return five YouTube creators that have viewers from Argentina and Brazil, with between 10 percent to 40 percent female viewers. The creator’s YouTube IDs will be listed by the number of channel subscribers in descending order.
Last modified on July 6, 2026