candidate api