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

How to get full track object

How to get full track object

My Question or Issue

Because of the recent API changes and the lack of preview_url fields in SimpleTrack Objects I was wondering how to get a full track object

The way the API changes were phrased it made it seem like it would only affect multi-get requests but even with the /v1/tracks/{tracksID} endpoint it's giving me the same simplified data and nulled preview_url field

Reply
4 Replies

Hi there, @Carbxi 

 

What is the purpose of getting "a full track object" exactly?

You still can get previews with the Get Track endpoint, just not with the API endpoint to get multiple tracks.

 

edit: fixed typo

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.

The Get Track endpoint is returning with a null preview_url field, I've already tried specifying a market, and I've used super popular songs, not one will return a preview_url

EG https://api.spotify.com/v1/tracks/1BxfuPKGuaTgP7aM0Bbdwr?market=CA

Sorry, you are right. This is a bug, or I misunderstood "30-second preview URLs, in multi-get responses (SimpleTrack object)".

 

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.

Sorry for the confusion, it is basically the 30-second preview URL for any track (no matter what endpoint you use to get it).

Suggested posts