add api for search location