Added api search callback.