tip api -> rating