There's a way to get subscribers. Let me write up a little script for you to do that. I normally use JS, but should be easy enough to convert to any other language.
Getting active is a bit more complicated but you can use this and some sort of definition of activity + account history to do that.
Thank you! So to clarify this would be to get all users who are subscribed to a community?
Yup. https://repl.it/@Rishi556/Random-Scripts#community.js Check it out there. Just hit run and you get the subscribers to the giftgiver community.