Search
Search YouTube for videos, channels, and playlists.
youtube.search.query
/execute
Shared execution endpoint
Input parameters
filter
string
optional
Filter supplied for this request. Allowed values: `videos`, `channels`, `playlists`, `live`, `shorts`, `today`, `week`, `month`, `year`.
limit
integer
optional
Maximum number of results to return.
max_pages
integer
optional
Max pages supplied for this request.
query
string
required
Search query
golang tutorial
Response
Successful output is returned in results[0].data. Raw platform output is
intentionally open-ended and may evolve with the upstream source.
Illustrative output fields
Derived from the sample above for orientation only. These observed fields are not a fixed response schema.
| Path | Observed type | Example |
|---|---|---|
pages |
integer |
10 |
query |
string |
golang tutorial |
results |
array |
3 items |
results |
array |
3 items |
results_count |
integer |
185 |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.