Add search to api