[GH-ISSUE #130] Spotify API get track info based on track name? #58

Closed
opened 2026-02-27 23:20:38 +03:00 by kerem · 1 comment
Owner

Originally created by @GeorgeHosuAdswizz on GitHub (Nov 14, 2016).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/130

Is there a way to query the spotify API in order to get information about a track/artist/album/playlist based on its name.

E.g. Queery for "track=I need a hero&artistName=..." and get a URI/ID and some information about the track.

I couldn't find anything like this in the documentation. Am I overlooking something

Originally created by @GeorgeHosuAdswizz on GitHub (Nov 14, 2016). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/130 Is there a way to query the spotify API in order to get information about a track/artist/album/playlist based on its name. E.g. Queery for "track=I need a hero&artistName=..." and get a URI/ID and some information about the track. I couldn't find anything like this in the documentation. Am I overlooking something
kerem closed this issue 2026-02-27 23:20:38 +03:00
Author
Owner

@bentappin commented on GitHub (Nov 14, 2016):

Take a look at the search function perhaps: github.com/plamere/spotipy@1304ac33c0/spotipy/client.py (L313)

Calls this endpoint: https://developer.spotify.com/web-api/search-item/

<!-- gh-comment-id:260321711 --> @bentappin commented on GitHub (Nov 14, 2016): Take a look at the search function perhaps: https://github.com/plamere/spotipy/blob/1304ac33c06eb401f36fd25bda449f0f881b7bd3/spotipy/client.py#L313 Calls this endpoint: https://developer.spotify.com/web-api/search-item/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#58
No description provided.