API for polar App