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

Music scheduling and recommendation algorithm

Music scheduling and recommendation algorithm

Plan

Free

 

Operating System

Windows 10

 

My Question or Issue

I want to study Spotify's recommendation algorithm using its API. I've set up a Spotify profile and defined a process where I play one track from a diverse music playlist daily, at a set time, for 28 days.
I aim to automate this process to gather the recommended tracks.
Is this possible? Can this be scheduled through the API?

Thank you!

Reply
5 Replies

I don't know what you want to do with that data, but point 14 of the III. Some prohibited applications states "Do not use the Spotify Platform or any Spotify Content to train a machine learning or AI model or otherwise ingest Spotify Content into a machine learning or AI model".

Also point 3.a.i. of the Developer Terms states "Except as otherwise set out in these Developer Terms, you may not store, aggregate or create compilations or databases of Spotify Content, other than as strictly necessary to operate your SDA.(…) Do not store Spotify Content indefinitely."

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.

Thank you for your answer!
I don't intend to use the data to train a machine learning model, I just want to study the type of recommended music depending on the user listenings.
Is this forbidden ?

I think it is prohibited. And I have seen multiple posts about error 429, so I think analyzing a large dataset would get rate limited quickly.

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.

Thank you for your answer! I will take this into account.

What about the music scheduling? Is it possible to specify the time and day on which I want a music to be played?

Spotify doesn't have scheduling or webhook functionalities, so you must program everything yourself. And you can avoid rate limiting when you request audio features every 100 played tracks (100 ids at once).

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.

Suggested posts