Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Preview URLs (MP3) no longer exist (all tracks)

Solved!

Preview URLs (MP3) no longer exist (all tracks)

Plan

Free/Premium

Country

France / all countries

Device

All API calls from web browsers

Operating System

All web browser platforms (Mac, Windows, Android...)

 

My Question or Issue

My app exists for a long time (about 10 years) and for several months, the return payload of the API doesn't contain preview MP3 url anymore (on any track). The use of the app didn't change, I display the Spotify Logo, Album, Artist, links...
What can I do to get this previewUrl working again ?
(gifed.net)

 

Screenshot 2025-01-31 at 12.30.00.png
Reply

Accepted Solutions
Marked as solution

To keep it short: preview clips are deprecated according to this Spotify Developer News article.

XimzendSpotify Star
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.

View solution in original post

7 Replies
Marked as solution

To keep it short: preview clips are deprecated according to this Spotify Developer News article.

XimzendSpotify Star
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.

Oh, thanks for the answer. That's too bad. So I'll have to integrate a new way to stream tracks.

What was your solution?

I marked it as resolved as I had the answer.

No solution with preview_url through the API, 2 fallback solutions :
 - using the Web Playback SDK, but I have to implement a SignIn system that I don't want (users on my app just need a sample of the song without being logged in). Too heavy way.
- using another audio streaming platform (whose name I will not mention here) which still allows preview_url in mp3 format

But if Spotify dev team can still authorize preview_url on my API credentials it would be very great 😄

I have also been looking for alternatives, I get that you can't share them here. Anyways, thanks for your answer.

Hi everyone,

I'm currently experiencing an issue where the preview_url field is returning null for every track in my application, even for those that previously provided a valid preview. This issue occurs even when the user is authenticated normally.

Details:

  • API Endpoint: I'm using the /v1/search endpoint to fetch track data.
  • Authentication: The user is authenticated normally, and I’m using a valid access token.
  • Markets Tried: I have specified different market parameters (e.g., market=US and market=BR), but the preview_url field remains null for all tracks.
  • Unexpected Behavior: This functionality was working perfectly until a few days ago, and then it suddenly stopped working.

I haven't made any changes to my code, and all other track data is returned correctly. It seems that this might be an issue with the Spotify API or a new restriction that affects the availability of preview URLs.

Has anyone else encountered this issue recently, or does anyone have any insight into what might be causing this problem?

Thanks in advance for any help or clarification!

Best regards,Matt Santtana

Hey, I needed the name of the audio streaming platform that still provides preview_url for my project. Can you help?

Suggested posts