API-based voting