All answers
What identifiers do Spotify routes accept?
Each route accepts either a Spotify entity id (artistId, albumId, or trackId) or a public https://open.spotify.com/... URL for that entity type. One identifier per request — do not send conflicting id and URL values on the same call.
Read more
This answer comes from Spotify data API, which covers the full detail, endpoints and pricing in credits.