Skip to main content

Search by Tracks

POST 

/library-tracks/similarity-search

Get a list of Tracks from your Library that are most similar to the set of reference Tracks specified in the request body.

The endpoint calculates an equal mix of all your input songs, and finds tracks in your catalog similar to that equal mix.

Up to 10 reference tracks may be supplied. When a single reference track is supplied the behaviour is equivalent to the single-track similarity endpoint.

A reference may also be an external source, given as a Spotify track URL or a YouTube video URL. A request may reference either exactly one external source or one or more Library Tracks, but not both. Searching by an external source must be enabled for your account; otherwise the request is rejected with a 401. See the Search by External Tracks section of the search guide for a walkthrough.

Request​

Responses​

A list of Library Tracks similar to the reference tracks