How to get Raid and Host info via API?

By reading USERNOTICE’s sent to the channel, using a bot (which could be connected in read only mode)