Similar tracks

 

Returns similar tracks for a specified track. This method uses both the track genre and track keywords fields. Results require an exact match on track genre and similarity percentage on track keywords.

Request:

POST /getsimilartracks/{serviceToken}

Parameter Type Status
ServiceToken String Mandatory
Request Body XML Mandatory

Request body

<requestsimilartracks>
<region>4d3ddXXXX8eed45</region>
<track>4d3ddXXXXcd6dXX</track>
<mainonly>true</mainonly>
<similaritypercentage>20</similaritypercentage>
</requestsimilartracks> 

 

The following are mandatory 
<track>4d3ddXXXXcd6dXX</track> This element should contain the trackID
<mainonly>true/false</mainonly> This element should contain the boolean value e.g. true or false
<similaritypercentage>50</similaritypercentage> This element should contain the (minimum) similarity percentage whole number value ranging from 0 to 100

NOTE: Only active track elements are returned within Response object.

Successful Response

<responsetracks>
<tracks>
<track dateingested="2012-04-10 08:50:14" bitrate="0" frequency="48000" mixout="N/A" bpm="" instrumentation="N/A" tempo="Medium Slow" genre="Pop, Pop: Dance, Dance, Showbiz, Showbiz: Glamour/Fashion" displaytitle="Light All Night (Main)" lyrics="" keywords="" id="c2ef460cacb6281f" albumid="b6e35XXX17e1b99" name="Light All Night (Main)" publisher="VideoHelper" composer="Joseph Saba (ASCAP), Stewart Winter (ASCAP)" comment="A theme song for a sitcom set on a space station. The machismo of percussive muted guitar over a heavy funk/hip-hop beat that becomes big ElectroPop with bright synth arpeggios @:12, and a cheery guitar/synth melody @ :23. The second half is a pulsing drum breakdown with clean synth arpeggios @:44, the beat returning @:54. Good for showing that the future can be a fun place for humans, provided they don’t go outside without a radiation suit and a revolver." lengthseconds="88" time="01:28" tracknumber="001" version="FullVersion" lastupdated="2013-02-11 12:29:18" similaritypercentagescore="0.51">
<alternatetracks>
<track dateingested="2012-04-10 09:33:35" bitrate="0" frequency="48000" mixout="N/A" bpm="" instrumentation="" tempo="" genre="Dance, Pop, Pop: Dance, Showbiz, Showbiz: Glamour/Fashion" displaytitle="Light All Night (Background)" lyrics="" id="a2c07f3XXX8c31b3" albumid="b6e3554d117e1b99" name="Light All Night (Background)" publisher="VideoHelper" composer="Joseph Saba (ASCAP), Stewart Winter (ASCAP)" comment="Each instrument takes its turn rappin’ on the mic. (That is a technical term.) The heavy beat only drops out three times – for pretty synth arpeggios @:42, for distorted guitars @1:15, and at the end when it’s replaced with hi-hat." lengthseconds="133" time="02:13" tracknumber="054" filesize="" version="FullVersion" lastupdated="2013-02-11 12:29:18"/>

<track version="N/A" dateingested="2012-04-10 09:33:35" bitrate="0" frequency="48000" mixout="N/A" bpm="" instrumentation="" tempo="Medium" genre="Dance, Pop, Pop: Dance, Showbiz, Showbiz: Glamour/Fashion" displaytitle="Light All Night (Alternate)" lyrics="" id="175fcf38709aace4" albumid="b6e355XXXe1b99" name="Light All Night (Alternate)" publisher="VideoHelper" composer="Joseph Saba (ASCAP), Stewart Winter (ASCAP)" comment="This version starts with 10 seconds of distorted guitar effects guaranteed to give you a flashback from that one concert you went to when you did those things to those things. Things get minimalist @:43, and there’s another psychedelic guitar freakout @1:37-1:51 before the melody returns abruptly @1:51." lengthseconds="141" time="02:21" tracknumber="055" filesize=""version="FullVersion" lastupdated="2013-02-11 12:29:18"/>
</alternatetracks>
<categories>
<category id="9e4d309XXX51779" name="Moods">
<attributes>
<attribute id="cf83ad1f8XXX1c15" name="Carefree"/>
<attribute id="05965XXX797cda32" name="Fun"/>
<attribute id="77d84XXXdd593d46" name="Rowdy"/>
<attribute id="14eXXX457e82daa4" name="Confident"/>
<attribute id="6e1693XXX8ebaf71" name="Swagger"/>
<attribute id="b3c2827ed9XXX87a" name="Anticipation"/>
<attribute id="6543eXXXb6d6af72" name="Happy"/>
<attribute id="ff5dc9cdbdXXX08e" name="Hi-Energy"/>
</attributes>
</category>
<category id="0dabXXXe6f7b545" name="Scenarios">
<attributes>
<attribute id="2b926XXX6c349659" name="Commercials">
<attributes>
</categories>
</track>
</tracks>
</responsetracks>

Error Response:

<responsetracks>
<error>
<code>5</code>
<description>Invalid Token</description>
</error>
</responsetracks>
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.