> For the complete documentation index, see [llms.txt](https://streams-charts.gitbook.io/streams-charts-live-streaming-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streams-charts.gitbook.io/streams-charts-live-streaming-api-docs/testing-mode.md).

# Testing mode

You can check how the Streams Charts API works before purchasing it.&#x20;

To do it, use <mark style="color:yellow;">`testing_mode=true`</mark> in the route field.&#x20;

For example, <mark style="color:yellow;">`testing_mode=true&platform=twitch&time=last-month`</mark>. 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* [*here*](https://streamscharts.com/api/token)*.*

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

```json
{
"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
}
}
```
