Twitch
GET /v1/twitch/user-videos

Twitch User Videos API

Twitch channel VODs — lean rows, video-id cursor, filter/sort, top-level broadcaster{} (flat 2).

2 credits per request
TL;DR
Twitch channel VODs — lean rows, video-id cursor, filter/sort, top-level broadcaster{} (flat 2). The Twitch User Videos API (Twitch) is a single authenticated GET request to /v1/twitch/user-videos that responds with clean JSON and costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Twitch User Videos API?

Pass a Twitch channel URL or username and get a clean videos[] list (not a profile dump). Each row: id, url, embedUrl, title, createdAt, durationSeconds, views, thumbnail (320x180 — {width}x{height} substituted; thumbnailTemplate kept), animatedPreviewUrl, broadcastType, game (+ gameId/gameSlug/box art), lowercase language. Channel identity is once at the top as broadcaster{} — videos[] do not repeat channel{}/broadcaster/broadcasterProfileImage. filterBy=ARCHIVE|HIGHLIGHT|UPLOAD (omit for all types — no default filter; filterBy echoes null when omitted). sortBy=TIME|VIEWS. nextCursor is the last video id on the page (stable within the window — not a raw offset). Hard ceiling: first 100 matching videos (windowMax=100); Twitch anonymous GQL rejects after-cursors with IntegrityCheckFailed, so deeper history is not available. Flat 2 credits per call.

What you get

  • Bulk list of user videos with metadata
  • Dates, URLs, and engagement fields when available
  • Configurable result limit
  • Ideal for monitoring and content pipelines

Platform limits

