How to get artist_Id by the name of the artist name?

153 views
Skip to first unread message

Soonk Paik

unread,
May 30, 2020, 9:04:30 AM5/30/20
to Songkick API
I would like to pull the json/csv containing artist_id for each artist name.

To make myself clear, I attached the example below.
I understand that I could just search the name of the artist and could get the ID through the url box in my web-browser though, 
Is there any other way to get the information? or 
Can I get the information based on my list in Songkick?

Thank you

Screen Shot 2020-05-30 at 10.00.16 PM.png


mme...@gmail.com

unread,
Jun 1, 2020, 3:35:24 AM6/1/20
to songki...@googlegroups.com
You can use the artist search API endpoint to do this: https://www.songkick.com/developer/artist-search

For example, https://api.songkick.com/api/3.0/search/artists.json?apikey={your API key}&query=Pomo returns the below. Because results are sorted by relevancy, you might be ok with picking the first result, if there is more than one match:


{
"resultsPage": {"status": "ok","results": {"artist": [{"id": 1553001,"displayName": "Pomo","uri": "http://www.songkick.com/artists/1553001-pomo?utm_source=4181&utm_medium=partner","identifier": [{"mbid": "81f3a7a7-85da-4d13-8ab6-5b027b7a5f88","href": "http://api.songkick.com/api/3.0/artists/mbid:81f3a7a7-85da-4d13-8ab6-5b027b7a5f88.json","eventsHref": "http://api.songkick.com/api/3.0/artists/mbid:81f3a7a7-85da-4d13-8ab6-5b027b7a5f88/calendar.json","setlistsHref": "http://api.songkick.com/api/3.0/artists/mbid:81f3a7a7-85da-4d13-8ab6-5b027b7a5f88/setlists.json"}],"onTourUntil": null},{"id": 8617309,"displayName": "Il Pomo D'oro","uri": "http://www.songkick.com/artists/8617309-il-pomo-doro?utm_source=4181&utm_medium=partner","identifier": [{"mbid": "80e83913-b0d4-41f6-80b3-cf1119d025f8","href": "http://api.songkick.com/api/3.0/artists/mbid:80e83913-b0d4-41f6-80b3-cf1119d025f8.json","eventsHref": "http://api.songkick.com/api/3.0/artists/mbid:80e83913-b0d4-41f6-80b3-cf1119d025f8/calendar.json","setlistsHref": "http://api.songkick.com/api/3.0/artists/mbid:80e83913-b0d4-41f6-80b3-cf1119d025f8/setlists.json"}],"onTourUntil": "2020-12-16"},{"id": 7913404,"displayName": "Il Pomo D’oro – Riccardo Minasi","uri": "http://www.songkick.com/artists/7913404-il-pomo-doro-riccardo-minasi?utm_source=4181&utm_medium=partner","identifier": [],"onTourUntil": null},{"identifier": [],"displayName": "Pomo (with Nouvel Age)","uri": "http://www.songkick.com/artists/7119964-pomo-with-nouvel-age?utm_source=4181&utm_medium=partner","onTourUntil": null,"id": 7119964}]},"perPage": 50,"page": 1,"totalEntries": 4}}

--
You received this message because you are subscribed to the Google Groups "Songkick API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to songkick-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/songkick-api/2e75dfb8-2789-4ea9-9f6d-82f7a3974c0c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages