GroundsocialDocs

API · YouTube

GET /youtube/channels/{channel}/search

Search inside one YouTube channel’s videos.

RequestGET /v1/youtube/channels/{channel}/search
Operation idyoutube.channel.search
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search inside one YouTube channel’s videos.

Path parameters

NameTypeRequiredDescription
channelstringyesA channel id (UC…), a handle with or without the @, or any channel URL (/@handle, /channel/UC…, /c/name, /user/name). Example: @MrBeast.

Query parameters

NameTypeRequiredDescription
qstringyesWords to find. Example: iphone.
afterstringnoThe previous page’s nextPageToken. Tokens last 6 hours.

Responses

StatusMeaningSchema
200Matching videos.YouTubeVideoList
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video, channel, playlist or post does not exist, was removed, or has nothing there.Error
429Too many requests. Wait for Retry-After seconds.Error
503YouTube is temporarily unavailable. Retryable; nothing was charged.Error

YouTubeVideoList fields

FieldTypeDescription
kind"youtube#videoListResponse"
itemsYouTubeVideo[]
nextPageTokenstringPass as after for the next page. Absent on the last page. Lasts 6 hours.
pageInfoobject
missingobject[]Batch only: requested ids that did not resolve, and why.

Errors use one shape everywhere; see Errors for every code and what to do.