Get suggestions
getSuggestions(query, options?): SuggestionsResponse
GET/v1/search/suggestionsFree
Returns autocomplete strings for a partial query. Use this for search-as-you-type UIs. This endpoint is free.
Security
API Token
The preferred authorization scheme for the YouTube Transcript API. Create a key with transcripts:read in the developer dashboard.
Example: Authorization: Bearer YOUR_API_KEY
See Authentication for scopes and rate limits.
Accepted permissions (at least one required)
ParametersExpand Collapse
q:stringQuery param:
Partial query string.
ReturnsExpand Collapse
query:stringEchoed input.
suggestions:string[]Ranked completion strings.
Completely free
Search suggestions consume 0 credits.