Twitch API by APISH avatar

Twitch API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Twitch API by APISH

Twitch API by APISH

Twitch live status, channels, followers, clips, VODs, schedules, teams and top streams as JSON, without a Twitch app or OAuth token, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public Twitch data as clean, consistent JSON: twitch top categories, twitch category, twitch category clips, twitch category videos, twitch clip (with playable MP4), twitch clip transcript and more. 16 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"handle":"shroud"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/twitch/v1/categories/topTwitch top categories—1
/twitch/v1/categoryTwitch categoryslug1
/twitch/v1/category/clipsTwitch category clipsslug1
/twitch/v1/category/videosTwitch category videosslug1
/twitch/v1/clipTwitch clip (with playable MP4)url1
/twitch/v1/clip/transcriptTwitch clip transcripturl1
/twitch/v1/profileTwitch channelhandle1
/twitch/v1/searchTwitch searchq1
/twitch/v1/streamTwitch live statushandle1
/twitch/v1/streams/topTwitch top live streams—1
/twitch/v1/teamTwitch team and membersname1
/twitch/v1/user/clipsTwitch channel clipshandle1
/twitch/v1/user/followersTwitch follower countusername1
/twitch/v1/user/scheduleTwitch stream schedulehandle1
/twitch/v1/user/videosTwitch channel videos (VODs)handle1
/twitch/v1/videoTwitch videourl1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Twitch top categories

Endpoint /twitch/v1/categories/top · 1 credit per successful call.

Categories by live viewers. Twitch serves logged-out visitors the first page only (its later pages are not public), so limit (up to 100) sets the size; has_more says whether Twitch has more.

Parameters:

  • limit: 1-100 (default 30).

Example parameters: {"limit":30}

Twitch category

Endpoint /twitch/v1/category · 1 credit per successful call.

A category (game): viewers, followers, live channels, tags, and its live streams. Twitch serves logged-out visitors the first page only (its later pages are not public), so limit (up to 100) sets the size; has_more says whether Twitch has more.

Parameters:

  • slug (required): Category slug (minecraft, just-chatting) or directory URL.
  • sort — one of viewers, viewers_asc, recent, relevance: viewers (default), viewers_asc, recent or relevance.
  • language: Stream language(s), comma separated (en, es, de...).
  • limit: 1-100 (default 30).

Example parameters: {"slug":"minecraft"}

Twitch category clips

Endpoint /twitch/v1/category/clips · 1 credit per successful call.

Most viewed clips in a category for a period. Twitch serves logged-out visitors the first page only (its later pages are not public), so limit (up to 100) sets the size; has_more says whether Twitch has more.

Parameters:

  • slug (required): Category slug.
  • period — one of last_day, last_week, last_month, all_time: last_day, last_week (default), last_month or all_time.
  • language: Clip language(s), comma separated.
  • limit: 1-100 (default 30).

Example parameters: {"slug":"minecraft"}

Twitch category videos

Endpoint /twitch/v1/category/videos · 1 credit per successful call.

Videos in a category. Twitch serves logged-out visitors the first page only (its later pages are not public), so limit (up to 100) sets the size; has_more says whether Twitch has more.

Parameters:

  • slug (required): Category slug.
  • type — one of all, archive, highlight, upload, past_premiere: all (default), archive, highlight, upload or past_premiere.
  • sort — one of views, time: views (default) or time.
  • language: Video language(s), comma separated.
  • limit: 1-100 (default 30).

Example parameters: {"slug":"minecraft"}

Twitch clip (with playable MP4)

Endpoint /twitch/v1/clip · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.twitch.tv/shroud/clip/TangentialBillowingJalapenoYee-ccA2oB1pEYh4CHWJ"}

Twitch clip transcript

Endpoint /twitch/v1/clip/transcript · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Speech-to-text on the clip audio (Whisper).

Parameters:

  • url (required)

