Updated the search command to use a more stable API