Skip to content
scrapeatlas.Dashboard

Get user videos

Try in Playground

Retrieve a page of Twitch videos with type and sort filters, hasNextPage and cursor metadata.

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
3
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) or VIEWS.

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

ExampleTIME
Response fields
49

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 indicates more records exist.

cursorstringnullable

Last source edge cursor, or null, as Twitch reports it.

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. Clip auxiliary query errors produce partial with auxiliary_graphql_error; missing required primary fields fail.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsenum[]

Always included.

up to 2 items

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.