Added search to API