Created API to get active proposals via subdomain