I just looked at the docs and you’re right: it needs an extra OAuth token for the Authorization header. I’ve tested it myself using the same exact Client ID and got a 404 error. I don’t know how this works exactly, but there’s an alternative method:
- Get the username’s ID with this URL:
https://api.twitch.tv/kraken/users?login=username - Use that same user ID to get its info, for example,
https://api.twitch.tv/kraken/users/1234567
It should give you the exact output without the account’s email address, obviously for security reasons. Apologies if it isn’t related, but I find it easier that way.