- YouTube
- Instagram
- TikTok
- Sponsor
Using custom filters in YouTube 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.
Configuring custom YouTube filter search criteria
Method:POST Description: Search for YouTube creators based on custom filter criteria such as
displayName, subscriber count, video performance, and more.Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | object[] | Yes | Filter objects that include filterName, op, and value. |
└ filterName | string | Yes | The field to apply the filter on. |
└ op | string | Yes | The comparison operator. Accepted values include: in, >, =, <. - String fields accept: =, in. - Number fields accept: >, =, <. - Boolean fields accept: = |
└ value | stringnumberstring[]boolean | Yes | The filter value. Type depends on the filterName.For in operator, provide string[]. |
└ isFuzzySearch | boolean | No | Default false. When true, performs a fuzzy match for string type filterName. |
| desc | boolean | No | Sort order for results. true for descending, false for ascending order. Default is false. |
| sortBy | string | No | Field to sort creators by. See table below for supported fields. |
| pageSize | number | Yes | Number of results per page. Maximum: 100. |
| offset | number | Yes | Number of records to skip before returning results. |
Available filterName & sortBy
Note: Unless specified, YouTube videos refer to long-form videos and do not include reels or shorts in the table below.
| Filter Name | Type | Supported Operators | Can be SortBy | Description |
|---|---|---|---|---|
| Identity & Profile | ||||
| displayName | string or string[] | =, in | ✅ Yes | Channel display name. |
| uniqueId | string or string[] | =, in | ✅ Yes | The unique YouTube username/handle. Constraint: Must be 3-100 characters, allowing letters, numbers, dots, hyphens, and underscores. Can include optional @ prefix (e.g., mrbeast or @mrbeast). |
| mainCategory | string or string[] | =, in | ✅ Yes | The primary category of the channel’s content. |
| country | string or string[] | =, in | ✅ Yes | The country associated with the channel. Constraint: Must be in ISO 3166-1 alpha-3 format (e.g., TWN, USA). |
| mainLanguage | string or string[] | =, in | ✅ Yes | The primary language of the channel’s videos. Constraint: Must be in ISO 639-3 format. |
| languages | string or string[] | =, in | ✅ Yes | All languages used in contents. Constraint: Must be in ISO 639-3 format. |
| secondLanguage | string or string[] | =, in | ✅ Yes | The secondary language used in contents. Constraint: Must be in ISO 639-3 format. |
| hasMemberOnlyContents | boolean | = | ✅ Yes | Is true if the channel has member-only contents. |
| hasEmail | boolean | = | ✅ Yes | Is true if the channel has a business email. |
| Content & Discovery | ||||
| hashtags | string or string[] | =, in | ❌ No | Hashtags used in content and related statistics. |
| niches | string or string[] | =, in | ❌ No | Granular subcategories of content topics identified by CreatorDB’s AI model, which analyzes and groups keywords, hashtags, and tags used by creators. |
| topics | string or string[] | =, in | ❌ No | Content subcategories generated by CreatorDB’s AI model that classifies creators into about 400 dynamic themes based on their content. |
| lastPublishTime | number | >, =, < | ✅ Yes | Time of the last uploaded content, represented as a Unix timestamp in milliseconds. |
| contentsIn30Days | number | >, =, < | ✅ Yes | Number of videos published in the last 30 days. |
| contentsIn90Days | number | >, =, < | ✅ Yes | Number of videos published in the last 90 days. |
| relatedCreators | string or string[] | =, != | ✅ Yes | YouTube channel ID for searching related creators. |
| Channel Stats | ||||
| totalSubscribers | number | >, =, < | ✅ Yes | The total number of subscribers. |
| totalContents | number | >, =, < | ✅ Yes | The total number of videos uploaded by the creator. |
| totalViews | number | >, =, < | ✅ Yes | The total number of views across all videos. |
| subscriberGrowthIn30d | number | >, =, < | ✅ Yes | The growth rate of subscribers in the past 30 days, rounded to 4th decimal place. |
| joinedDate | number | >, =, < | ✅ Yes | Time when the channel was created, represented as a Unix timestamp in milliseconds. |
| platformScore | number | >, =, < | ✅ Yes | CreatorDB proprietary platform score indicating overall influence. |
| Video Performance | ||||
| avgRecentVideosViews | number | >, =, < | ✅ Yes | Average views per video based on recent videos. |
| avgVideosViewsAll | number | >, =, < | ✅ Yes | Average views per video based on all-time videos. |
| avgRecentVideosViewsGrowth | number | >, =, < | ✅ Yes | Growth rate of average views per video in recent posts. |
| medianRecentVideosViews | number | >, =, < | ✅ Yes | Median views per video based on recent videos. |
| medianVideosViewsAll | number | >, =, < | ✅ Yes | Median views per video based on all-time videos. |
| minRecentVideosViews | number | >, =, < | ✅ Yes | Minimum views among recent videos. |
| maxRecentVideosViews | number | >, =, < | ✅ Yes | Maximum views among recent videos. |
| minVideosViewsAll | number | >, =, < | ✅ Yes | Minimum views among all-time videos. |
| maxVideosViewsAll | number | >, =, < | ✅ Yes | Maximum views among all-time videos. |
| avgRecentVideosLikes | number | >, =, < | ✅ Yes | Average likes per video based on the most recent videos. |
| avgVideosLikesAll | number | >, =, < | ✅ Yes | Average likes per video based on all-time videos. |
| avgRecentVideosLikesGrowth | number | >, =, < | ✅ Yes | Growth rate of average likes per video in recent posts. |
| medianRecentVideosLikes | number | >, =, < | ✅ Yes | Median likes per video based on recent videos. |
| medianVideosLikesAll | number | >, =, < | ✅ Yes | Median likes per video based on all-time videos. |
| minRecentVideosLikes | number | >, =, < | ✅ Yes | Minimum likes among recent videos. |
| maxRecentVideosLikes | number | >, =, < | ✅ Yes | Maximum likes among recent videos. |
| minVideosLikesAll | number | >, =, < | ✅ Yes | Minimum likes among all-time videos. |
| maxVideosLikesAll | number | >, =, < | ✅ Yes | Maximum likes among all-time videos. |
| avgRecentVideosComments | number | >, =, < | ✅ Yes | Average comments per video based on recent videos. |
| avgVideosCommentsAll | number | >, =, < | ✅ Yes | Average comments per video based on all-time videos. |
| avgRecentVideosCommentsGrowth | number | >, =, < | ✅ Yes | Growth rate of average comments per video in recent posts. |
| medianRecentVideosComments | number | >, =, < | ✅ Yes | Median comments per video based on recent videos. |
| medianVideosCommentsAll | number | >, =, < | ✅ Yes | Median comments per video based on all-time videos. |
| minRecentVideosComments | number | >, =, < | ✅ Yes | Minimum comments among recent videos. |
| maxRecentVideosComments | number | >, =, < | ✅ Yes | Maximum comments among recent videos. |
| minVideosCommentsAll | number | >, =, < | ✅ Yes | Minimum comments among all-time videos. |
| maxVideosCommentsAll | number | >, =, < | ✅ Yes | Maximum comments among all-time videos. |
| avgRecentVideosEngagementRate | number | >, =, < | ✅ Yes | Average engagement rate for recent videos, rounded to 4th decimal place. Calculated as (likes + comments) / subscribers. |
| avgVideosEngagementRateAll | number | >, =, < | ✅ Yes | Average engagement rate for all-time videos, rounded to 4th decimal place. Calculated as (likes + comments) / subscribers. |
| avgRecentVideosEngagementRateGrowth | number | >, =, < | ✅ Yes | Growth rate of average engagement rate per video in recent posts. |
| avgRecentVideosLength | number | >, =, < | ✅ Yes | Average video length (in seconds), calculated from recent videos. Lets you target creators by short / medium / long form content. |
| avgVideosLengthAll | number | >, =, < | ✅ Yes | Average video length (in seconds), calculated from all-time videos. |
| avgRecentVideosCommentReplyRatio | number | >, =, < | ✅ Yes | The creator’s average reply rate to the top 20 comments per video, across recent videos. Higher value = more interactive audience. Range 0–1. |
| avgVideosCommentReplyRatioAll | number | >, =, < | ✅ Yes | Same as avgRecentVideosCommentReplyRatio, calculated across all-time videos. |
| avgRecentVideosSelfCommentRatio | number | >, =, < | ✅ Yes | The creator’s average self-comment rate across recent videos (creator’s own comments / total comments). Higher value = creator actively engages with their audience. Range 0–1. |
| avgVideosSelfCommentRatioAll | number | >, =, < | ✅ Yes | Same as avgRecentVideosSelfCommentRatio, calculated across all-time videos. |
| avgRecentVideosCommentLikeRatio | number | >, =, < | ✅ Yes | Ratio of comments to likes across recent videos. Surfaces creators whose audiences engage more deeply (comment) than passively (like). |
| avgVideosCommentLikeRatioAll | number | >, =, < | ✅ Yes | Same as avgRecentVideosCommentLikeRatio, calculated across all-time videos. |
| Shorts Performance | ||||
| avgRecentShortsViews | number | >, =, < | ✅ Yes | Average views per short based on recent shorts. |
| avgShortsViewsAll | number | >, =, < | ✅ Yes | Average views per short based on all-time shorts. |
| avgRecentShortsViewsGrowth | number | >, =, < | ✅ Yes | Growth rate of average views per short in recent posts. |
| medianRecentShortsViews | number | >, =, < | ✅ Yes | Median views per short based on recent shorts. |
| medianShortsViewsAll | number | >, =, < | ✅ Yes | Median views per short based on all-time shorts. |
| minRecentShortsViews | number | >, =, < | ✅ Yes | Minimum views among recent shorts. |
| maxRecentShortsViews | number | >, =, < | ✅ Yes | Maximum views among recent shorts. |
| minShortsViewsAll | number | >, =, < | ✅ Yes | Minimum views among all-time shorts. |
| maxShortsViewsAll | number | >, =, < | ✅ Yes | Maximum views among all-time shorts. |
| avgRecentShortsLikes | number | >, =, < | ✅ Yes | Average likes per short based on recent shorts. |
| avgShortsLikesAll | number | >, =, < | ✅ Yes | Average likes per short based on all-time shorts. |
| avgRecentShortsLikesGrowth | number | >, =, < | ✅ Yes | Growth rate of average likes per short in recent posts. |
| medianRecentShortsLikes | number | >, =, < | ✅ Yes | Median likes per short based on recent shorts. |
| medianShortsLikesAll | number | >, =, < | ✅ Yes | Median likes per short based on all-time shorts. |
| minRecentShortsLikes | number | >, =, < | ✅ Yes | Minimum likes among recent shorts. |
| maxRecentShortsLikes | number | >, =, < | ✅ Yes | Maximum likes among recent shorts. |
| minShortsLikesAll | number | >, =, < | ✅ Yes | Minimum likes among all-time shorts. |
| maxShortsLikesAll | number | >, =, < | ✅ Yes | Maximum likes among all-time shorts. |
| avgRecentShortsComments | number | >, =, < | ✅ Yes | Average comments per short based on recent shorts. |
| avgShortsCommentsAll | number | >, =, < | ✅ Yes | Average comments per short based on all-time shorts. |
| avgRecentShortsCommentsGrowth | number | >, =, < | ✅ Yes | Growth rate of average comments per short in recent posts. |
| medianRecentShortsComments | number | >, =, < | ✅ Yes | Median comments per short based on recent shorts. |
| medianShortsCommentsAll | number | >, =, < | ✅ Yes | Median comments per short based on all-time shorts. |
| minRecentShortsComments | number | >, =, < | ✅ Yes | Minimum comments among recent shorts. |
| maxRecentShortsComments | number | >, =, < | ✅ Yes | Maximum comments among recent shorts. |
| minShortsCommentsAll | number | >, =, < | ✅ Yes | Minimum comments among all-time shorts. |
| maxShortsCommentsAll | number | >, =, < | ✅ Yes | Maximum comments among all-time shorts. |
| avgRecentShortsEngagementRate | number | >, =, < | ✅ Yes | Average engagement rate for recent shorts, rounded to 4th decimal place. Calculated as (likes + comments) / subscribers. |
| avgShortsEngagementRateAll | number | >, =, < | ✅ Yes | Average engagement rate for all-time shorts, rounded to 4th decimal place. Calculated as (likes + comments) / subscribers. |
| avgRecentShortsEngagementRateGrowth | number | >, =, < | ✅ Yes | Growth rate of average engagement rate per short in recent posts. |
| Combined Content Performance | ||||
| avgRecentContentsViews | number | >, =, < | ✅ Yes | Average views across all videos and shorts in recent posts. |
| avgRecentContentsViewsGrowth | number | >, =, < | ✅ Yes | Growth rate of average views across all content types in recent posts. |
| avgRecentContentsLikesGrowth | number | >, =, < | ✅ Yes | Growth rate of average likes across all content types in recent posts. |
| avgRecentContentsCommentsGrowth | number | >, =, < | ✅ Yes | Growth rate of average comments across all content types in recent posts. |
| avgRecentContentsEngagementRateGrowth | number | >, =, < | ✅ Yes | Growth rate of average engagement rate across all content types in recent posts. |
| Percentile Rankings | ||||
| avgContentViewsPercentile | number | >, =, < | ✅ Yes | Percentile ranking of average content views compared to all YouTube channels (0-100). |
| avgContentViewsPercentileGrowth | number | >, =, < | ✅ Yes | Growth rate of average content views percentile ranking. |
| avgContentEngagementPercentile | number | >, =, < | ✅ Yes | Percentile ranking of average content engagement compared to all YouTube channels (0-100). |
| avgContentEngagementPercentileGrowth | number | >, =, < | ✅ Yes | Growth rate of average content engagement percentile ranking. |
| subscriberCountPercentileGrowth | number | >, =, < | ✅ Yes | Growth rate of subscriber count percentile ranking. |
| Audience Demographics | ||||
| mainAudienceLocation | string or string[] | =, in | ✅ Yes | Country with the largest audience share. Constraint: Must be in ISO 3166-1 alpha-3 format. |
| mainAudienceAge | string or string[] | =, in | ✅ Yes | Primary age range of the audience. Allowed Values: "13-17", "18-24", "25-34", "35-44", "45-54", "55-64", "65+". |
| mainAudienceGender | string | =, in | ❌ No | Dominant gender group among the audience. Allowed Values: "male", "female". |
| audienceMaleRatio | number | >, =, < | ✅ Yes | The percentage of male subscribers in the channel’s audience (0-100). |
| audienceFemaleRatio | number | >, =, < | ✅ Yes | The percentage of female subscribers in the channel’s audience (0-100). |
| Sponsorship | ||||
| hasSponsors | boolean | = | ❌ No | Indicates whether the channel has published sponsored content. |
Using subscribers as a YouTube filter search criteria
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 ten creators with at least 100,000 subscribers and list their YouTube ID in descending order.- Request example
- Response example
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 ten creators with less than 10,000 subscribers and list their YouTube ID in descending order.- Request example
- Response example
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 ten YouTube IDs with 10,000 to 100,000 subscribers.- Request example
- Response example
Using average views as a YouTube filter search criteria
CreatorDB provides several average views filter options for YouTube videos and shorts.| Type | Filters |
|---|---|
| Videos and shorts combined | avgRecentContentsViews, avgRecentContentsViewsGrowth, avgContentViewsPercentile, avgContentViewsPercentileGrowth |
| Videos | avgVideosViewsAll, avgRecentVideosViews, avgRecentVideosViewsGrowth |
| Shorts | avgShortsViewsAll, avgRecentShortsViews, avgRecentShortsViewsGrowth |
Filtering by avgVideosViewsAll 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 ten creators with at least 10,000 average YouTube video views in the last year and lists their YouTube IDs in descending order of channel subscribers.- Request example
- Response example