From Google you can search an artist name plus "Spotify". The first result will always be the artist page on Spotify. There, all 22 characters after "artist/" inside the URL reflect the artist id. Here the example of Adele, with her id being 4dpARuHxo51G3z768sgnrY.