Example parameters: {"url":"https://www.twitch.tv/shroud/clip/TangentialBillowingJalapenoYee-ccA2oB1pEYh4CHWJ"}

Twitch channel

Endpoint /twitch/v1/profile · 1 credit per successful call.

Also team, chat_settings (followers-only minutes, slow mode, emote-only, subscribers-only, verified-only, delay, rules), badges (the channel's subscriber and bits badges with images) and emotes (subscriber emotes with tier and image).

Parameters:

  • handle (required)

Example parameters: {"handle":"shroud"}

Endpoint /twitch/v1/search · 1 credit per successful call.

Channels, categories and videos matching the text, plus related live channels. With type=channels, categories or videos, pass next_cursor back as cursor for more.

Parameters:

  • q (required): Search text.
  • type — one of all, channels, categories, videos: all (default), channels, categories or videos.
  • cursor: Value of next_cursor from the previous page (type must not be all).

Example parameters: {"q":"minecraft"}

Twitch live status

Endpoint /twitch/v1/stream · 1 credit per successful call.

Is the channel live: title, viewers, game, tags, start time, thumbnail; otherwise the last broadcast.

Parameters:

  • handle (required): Channel login or URL.

Example parameters: {"handle":"kaicenat"}

Twitch top live streams

Endpoint /twitch/v1/streams/top · 1 credit per successful call.

The most watched live streams right now. Twitch serves logged-out visitors the first page only (its later pages are not public), so limit (up to 100) sets the size; has_more says whether Twitch has more.

Parameters:

  • language: Stream language(s), comma separated (en, es...).
  • limit: 1-100 (default 30).

Example parameters: {"limit":30}

Twitch team and members

Endpoint /twitch/v1/team · 1 credit per successful call.

A Twitch team: name, description, logo, banner, owner, member and live counts, and its member channels (followers, partner or affiliate, live stream with viewers and game). live=true lists only members live now. Pass next_cursor back as cursor; null on the last page.

Parameters:

  • name (required): Team name or twitch.tv/team link.
  • live: true lists only members live now.
  • limit: Members per page (max 100).
  • cursor: Paging cursor from the previous page.

Example parameters: {"name":"esl"}

Twitch channel clips

Endpoint /twitch/v1/user/clips · 1 credit per successful call.

The channel's clips (up to 100) for a period. Twitch serves logged-out visitors the first page only (its later pages are not public), so has_more says whether Twitch has more.

Parameters:

  • handle (required)
  • period: last_day, last_week, last_month or all_time.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"handle":"shroud","period":"all_time"}

Twitch follower count

Endpoint /twitch/v1/user/followers · 1 credit per successful call.

A channel's follower count. Twitch no longer shows who follows a channel to logged-out visitors, so followers_list is empty unless Twitch makes it public again (list_public).

Parameters:

  • username (required): Channel login or URL.

Example parameters: {"username":"shroud"}

Twitch stream schedule

Endpoint /twitch/v1/user/schedule · 1 credit per successful call.

Parameters:

  • handle (required)

Example parameters: {"handle":"shroud"}

Twitch channel videos (VODs)

Endpoint /twitch/v1/user/videos · 1 credit per successful call.

Past broadcasts, highlights and uploads (up to 100). Twitch serves logged-out visitors the first page only (its later pages are not public), so has_more says whether Twitch has more.

Parameters:

  • handle (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"handle":"shroud"}

Twitch video

Endpoint /twitch/v1/video · 1 credit per successful call.

A past broadcast/VOD: title, views, duration, dates, game, channel, tags, chapters and muted segments. With chat_offset, the replayed chat from that point.

Parameters:

  • url (required): Video URL or id.
  • chat_offset: Seconds into the video: adds chat_replay with the chat messages around that point (offset, time, commenter, text, emotes, badges) and next_offset for the next stretch.

Example parameters: {"url":"https://www.twitch.tv/videos/2907766307"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.