Streams Charts Live-Streaming API Docs
Streams Charts Home PageAPI OverviewToken & CreditsAccess HistorySupport
  • ⚙️Streams Charts Live Streaming API Overview
  • 📉Single channel stats
  • 📊Single stream stats
  • 📗List of channels by different metrics and filters
  • 📘List of top Twitch channels by paid subscribers
  • 📒List of top Twitch channels by bits
  • ✏️Testing mode
  • 🆓FREE request
Powered by GitBook
On this page

Testing mode

PreviousList of top Twitch channels by bitsNextFREE request

Last updated 10 months ago

You can check how the Streams Charts API works before purchasing it.

To do it, use testing_mode=true in the route field.

For example, testing_mode=true&platform=twitch&time=last-month. As a result, you will get a response with fake data.

Use case

If you want to see stream data in the testing mode, you should perform the following request (use your token and client ID):

curl -X GET https://streamscharts.com/api/jazz/channels/xqc/streams/45870685068?platform=twitch&testing_mode=true \
-H 'Client-ID: XXXXXXXXXXXX' \
-H 'Token: YYYYYYYYYYYYYY'

Use your Client ID and token instead of "XXXXXXXXXXXX" and "YYYYYYYYYYYYYY", which you can find .

The response you would get would be a JSON response with fake stats:

{
"data":{
"platform": "twitch",
"channel_name": "twitchrivals",
"channel_display_name": "TwitchRivals",
"channel_id": "197886470",
"avatar_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/4d7baea6-e3e4-4887-ad65-eee3388da27a-profile_image-300x300.png",
"stream_id": "41038213035",
"stream_status": "Twitch Rivals: Apex Legends Showdown",
"stream_start": "2022-07-26 20:46:26",
"stream_end": "2022-07-27 01:10:00",
"stream_language": "en",
"hours_watched": 75786,
"airtime_in_m": 270,
"peak_viewers": 25434,
"average_viewers": 16842,
"followers_gain": 2329,
"top_game_by_hw": "Apex Legends",
"top_game_by_hw_%": 100
}
}
✏️
here