Converting channel id to channel name?

Is there a way to convert the channel id to the name of the channel?

The channel ID is the same as the user ID. Here’s some v5 endpoints:

Get user object by ID

https://api.twitch.tv/kraken/users/<user ID>

Get channel channel by ID

https://api.twitch.tv/kraken/channels/<channel ID>

These are also available:

List of user objects by comma-separated logins

https://api.twitch.tv/kraken/users?login=<user login>,<user login>,<user login>

List of user objects by comma-separated IDs

https://api.twitch.tv/kraken/users?id=<user ID>,<user ID>,<user ID>

List of channel objects by comma-separated IDs

https://api.twitch.tv/kraken/channels?id=<channel ID>,<channel ID>,<channel ID>
1 Like

Thanks so much. It looks like I have to use the Twitch API to do what I need to do.

It would be extremely helpful if twitch offered something like twitter and discord, where we can have a permalink to the channel id on our site, and twitch handles the redirect.
For example, twitter has https://twitter.com/i/user/{user_id}
Discord has: https://discordapp.com/users/{user_id}

Does twitch have something like: https://twitch.tv/user/{channel_id}

I’ve never seen this feature on Twitch, I am fairly certain it does not exists. You could suggest it or upvote an existing suggestion on the UserVoice.