Social Fetch
YouTube

List YouTube channel shorts

Lists Shorts for a YouTube channel. Pass `channelId` or `handle` to identify the channel. Optional query `sortBy` controls ordering, and `cursor` continues from `data.page.nextCursor`. An empty `data.shorts` array can still accompany `data.lookupStatus: "found"` when the channel resolves but no Shorts are returned for the current page.

Operation

GET/v1/youtube/channels/shorts

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

channelIdstring(query)

Optional YouTube channel id for the request.

min 1 chars · max 4096 chars

handlestring(query)

Optional YouTube channel handle for the request.

sortBystring(query)

Optional sort order for the returned YouTube Shorts.

one of: latest, popular

cursorstring(query)

Opaque pagination cursor returned by a previous response.

min 1 chars

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether the channel was resolved for this request.

one of: found, not_found

datashorts
arrayrequired

YouTube Shorts returned for the resolved channel. This array may be empty when the channel resolves but there are no Shorts in the returned page.

datashorts[]id
stringrequired

YouTube Short identifier.

min 1 chars

datashorts[]url
stringrequirednullable

Canonical public YouTube URL for the Short.

datashorts[]title
stringrequirednullable

Title shown for the Short.

datashorts[]description
stringrequirednullable

Short description text when available.

datashorts[]viewCount
integerrequirednullable

View count for the Short when available.

≥ 0

datashorts[]viewCountText
stringrequirednullable

Human-readable view count label when available.

datashorts[]commentCount
integernullable

Comment count for the Short when available.

≥ 0

datashorts[]commentCountText
stringnullable

Human-readable comment count label when available.

datashorts[]likeCount
integernullable

Like count for the Short when available.

≥ 0

datashorts[]likeCountText
stringnullable

Human-readable like count label when available.

datashorts[]publishDate
stringnullable

Publication timestamp label when available.

datashorts[]genre
stringnullable

Category or genre label when available.

datashorts[]durationMs
integernullable

Duration of the Short in milliseconds when available.

≥ 0

datashorts[]durationFormatted
stringnullable

Formatted duration label when available.

datapage
objectrequired

Pagination information for the current response.

datapagenextCursor
stringrequirednullable

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

datapagehasMore
booleanrequired

Whether another page of Shorts is available.

meta
objectrequired

Metadata describing the request and billing outcome.

metarequestId
stringrequired

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integerrequired

Credits charged for this request.

≥ 0

metaversion
stringrequired

Public API version that served the response.

one of: v1

Code example

Responses

YouTube Shorts for the requested channel. Check `data.lookupStatus` for `found` vs `not_found`.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page