Social
Twitch logo

Twitch API

twitch.tv

Twitch - live stream search, channel info, schedules, followers, VODs, and chat.

Actions
4
Category
Social
Login
Not required
Output
JSON

Call the Twitch API

Submit a task, then poll the job until it settles. This example runs act_twitch_tv_channel_page_shell.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_twitch_tv_channel_page_shell",
    "params": {
      "channel_login": "jinnytty"
    }
  }'

4 actions on twitch.tv

Write

Write actions change state on twitch.tv and run as the account you connect.

  • Channel Page Shell

    act_twitch_tv_channel_page_shellwrite2 credits / call

    Returns a channel's broadcaster identity, live stream context, follower totals, and recommended channels.

    channel_login
    string · required
    category_slug
    string
  • Channel Schedule

    act_twitch_tv_channel_schedulewrite2 credits / call

    Returns a broadcaster's schedule segments, upcoming stream times, and follower counts.

    channel_login
    string · required
    channel_id
    string · required
  • Channel VOD Listing

    act_twitch_tv_channel_vod_listingwrite2 credits / call

    Returns a channel's past broadcast VODs with recording status, titles, and URLs.

    channel_login
    string · required
    channel_id
    string · required
    category_slug
    string
  • Chat Messages

    act_twitch_tv_chat_messageswrite2 credits / call

    Returns a channel's live stream title, game, viewer count, and chat room context.

    channel_login
    string · required
    channel_id
    string · required

Twitch API questions

Is there an API for Twitch?
Twitch does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for twitch.tv. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Twitch data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when twitch.tv changes its markup, Anakin updates the action.
Do I need a Twitch account?
No. Every Twitch action listed here runs anonymously — no account and no credentials required.
What does the Twitch API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Social APIs

All Social sites