call api for search and fares