Search YouTube videos or channels
Changed onSearch YouTube for videos or channels.
- type=video (default): Returns video results with titles, thumbnails, view counts, etc.
- type=channel: Returns channel results with handles, subscriber counts, etc.
Returns YouTube's full page (~20 items) per call.
Pagination: The response includes continuation_token (when has_more=true). To fetch the next page, call the endpoint again with continuation=<token> and omit q/type (the token already encodes them).
Credit cost: 1 credit per successful request (each page).
Request
- Base URLhttps://transcriptapi.com
- AuthHTTP bearer
Query parameters
Search query (required for first page)
Result type: video, channel, playlist, or movie
Sort order (first page): relevance (default) or views (YouTube 'Popularity'). YouTube no longer offers upload-date or rating sort in search. Use upload_date windows for recency.
Upload-date window (first page). Videos only.
Duration bucket (first page). Videos only: short <4m, medium 4-20m, long >20m.
Comma-separated feature filters (first page), e.g. hd,subtitles,cc,live,4k,hdr,360,vr180,3d,location,creative_commons,purchased.
Advanced: raw YouTube sp filter (base64). Overrides the structured filters above.
Continuation token from previous page. When provided, q/type/filters are ignored.
Response
Successful Response
Changes
- warning
the optional response header
X-RateLimit-Limitremoved for the status429 - warning
the optional response header
X-RateLimit-Remainingremoved for the status429 - warning
the optional response header
X-RateLimit-Resetremoved for the status429
- warning
- breaking
added to the
/response propertyoneOflist for the response status - info
added the new optional
queryrequest parameterduration - info
added the new optional
queryrequest parameterfeatures - info
added the new optional
queryrequest parametersort - info
added the new optional
queryrequest parametersp - info
added the new optional
queryrequest parameterupload_date - info
added the new enum value
movieto thequeryrequest parametertype - info
added the new enum value
playlistto thequeryrequest parametertype - info
removed from the
/response propertyanyOflist for the response status - info
added discriminator to
/response property for the response status
- breaking