Skip to main content
Reads a Twitch channel page, like twitch.tv/twitch, and returns one profile as JSON.

Make a request

Send the page’s URL to scrape with a json format that names the parser. Get an API key in the Quickstart.

Read the response

The parser’s data is in data.json. Its fields include id, url, handle, name, bio, avatarUrl, isVerified, followers, following, posts, website, location and category. This sample is cut to the first items.

Options

This parser takes no options.

Price

$1 per 1,000 calls. See Pricing.

Limits and errors

  • The URL must be a Twitch channel page, like twitch.tv/twitch. Gives the channel’s name, description, followers, whether it is live now (with the stream’s title, game, viewers and start time) and its 10 newest past broadcasts. Any other URL fails with invalidRequest.
  • The answer comes back in data.json. If the page cannot be read, the call fails with an error code from Errors.