Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Plan
Premium
Country
Mexico
Device
Linux computer running pop os
Operating System
Linux computer running pop os
My Question or Issue
Some artists show duplicate albums when queried through the API.
Endpoint:
https://api.spotify.com/v1/artists/{id}/albums
Sample request Request:
Solved! Go to Solution.
Did you read the documentation? The documentation for the market parameter clearly says:
"If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!"
The total_duration_in_minutes is not the same so I think there are some differences. Are the album ids the same? And the album types?
Did you read the documentation? The documentation for the market parameter clearly says:
"If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!"
I've got the same issue specifing market as US. The example I just ran into is Bring me the horizon, API shows multiple duplicated albums for US
same problem for TR
Same error, try this url and see that you will get a duplicated track:
'https://api.spotify.com/v1/search?q=Con+te&type=artist%2Cplaylist%2Ctrack&market=IT&limit=16&offset=0'
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…