Skip to Content

Profile Posts

A channel's videos, 30 a page.

GET
/v1/twitch/profile/posts

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

handle?string

The channel's login.

url?string

The channel's link, instead of handle.

id?string

The channel's numeric id, instead of either.

type?string

archive (past broadcasts), highlight or upload; every kind when left out.

Value in"archive""highlight""upload"
sort?string

latest (the default) or views.

Value in"latest""views"
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.profilePosts({ handle: "shroud", type: "archive" });
Example Response
{  "data": [    {      "id": "2940500640",      "url": "https://www.twitch.tv/videos/2940500640",      "text": null,      "createdAt": "2026-11-25T17:38:21.000Z",      "author": {        "id": "37402112",        "username": "shroud",        "displayName": "shroud",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/shroud"      },      "stats": {        "views": 110,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": null,          "width": null,          "height": null,          "durationSeconds": 5719        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "archive",        "title": "day3.. we finally got lucia the real main character YAHOO!",        "category": {          "id": "1867279146",          "name": "Grand Theft Auto VI",          "slug": "grand-theft-auto-vi",          "url": "https://www.twitch.tv/directory/category/grand-theft-auto-vi",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/1867279146_IGDB-285x380.jpg"        },        "language": "en",        "durationSeconds": 5719,        "recording": true,        "chapters": [],        "labels": [          "MatureGame"        ],        "clipId": null,        "curator": null,        "videoId": null,        "videoOffsetSeconds": null,        "featured": false      }    },    {      "id": "2939600059",      "url": "https://www.twitch.tv/videos/2939600059",      "text": null,      "createdAt": "2026-11-24T19:18:20.000Z",      "author": {        "id": "37402112",        "username": "shroud",        "displayName": "shroud",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/shroud"      },      "stats": {        "views": 228721,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": "https://static-cdn.jtvnw.net/cf_vods/d2nvs31859zcd8/d51a94b098e603b359da_shroud_320036505943_1795547895//thumb/thumb0-640x360.jpg",          "width": null,          "height": null,          "durationSeconds": 20005        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "archive",        "title": "day 2 of feeling left out.. but we are VIBING BROTHERS!!!",        "category": {          "id": "1867279146",          "name": "Grand Theft Auto VI",          "slug": "grand-theft-auto-vi",          "url": "https://www.twitch.tv/directory/category/grand-theft-auto-vi",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/1867279146_IGDB-285x380.jpg"        },        "language": "en",        "durationSeconds": 20005,        "recording": false,        "chapters": [],        "labels": [          "MatureGame"        ],        "clipId": null,        "curator": null,        "videoId": null,        "videoOffsetSeconds": null,        "featured": false      }    }  ],  "pagination": {    "nextCursor": "2891858791|407034|2026-10-04T17:04:06Z|30997",    "hasMore": true  }}