Skip to Content

Category Clips

A category's clips, most viewed first, 30 a page.

GET
/v1/twitch/category/clips

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

name?string

The category's name as written (Just Chatting).

slug?string

The name in its link (just-chatting), instead of name.

id?string

Its numeric id, instead of either.

url?string

Its link, instead of any.

period?string

How far back: day, week (the default), month or all.

Value in"day""week""month""all"
language?string

Only clips in this language (en, tr).

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.twitch.categoryClips({ slug: "just-chatting", period: "week" });
Example Response
{  "data": [    {      "id": "TalentedKathishShrimpSaltBae-LIfHpO44k4jUFwp9",      "url": "https://www.twitch.tv/nekoko88/clip/TalentedKathishShrimpSaltBae-LIfHpO44k4jUFwp9",      "text": null,      "createdAt": "2026-11-20T12:12:40.000Z",      "author": {        "id": "778750478",        "username": "nekoko88",        "displayName": "みけねこねここ",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/a277b71e-28ef-445b-a9f8-b7a624407651-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/nekoko88"      },      "stats": {        "views": 156709,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": "https://d1ndex63qxojbr.cloudfront.net/nauth/126de74f-3917-4cc5-b19a-52a33add6212/landscape/h264/1080/index.mp4?sig=e37a6f3c6ff89e544fedd3e7a2c2aa03e4a7e061&token=%7B%22authorization%22%3A%7B%22forbidden%22%3Afalse%2C%22reason%22%3A%22%22%7D%2C%22clip_uri%22%3A%22https%3A%2F%2Fd1ndex63qxojbr.cloudfront.net%2Fnauth%2F126de74f-3917-4cc5-b19a-52a33add6212%2Flandscape%2Fh264%2F720%2Findex.mp4%22%2C%22clip_slug%22%3A%22TalentedKathishShrimpSaltBae-LIfHpO44k4jUFwp9%22%2C%22device_id%22%3A%22dzuv5s0195yqx92h8qb30uzc878xtic6%22%2C%22expires%22%3A1795706024%2C%22user_id%22%3A%22%22%2C%22version%22%3A3%7D",          "thumbnailUrl": "https://static-cdn.jtvnw.net/twitch-video-assets/twitch-vap-video-assets-prod-us-west-2/126de74f-3917-4cc5-b19a-52a33add6212/landscape/thumb/thumb-0000000000-1920x1080.jpg",          "width": null,          "height": 1080,          "durationSeconds": 5        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "clip",        "title": "ぽよんぽよん",        "category": {          "id": "509658",          "name": "Just Chatting",          "slug": "just-chatting",          "url": "https://www.twitch.tv/directory/category/just-chatting",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/509658-285x380.jpg"        },        "language": "JA",        "durationSeconds": 5,        "recording": false,        "chapters": [],        "labels": [],        "clipId": "3928991337",        "curator": {          "id": "546653203",          "username": "energizingsnail",          "displayName": "電傳蟲",          "avatarUrl": "https://static-cdn.jtvnw.net/user-default-pictures-uv/75305d54-c7cc-40d1-bb9c-91fbe85943c7-profile_image-300x300.png",          "verified": false,          "url": "https://www.twitch.tv/energizingsnail"        },        "videoId": "2934841286",        "videoOffsetSeconds": 625,        "featured": false      }    },    {      "id": "BoldPiliableMinkCoolStoryBro-nDCcktLkOFAarmAm",      "url": "https://www.twitch.tv/lacy/clip/BoldPiliableMinkCoolStoryBro-nDCcktLkOFAarmAm",      "text": null,      "createdAt": "2026-11-19T01:25:07.000Z",      "author": {        "id": "494543675",        "username": "lacy",        "displayName": "Lacy",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/48487d3b-e713-4a49-ad35-dec6ab7d690e-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/lacy"      },      "stats": {        "views": 110185,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": "https://d1ndex63qxojbr.cloudfront.net/nauth/711b6e81-71ad-414e-b6bc-504df8c21663/landscape/h264/1080/index.mp4?sig=5343488bc808c56a9e7b0b881059b04093586192&token=%7B%22authorization%22%3A%7B%22forbidden%22%3Afalse%2C%22reason%22%3A%22%22%7D%2C%22clip_uri%22%3A%22https%3A%2F%2Fd1ndex63qxojbr.cloudfront.net%2Fnauth%2F711b6e81-71ad-414e-b6bc-504df8c21663%2Flandscape%2Fh264%2F720%2Findex.mp4%22%2C%22clip_slug%22%3A%22BoldPiliableMinkCoolStoryBro-nDCcktLkOFAarmAm%22%2C%22device_id%22%3A%22dzuv5s0195yqx92h8qb30uzc878xtic6%22%2C%22expires%22%3A1795706024%2C%22user_id%22%3A%22%22%2C%22version%22%3A3%7D",          "thumbnailUrl": "https://static-cdn.jtvnw.net/twitch-video-assets/twitch-vap-video-assets-prod-us-west-2/711b6e81-71ad-414e-b6bc-504df8c21663/landscape/thumb/thumb-0000000000-1920x1080.jpg",          "width": null,          "height": 1080,          "durationSeconds": 5        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "clip",        "title": "SON...",        "category": {          "id": "509658",          "name": "Just Chatting",          "slug": "just-chatting",          "url": "https://www.twitch.tv/directory/category/just-chatting",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/509658-285x380.jpg"        },        "language": "EN",        "durationSeconds": 5,        "recording": false,        "chapters": [],        "labels": [],        "clipId": "528367945",        "curator": {          "id": "765028907",          "username": "renderagain",          "displayName": "Renderagain",          "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/4d289bfd-2ca7-4362-b936-fef9421faaac-profile_image-300x300.png",          "verified": false,          "url": "https://www.twitch.tv/renderagain"        },        "videoId": "2932194507",        "videoOffsetSeconds": 54807,        "featured": false      }    }  ],  "pagination": {    "nextCursor": "MzA=",    "hasMore": true  }}