Skip to Content

Profile

A channel with its follower count and links.

GET
/v1/twitch/profile

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

handle?string

The channel's login: the name in its link.

url?string

The channel's link (https://www.twitch.tv/shroud), instead of handle.

id?string

The channel's numeric id, instead of either.

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

One item, as every single-item endpoint answers: { "data": … }.

data*

A Twitch channel.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.twitch.profile({ handle: "shroud" });
Example Response
{  "data": {    "id": "37402112",    "username": "shroud",    "displayName": "shroud",    "bio": "I'm back baby",    "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",    "url": "https://www.twitch.tv/shroud",    "verified": true,    "private": false,    "followers": 11286234,    "following": null,    "likes": null,    "posts": 1624,    "externalUrl": null,    "createdAt": "2012-11-03T15:50:32.878Z",    "ext": {      "partner": true,      "affiliate": false,      "live": true,      "bannerUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/dbee25e8-55b7-4565-87f0-e9d4661dcc66-profile_banner-480.jpeg",      "offlineImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/0e68b939-5868-4ee5-b2b8-fdb51521c84d-channel_offline_image-1920x1080.jpeg",      "color": "#00ADFF",      "language": "EN",      "links": [        {          "name": "discord",          "title": "Discord",          "url": "https://discord.gg/shroud"        },        {          "name": "twitter",          "title": "Twitter",          "url": "https://twitter.com/shroud"        },        {          "name": "youtube",          "title": "YouTube",          "url": "https://youtube.com/shroud"        }      ],      "panels": [        {          "title": null,          "description": null,          "imageUrl": "https://panels.twitch.tv/panel-37402112-image-b4e05d8f-d6ac-44d4-bd27-ee2cc7f3c13a",          "linkUrl": "https://load.gg/shroud-palworldocg"        },        {          "title": null,          "description": null,          "imageUrl": "https://panels.twitch.tv/panel-37402112-image-407517f5-8549-42ec-9433-d19837869c09",          "linkUrl": "https://load.gg/shroudLogitech"        },        {          "title": null,          "description": null,          "imageUrl": "https://panels.twitch.tv/panel-37402112-image-503ca1b8-22d5-4eab-b610-e673c13860d8",          "linkUrl": "https://www.youtube.com/shroud"        }      ],      "team": {        "name": "loadedllc",        "displayName": "Loaded",        "url": "https://www.twitch.tv/team/loadedllc"      },      "lastLiveAt": "2026-11-25T17:38:22.069Z",      "lastTitle": "day3.. we finally got lucia the real main character YAHOO!",      "lastCategory": {        "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"      },      "updatedAt": "2026-11-25T17:35:01.451Z"    }  }}