<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Find tracks by Audio Features and Album Type in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Find-tracks-by-Audio-Features-and-Album-Type/m-p/5257232#M3175</link>
    <description>&lt;P&gt;I can use the recommendations feature to generate a list of songs for given genres that satisfy Audio Feature criteria, in my case I need a list of tracks that have&amp;nbsp;&lt;FONT face="courier new,courier"&gt;min_instrumentalness=0.6&lt;/FONT&gt;. I can get 100 tracks per request this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I also need only tracks whose album is &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were to manually filter through the max 100 results I can get per request, its entirely possible none of them could be tracks with &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; so I would have to make another recommendation request. Rather than 100 tracks per request I would only be able to get 100*p per request where p is the probability of a track's album being of type &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; which likely quite small.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't do anything with the search API, as both &lt;FONT face="courier new,courier"&gt;album_type&lt;/FONT&gt; and audio features are not included in search parameters. To find only tracks where &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; with the API, as far as I can only do so per-artist. Because I need to retrieve (relatively) random songs from different artists, that would mean one request per track, which is massively impractical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to retrieve a selection of songs (i.e track information) that only come from singles, matching the audio features criteria I need using&amp;nbsp;few requests? In theory if I can get 100 tracks per recommendation request or 50 per search request I should be able to do the same to find the types of tracks I need but I don't know if it's possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 18:00:01 GMT</pubDate>
    <dc:creator>benjabby</dc:creator>
    <dc:date>2021-09-07T18:00:01Z</dc:date>
    <item>
      <title>Find tracks by Audio Features and Album Type</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Find-tracks-by-Audio-Features-and-Album-Type/m-p/5257232#M3175</link>
      <description>&lt;P&gt;I can use the recommendations feature to generate a list of songs for given genres that satisfy Audio Feature criteria, in my case I need a list of tracks that have&amp;nbsp;&lt;FONT face="courier new,courier"&gt;min_instrumentalness=0.6&lt;/FONT&gt;. I can get 100 tracks per request this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I also need only tracks whose album is &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were to manually filter through the max 100 results I can get per request, its entirely possible none of them could be tracks with &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; so I would have to make another recommendation request. Rather than 100 tracks per request I would only be able to get 100*p per request where p is the probability of a track's album being of type &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; which likely quite small.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't do anything with the search API, as both &lt;FONT face="courier new,courier"&gt;album_type&lt;/FONT&gt; and audio features are not included in search parameters. To find only tracks where &lt;FONT face="courier new,courier"&gt;album_type=SINGLE&lt;/FONT&gt; with the API, as far as I can only do so per-artist. Because I need to retrieve (relatively) random songs from different artists, that would mean one request per track, which is massively impractical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to retrieve a selection of songs (i.e track information) that only come from singles, matching the audio features criteria I need using&amp;nbsp;few requests? In theory if I can get 100 tracks per recommendation request or 50 per search request I should be able to do the same to find the types of tracks I need but I don't know if it's possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 18:00:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Find-tracks-by-Audio-Features-and-Album-Type/m-p/5257232#M3175</guid>
      <dc:creator>benjabby</dc:creator>
      <dc:date>2021-09-07T18:00:01Z</dc:date>
    </item>
  </channel>
</rss>

