Spotify API preview url returns null

Reply

Spotify API preview url returns null

sanjeevtt
Casual Listener

Plan

Free

Germany

 

Device

API

 

Hello there,

 

We are using & testing Spotify API to integrate with our application. While we are accessing the API, almost 50% of the songs/tracks have preview_url null. We tested with the market as well.

 

For example, if I test the global or country chart for the top 50, almost half of them do not have a preview URL.

 

Is this normal? Do most of the tracks has a preview_url?

 

Best Regards

 

2 Replies

Re: Spotify API preview url returns null

Hubo
Rock Star 16
Rock Star 16

Hey there, help’s here!

 

Hope things are well! Sometimes preview URLs are unavailable due to market restrictions, licensing restrictions or account specific settings (e.g. explicit content filter). Let me know if you have any other questions!

 

Have a great day,

Hubo

HuboRock Star 16
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Re: Spotify API preview url returns null

sanjeevtt
Casual Listener
Hi again,

All those tracks I am talking about are available in my location and market.

Is there any other criteria not to have a preview url null?

Regards
SUGGESTED POSTS