Skip to content
scrapeatlas.Dashboard

Get user videos

Try in Playground

Retrieve the first page of up to 100 Twitch videos, newest first by default, with type, sort and publication-time filters.

GET/v1/twitch/user/videosx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
5
handlestringrequiredquery

Required Twitch login, 1–25 letters, digits or underscores. Normalized to lowercase.

Exampleexample
filter_byenumquery

Optional HIGHLIGHT, ARCHIVE or UPLOAD. Omit to include all source video types.

one of: HIGHLIGHT, ARCHIVE, UPLOAD

ExampleARCHIVE
sort_byenumdefault: "TIME"query

TIME (default, newest first) or VIEWS.

one of: TIME, VIEWS · default: "TIME"

ExampleTIME
sincenumber | stringquery

Earliest publication time to include, ISO 8601 or Unix seconds.

untilnumber | stringquery

Publication time to stop before, ISO 8601 or Unix seconds; later than since.

Response fields
53

Complete video records with game, owner, broadcast identifier, media previews, tags, timestamps, duration and views. Empty when there are no results.

up to 100 items

videos.idstring

Always included.

min 1 chars

videos.animatedPreviewURLstringnullable

Always included.

videos.lengthSecondsinteger

Always included.

≥ 0

Always included.

videos.game.idstring

Always included.

min 1 chars

videos.game.slugstring

Always included.

videos.game.namestring

Always included.

videos.game.__typenamestring

Always included.

videos.game.displayNamestring

Always included.

videos.game.boxArtURLstring

Always included.

Always included.

videos.owner.idstring

Always included.

min 1 chars

videos.owner.loginstring

Always included.

videos.owner.displayNamestring

Always included.

videos.owner.__typenamestring

Always included.

videos.owner.profileImageURLstringnullable

Always included.

videos.owner.primaryColorHexstringnullable

Always included.

Always included.

videos.owner.roles.isPartnerboolean

Always included.

videos.owner.roles.__typenamestring

Always included.

videos.previewThumbnailURLstring

Always included.

videos.publishedAtstring

Always included.

videos.titlestring

Always included.

videos.viewCountinteger

Always included.

≥ 0

Always included.

up to 100 items

videos.contentTags.idstring

Always included.

min 1 chars

videos.contentTags.isLanguageTagboolean

Always included.

videos.contentTags.tagNamestring

Always included.

videos.contentTags.localizedNamestring

Always included.

videos.contentTags.__typenamestring

Always included.

Always included.

videos.broadcastIdentifier.idstring

Always included.

min 1 chars

videos.broadcastIdentifier.__typenamestring

Always included.

hasNextPageboolean

Whether Twitch reports more videos beyond this page.

cursorstringnullable

Always null; this endpoint returns one page.

requestIdstring

Operation identifier for correlation.

HTTP attempts initiated by this operation, decoded response bytes and elapsed milliseconds. A shared client bootstrap is counted by its initiating operation.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

True when the primary requested data is usable.

statusenum

success, partial, failed or challenged. Inspect coverage on HTTP 200.

one of: success, partial

sourceUrlstring

Canonical public Twitch page URL.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Public GraphQL coverage. order is newest_first for TIME and ranked for VIEWS; first_page_only means more videos exist than the page holds.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsenum[]

Always included.

up to 4 items

coverage.orderenumoptional

Optional.

one of: newest_first, oldest_first, ranked, relevance, source_order

Optional.

coverage.window.sincestringoptional

Optional.

coverage.window.untilstringoptional

Optional.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
12
HTTPfailure.codeMeaning
200partialPrimary clip data is usable but a related-clips or viewer GraphQL query returned source errors.
400invalid_requestMissing or unsafe input, unknown parameters, invalid filter/sort, or duplicate parameters.
401unauthorizedMissing or invalid dedicated worker API key.
403restricted_pageUnpublished clip, denied or expired playback token, or unexpected authenticated viewer.
404not_foundThe requested channel, video or clip is missing, or the route is unknown.
429upstream_rate_limitedTwitch rate limited retrieval.
502upstream_challenged public_client_unavailableTwitch challenged the request or its public client identifier could not be determined.
502upstream_graphql_error unsupported_pagePrimary query failure or incomplete, unexpected or mismatched data.
502response_too_large payload_too_complexByte, depth or JSON node limit exceeded.
502unsafe_redirect request_limit upstream_errorBounded transport could not complete.
503busyAll worker admission slots are occupied.
504timeoutThe total request deadline expired.