Skip to main content
POST
Search Content

Authorizations

api-key
string
header
required

The valid CreatorDB API key for authentication.

Body

application/json

YouTube content search request parameters. Search for YouTube content (videos, shorts, streams) across all creators in the CreatorDB database using content-level and creator-level filters.

filters
object[]
required

Filter objects that include filterName, op, and value. For all accepted filterName values, see Using Content Search. Use channelId to search one creator's content.

Required array length: 1 - 10 elements
pageSize
integer
required

Number of results per page. Maximum: 100.

Required range: 1 <= x <= 100
offset
integer
required

Number of records to skip before returning results.

Required range: x >= 0
desc
boolean

Sort order for results. true for descending, false for ascending order. Default is true.

sortBy
enum<string>
default:publishTime

The field to sort results by. Default is publishTime.

Available options:
views,
likes,
comments,
engagement,
publishTime,
lengthSec,
performanceViews,
performanceEngagement,
followers
timeRange
object

The publish-date range to search, as absolute times. Only content published inside the range is returned. Without timeRange or any publishTime filter, the search covers the last 30 days.

Response

Content search results.

YouTube content search response.

data
object
required

Content search results with pagination details.

traceId
string
required

Unique trace ID for each request.

Example:

"f8e4a3b2c1d0e9f8a7b6c5d4e3f2a1b0"

timestamp
integer
required

Time the response was generated, represented as a Unix timestamp in milliseconds.

Example:

1750732453635

creditsAvailable
number
required

Number of API credits remaining. Equals planCreditsAvailable plus purchasedCreditsAvailable.

Example:

975

creditsUsed
number
required

Number of API credits consumed by this request, from the content search price grid. For details, see Using Content Search.

Example:

25

planCreditsAvailable
number
required

Remaining plan credits after this request, in credits.

Example:

900

purchasedCreditsAvailable
number
required

Remaining purchased-bucket credits after this request, in display units.

Example:

75

errorCode
string
required

Error code returned if the request fails. Empty if the request is successful.

Example:

""

errorDescription
string
required

Description of the error. Empty if the request is successful.

Example:

""

success
boolean
required

true if the request is successful.

Example:

true

keyCreditsAvailable
number

Remaining credits this API key can spend after this request, before reaching its spend limit. Present only when the key has a spend limit.

Example:

4975