Search inside a YouTube channel

Search one YouTube channel's videos, Shorts, live streams and playlists by keyword (for all of YouTube, use youtube.search.list).

GET/v1/youtube/channels/search
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
3
handlestringrequiredquery

YouTube channel handle to search inside, with or without a leading @.

querystringrequiredquery

Text to search for in the channel's uploads.

min 1 chars · max 512 chars

cursorstringoptionalquery

Opaque pagination cursor returned by a previous response.

min 1 chars

Response fields
96

Endpoint-specific response payload.

datahandle
string

Channel handle searched, without a leading @.

dataquery
string

Search text evaluated for this response.

Matching videos from the channel.

datavideos[]id
string

YouTube content identifier.

min 1 chars

datavideos[]kind
string

Normalized media kind for this row.

one of: video, short, live

datavideos[]url
stringnullable

Canonical public URL for this item when available.

datavideos[]title
stringnullable

Title shown for this item.

datavideos[]thumbnailUrl
stringnullable

Thumbnail image URL when available.

Channel metadata when available.

datavideos[]channelid
stringnullable

Channel identifier when available.

datavideos[]channeltitle
stringnullable

Channel title when available.

datavideos[]channelhandle
stringnullable

Channel handle when available.

datavideos[]channelthumbnailUrl
stringnullable

Channel thumbnail URL when available.

datavideos[]viewCount
integernullable

View count when available.

≥ 0

datavideos[]viewCountText
stringnullable

Human-readable view count label when available.

datavideos[]publishedAt
stringnullable

ISO-8601 publish timestamp when available. May be null for some live items.

datavideos[]publishedTimeText
stringnullable

Human-readable relative publish time when available.

datavideos[]durationSeconds
integernullable

Duration in seconds when available.

≥ 0

datavideos[]durationText
stringnullable

Human-readable duration label when available.

Display badges such as New, Live, or 4K when present.

datavideos[]badges[]
stringoptional
datavideos[]description
stringnullableoptional

Description text when extras are requested and available.

datavideos[]likeCount
integernullableoptional

Like count when extras are requested and available.

≥ 0

datavideos[]likeCountText
stringnullableoptional

Human-readable like count when extras are requested.

datavideos[]commentCount
integernullableoptional

Comment count when extras are requested and available.

≥ 0

datavideos[]commentCountText
stringnullableoptional

Human-readable comment count when extras are requested.

Matching Shorts from the channel.

datashorts[]id
string

YouTube content identifier.

min 1 chars

datashorts[]kind
string

Normalized media kind for this row.

one of: video, short, live

datashorts[]url
stringnullable

Canonical public URL for this item when available.

datashorts[]title
stringnullable

Title shown for this item.

datashorts[]thumbnailUrl
stringnullable

Thumbnail image URL when available.

Channel metadata when available.

datashorts[]channelid
stringnullable

Channel identifier when available.

datashorts[]channeltitle
stringnullable

Channel title when available.

datashorts[]channelhandle
stringnullable

Channel handle when available.

datashorts[]channelthumbnailUrl
stringnullable

Channel thumbnail URL when available.

datashorts[]viewCount
integernullable

View count when available.

≥ 0

datashorts[]viewCountText
stringnullable

Human-readable view count label when available.

datashorts[]publishedAt
stringnullable

ISO-8601 publish timestamp when available. May be null for some live items.

datashorts[]publishedTimeText
stringnullable

Human-readable relative publish time when available.

datashorts[]durationSeconds
integernullable

Duration in seconds when available.

≥ 0

datashorts[]durationText
stringnullable

Human-readable duration label when available.

Display badges such as New, Live, or 4K when present.

datashorts[]badges[]
stringoptional
datashorts[]description
stringnullableoptional

Description text when extras are requested and available.

datashorts[]likeCount
integernullableoptional

Like count when extras are requested and available.

≥ 0

datashorts[]likeCountText
stringnullableoptional

Human-readable like count when extras are requested.

datashorts[]commentCount
integernullableoptional

Comment count when extras are requested and available.

≥ 0

datashorts[]commentCountText
stringnullableoptional

Human-readable comment count when extras are requested.

Matching live streams and past streams from the channel.

dataliveStreams[]id
string

YouTube content identifier.

min 1 chars

dataliveStreams[]kind
string

Normalized media kind for this row.

one of: video, short, live

dataliveStreams[]url
stringnullable

Canonical public URL for this item when available.

dataliveStreams[]title
stringnullable

Title shown for this item.

dataliveStreams[]thumbnailUrl
stringnullable

Thumbnail image URL when available.

Channel metadata when available.

dataliveStreams[]channelid
stringnullable

Channel identifier when available.

dataliveStreams[]channeltitle
stringnullable

Channel title when available.

dataliveStreams[]channelhandle
stringnullable

Channel handle when available.

dataliveStreams[]channelthumbnailUrl
stringnullable

Channel thumbnail URL when available.

dataliveStreams[]viewCount
integernullable

View count when available.

≥ 0

dataliveStreams[]viewCountText
stringnullable

Human-readable view count label when available.

dataliveStreams[]publishedAt
stringnullable

ISO-8601 publish timestamp when available. May be null for some live items.

dataliveStreams[]publishedTimeText
stringnullable

Human-readable relative publish time when available.

dataliveStreams[]durationSeconds
integernullable

Duration in seconds when available.

≥ 0

dataliveStreams[]durationText
stringnullable

Human-readable duration label when available.

Display badges such as New, Live, or 4K when present.

dataliveStreams[]badges[]
stringoptional
dataliveStreams[]description
stringnullableoptional

Description text when extras are requested and available.

dataliveStreams[]likeCount
integernullableoptional

Like count when extras are requested and available.

≥ 0

dataliveStreams[]likeCountText
stringnullableoptional

Human-readable like count when extras are requested.

dataliveStreams[]commentCount
integernullableoptional

Comment count when extras are requested and available.

≥ 0

dataliveStreams[]commentCountText
stringnullableoptional

Human-readable comment count when extras are requested.

Matching playlists from the channel.

dataplaylists[]id
string

YouTube playlist identifier.

min 1 chars

dataplaylists[]title
stringnullable

Playlist title.

dataplaylists[]url
stringnullable

Canonical playlist URL when available.

dataplaylists[]thumbnailUrl
stringnullable

Playlist thumbnail URL when available.

dataplaylists[]videoCount
integernullable

Number of videos in the playlist when available.

≥ 0

dataplaylists[]videoId
stringnullable

Representative video id shown for the playlist when available.

dataplaylists[]videoUrl
stringnullable

Representative video URL when available.

Playlist owner channel when available.

dataplaylists[]channelid
stringnullable

Playlist owner channel id when available.

dataplaylists[]channeltitle
stringnullable

Playlist owner channel title.

dataplaylists[]channelhandle
stringnullable

Playlist owner handle when available.

dataplaylists[]channelurl
stringnullable

Playlist owner channel URL when available.

datatotalResults
integer

Number of results in this page across all lists.

≥ 0

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass in the next request when another page exists.

datapagehasMore
boolean

Whether another page of results is available.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/youtube/channels/search?handle=charlidamelio&query=lamborghini" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Matching content from the channel.