Search typeahead
Return YouTube's public anonymous search suggestions for a partial query. Suggestions are surface strings, not popularity metrics.
youtube.search.typeahead
/execute
Shared execution endpoint
Input parameters
language
string
optional
Optional language code for the suggestion surface
query
string
required
Partial search query
golang
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
Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.
| Path | Observed type | Example |
|---|---|---|
count |
integer |
3 |
query |
string |
golang |
suggestions |
array |
3 items |
suggestions |
array |
3 items |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.