Search code examples
spotify

Using Spotify API to get search result in the player


I know I can use the API command https://api.spotify.com/v1/search to get a search result in an JSON string.

But can I use a Spotify API command to send a search query to the player and get the result in the player itself?


Solution

  • Seems like spotify:search:<search_term> works.

    Try something like spotify:search:the%20rolling%20stones in a browser. It should link you to the app, in the search section. (Tested on macOS and iOS and it works)