...

/

Basic User Details

Basic User Details

Learn to fetch details of users using the Twitch API.

Fetch user details

As users, we're interested in viewing not only our own details but also the details of other streamers. The Twitch API provides an endpoint for this exact purpose, the users endpoint. By sending a GET request to this endpoint, we can retrieve the details of any user we specify as parameters.

Here’s the URL for this endpoint:

https://api.twitch.tv/helix/users

All calls to this endpoint need to be authorized either with an app or a user access token. Additionally, our user access token requires the user:read:email scope if we want to view a user's email address in the response. ...