Retrieving a list of moderators through the API

Connect to the person’s chat, send /mods or .mods as a PRIVMSG to the chat. You’re looking for the NOTICE reply that starts with The moderators of this room are:

It’s literally the only way to do it right now.