Add search to API