Honest ceilings from the upstream platform surface — not Captapi bugs. Unexpected truncation here is usually the platform, not us.

  • At most the first 100 matching videos (windowMax). Deeper VOD history is not available on this surface.
  • nextCursor is a video id within that 100-video window — not Twitch's GQL after-cursor (anonymous integrity check blocks it).

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/twitch/user-videos?url=https%3A%2F%2Fwww.twitch.tv%2Fshroud" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "platform": "twitch",
    "username": "shroud",
    "filterBy": null,
    "sortBy": "TIME",
    "broadcaster": {
      "id": "37402112",
      "username": "shroud",
      "displayName": "shroud",
      "url": "https://www.twitch.tv/shroud",
      "profileImage": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",
      "followers": 11293237,
      "isPartner": true,
      "isAffiliate": false
    },
    "totalReturned": 3,
    "nextCursor": "2827054673",
    "hasMore": true,
    "windowMax": 100,
    "videos": [
      {
        "platform": "twitch",
        "id": "2827992810",
        "url": "https://www.twitch.tv/videos/2827992810",
        "embedUrl": "https://player.twitch.tv/?video=2827992810&parent=captapi.com",
        "title": "ME N THE GIRLS R GONNA POP OFF IN THIS 100K TWITCH RIVALS",
        "createdAt": "2026-07-24T17:56:52Z",
        "durationSeconds": 20988,
        "views": 212833,
        "thumbnail": "https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/c43d1ce993fae5a15f69_shroud_317074350583_1784915807//thumb/thumb0-320x180.jpg",
        "thumbnailTemplate": "https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/c43d1ce993fae5a15f69_shroud_317074350583_1784915807//thumb/thumb0-{width}x{height}.jpg",
        "animatedPreviewUrl": "https://d2nvs31859zcd8.cloudfront.net/c43d1ce993fae5a15f69_shroud_317074350583_1784915807/storyboards/2827992810-strip-0.jpg",
        "broadcastType": "ARCHIVE",
        "game": "VALORANT",
        "gameId": "516575",
        "gameSlug": "valorant",
        "gameBoxArtUrl": "https://static-cdn.jtvnw.net/ttv-boxart/516575-144x192.jpg",
        "language": "en"
      },
      {
        "platform": "twitch",
        "id": "2827192082",
        "url": "https://www.twitch.tv/videos/2827192082",
        "embedUrl": "https://player.twitch.tv/?video=2827192082&parent=captapi.com",
        "title": "HALO CE REMAKE! TIME TO CO-OP LEGENDARY AND GET OUR MEAT BEAT",
        "createdAt": "2026-07-23T18:19:36Z",
        "durationSeconds": 20254,
        "views": 175717,
        "thumbnail": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/43c3501090df2005acdf_shroud_319635395040_1784830770//thumb/thumb0-320x180.jpg",
        "thumbnailTemplate": "https://static-cdn.jtvnw.net/cf_vods/d2vi6trrdongqn/43c3501090df2005acdf_shroud_319635395040_1784830770//thumb/thumb0-{width}x{height}.jpg",
        "animatedPreviewUrl": "https://d2vi6trrdongqn.cloudfront.net/43c3501090df2005acdf_shroud_319635395040_1784830770/storyboards/2827192082-strip-0.jpg",
        "broadcastType": "ARCHIVE",
        "game": "Halo: Campaign Evolved",
        "gameId": "796500915",
        "gameSlug": "halo-campaign-evolved",
        "gameBoxArtUrl": "https://static-cdn.jtvnw.net/ttv-boxart/796500915_IGDB-144x192.jpg",
        "language": "en"
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • platformPlatform identifier for this response (matches the endpoint's platform).
  • usernameAccount username / handle.
  • filterByARCHIVE | HIGHLIGHT | UPLOAD when set; null when omitted (all types — there is no default filter).
  • sortBySort by. Example: "TIME".
  • totalReturnedNumber of items returned in this response.
  • nextCursorLast video id on this page. Pass as cursor for the next page within the first 100 matching videos. Not a raw offset.
  • hasMoreWhether more results are available beyond this page. When true, pass nextCursor to fetch the next page.
  • windowMaxAlways 100 — Twitch anonymous GQL only exposes the first 100 matching videos; deeper history is not available.

Broadcaster

The broadcaster object contains:

  • idStable platform ID for the item.
  • usernameAccount username / handle.
  • displayNameDisplay name of the account. Canonical across profile endpoints (prefer over name).
  • urlCanonical URL of the item.
  • profileImageProfile image URL. Deprecated alias of avatar on Instagram/Twitter/Threads/TikTok profile endpoints (one release).
  • followersFollower count.
  • isPartnerWhether the channel is a platform Partner/partner.
  • isAffiliateWhether the channel is an affiliate.

Videos

Each item in videos contains:

  • platformPlatform identifier for this response (matches the endpoint's platform).
  • idStable platform ID for the item.
  • urlCanonical URL of the item.
  • embedUrlPlatform embed URL when a real embed id is known. Do not invent from a page/permalink id.
  • titleTitle of the item.
  • createdAtCreation date (ISO 8601).
  • durationSecondsLength in seconds for this item (full media length, or a segment span when the endpoint documents a start/end).
  • viewsView count when the platform exposes one.
  • thumbnailVOD thumbnail with {width}x{height} substituted to 320x180. See thumbnailTemplate for the raw template.
  • thumbnailTemplateThumbnail template URL.
  • animatedPreviewUrlStoryboard strip / animated preview image for a VOD.
  • broadcastTypeBroadcast type. Example: "ARCHIVE".
  • gameGame or category being streamed.
  • gameIdTwitch game/category id.
  • gameSlugTwitch game/category slug.
  • gameBoxArtUrlTwitch category/game box art image URL (usually 144×192).
  • languageBCP-47 lowercase (same as twitch/clip and profile recentVideos).

Parameters

NameTypeRequiredDescription
urlstringYesTwitch channel URL or username, e.g. https://www.twitch.tv/shroud. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
limitintegerNoMax items to return (default 20, max 100). Flat 2 credits per call. Hard ceiling: first 100 matching videos only — deeper history is not available (windowMax=100).
filterBystringNoARCHIVE | HIGHLIGHT | UPLOAD. Omit for all types — there is no default filter (filterBy is null when omitted).
sortBystringNoTIME (default, newest first) or VIEWS.
cursorstringNoPagination cursor = last video id from the previous nextCursor. Leave empty for the first page. Pages the first 100 matching videos only (not a raw offset).
cachebooleanNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. Envelope includes cached + cachedAt on hits.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool twitch_user_videos via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/twitch/user-videos and parse the JSON response.

Use cases

Content Pipelines

Ingest a channel's recent VODs (up to 100) with broadcastType and game metadata.

Monitoring

Detect new ARCHIVE uploads via video id + createdAt within the 100-video window.

Highlights

filterBy=HIGHLIGHT to pull edited clips Twitch stores as VODs.

Analytics

Aggregate views across recent VODs without repeating channel{} on every row.

Frequently asked questions

What does the Twitch User Videos API do?+

The Twitch User Videos API lets you list items in bulk with metadata from a public Twitch video using one GET request to /v1/twitch/user-videos. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Twitch User Videos API cost?+

Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.

Do I need a Twitch API key or OAuth?+

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the Twitch User Videos API suitable for production use?+

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Hits include cached + cachedAt. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

More Twitch APIs

Ready to use the Twitch User Videos API?

Sign up, grab your key, and make your first call in 60 seconds.