APIYard
Back to APIs
EntertainmentBearer TokenFree tier

Twitch Helix

Access live streams, channel data, top games, clips, follows, and subscriptions via Twitch's Helix API — perfect for dashboards and stream tooling.

Base URL

https://api.twitch.tv/helix
streamsgamingclipsOAuth 2.0live

Endpoints

GET/streams

Get currently live streams with optional filters.

const response = await fetch("https://api.twitch.tv/helix/streams?game_id=21779&first=10", {
  method: "GET",
  headers: {
  "Content-Type": "application/json",
  "Authorization": "Bearer YOUR_ACCESS_TOKEN"
  }
});

const data = await response.json();
console.log(data);

Response Preview

{
  "data": [{
    "id": "123456789",
    "user_name": "xQc",
    "game_name": "Just Chatting",
    "title": "!gamba | big plays",
    "viewer_count": 42000,
    "started_at": "2024-05-01T14:00:00Z",
    "thumbnail_url": "https://static-cdn.jtvnw.net/previews-ttv/..."
  }]
}