I'm working on an application that matches tracks from Spotify using an ISRC. I'm using this endpoint:
https://api.music.apple.com/v1/catalog/us/songs?filter[isrc]=USQE92100257
example is taken from here: https://developer.apple.com/documentation/applemusicapi/get_multiple_catalog_songs_by_isrc
Every now and then we won't be able to find a specific song even though it exists in Apple's library but under a different storefront. By default, we're using the "US" storefront, but tracks may be available in say "GB" or some other storefront. Is there a way to search multiple storefronts when this happens? I know I could change the storefront value in the endpoint, but this is impractical as we often use tracks available in multiple countries.
Is there an endpoint that allows me to search if a song is available on any storefront?
On another note, does the Apple player from the Apple Music Kit JS utilize specific storefronts when playing music, or is it just based on having a valid Apple Id? Meaning if 3 songs came from the US storefront but a 4th one was from GB would that affect playback?