API to a contribution election database