Avatar image

Endpoints


Endpoints for Twitch chat

I created some endpoints so you can use in your stream chat to automate the process.
At the moment, these are the available ones. If you have any idea for a new one, you can contact me and I will try to help you to create it.

Top leaderboard

Shows the top 5 users in the leaderboard. You can change the amount of users and the order. You can also opt to show points.

.me $(touser) ► $(customapi./api/top/$(channel)?amount=5&points=true&order=asc)

amount: any number from 1 to 1000. The amount of users that will be shown in the response.

points: true or false. If true, the points will be shown in the response.

order: asc or desc. The order in which the users will be shown in the response.

Example response:

Leaderboard

Top watchtime

Shows the top 5 users that have watched the most your stream. You can change the amount of users and the order. You can also opt to show the time watched.

.me $(touser) ► $(customapi./api/watchtime/$(channel)?amount=5&minutes=true&order=asc)

amount: any number from 1 to 1000. The amount of users that will be shown in the response.

minutes: true or false. If true, time will be shown in the response.

order: asc or desc. The order in which the users will be shown in the response.

Example response:

Leaderboard