Skip to main content
GET
YouTube Search Advanced
This reference describes a preview operation. Test the required call before integrating it; a request that is unavailable returns HTTP 503 without consuming credits.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Query Parameters

query
string
required
order
string
duration
string
event_type
string
license
string
category
string
region
string
language
string
published_after
string
published_before
string
channel_id
string
max_results
integer
cursor
string
video_caption
string
video_definition
string
video_dimension
string
video_embeddable
string
video_type
string
topic_id
string
location
string
location_radius
string
includeExtras
string
include
enum<string>
Available options:
channel
since
string
until
string
min_views
integer
Required range: x >= 0
max_age_days
integer
Required range: 1 <= x <= 3650
sort_rows
enum<string>
Available options:
views
max_pages
integer
Required range: 1 <= x <= 5
seen
string

Response

Request completed. Interpret data using the selected resource contract.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.