映
Twitch API
1 endpointSocial & VideoGlobalsocial:read1 real examples
Returns a Twitch channel's display name, description, profile picture and URL from its channel page.
View as Markdown| GET | /twitch/channel | A Twitch channel's display name, description, profile picture and URL, from its channel page. |
channel
GET
/v1/twitch/channelA Twitch channel's display name, description, profile picture and URL, from its channel page.
scope social:read1 unitcached 10 min
Parameters
channelstring required | Channel login name or twitch.tv channel URL. e.g. twitch |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
description | string |
displayName | string |
imageUrl | string |
login | string |
url | string |
curl "https://api.hoshime.com/v1/twitch/channel?channel=twitch" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/twitch/channel?channel=twitch", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/twitch/channel?channel=twitch", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "description": "Twitch is where thousands of communities come together for whatever, every day.", "displayName": "Twitch", "imageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/e437c251-ced5-476f-b3c6-fd6686c51550-profile_image-300x300.png", "login": "twitch", "url": "https://www.twitch.tv/twitch" }, "meta": { "cached": false, "endpoint": "channel", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "twitch", "requestId": "req_2Xb9kQ…", "units": 1 } }