Question

When performing a search using the Deezer API, the results obtained are the not the same as the ones obtained when performing the search from the Deezer web site.

Is there a way to obtain the same results as the web site using the API?

Was it helpful?

Solution

Search results are localized based on the current user's country (IP based). If you query the website and the API from the same location, you'll get the same results.

You can override the country by passing a user token to the request to make sure you always get the same results.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top