GroundsocialDocs

API · Twitch

GET /twitch/users/{handle}/videos

A Twitch channel’s videos (past broadcasts, highlights, uploads), up to 100, by date or views.

RequestGET /v1/twitch/users/{handle}/videos
Operation idtwitch.user.videos
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

A Twitch channel’s videos (past broadcasts, highlights, uploads), up to 100, by date or views.

Path parameters

NameTypeRequiredDescription
handlestringyesTwitch login (username) or channel URL. Example: ninja.

Query parameters

NameTypeRequiredDescription
filter_by"ARCHIVE" | "HIGHLIGHT" | "UPLOAD"noARCHIVE, HIGHLIGHT or UPLOAD. One of ARCHIVE, HIGHLIGHT, UPLOAD.
sort_by"TIME" | "VIEWS"noTIME (default) or VIEWS. One of TIME, VIEWS.
sincestringnoOnly videos created on or after this date.
untilstringnoOnly videos created on or before this date.

Responses

StatusMeaningSchema
200The videos.TwitchVideosResponse
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
404No Twitch channel or clip by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503Twitch is temporarily unavailable. Retryable; nothing was charged.Error

TwitchVideosResponse fields

FieldTypeDescription
dataTwitchVideo[]
totalintegerAll videos of this type on the channel.
paginationobjectUp to 100 videos come in one call; has_more says there are older ones.

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