There is an undocumented Kraken endpoint that will be useful to you:
https://api.twitch.tv/kraken/users/:user_id/chat/channels/:channel_id?api_version=5
For example: Alca in ScufJumpn’s channel.
https://api.twitch.tv/kraken/users/7676884/chat/channels/64284181?api_version=5
{
"_id": "7676884",
"login": "alca",
"display_name": "Alca",
"color": "#177DE3",
"is_verified_bot": true, // This won't be true for most users.
"badges": [
{
"id": "moderator",
"version": "1"
},
{
"id": "subscriber",
"version": "12"
},
{
"id": "bits",
"version": "1000"
}
]
}
Just look for the “moderator” badge.