latestOpenAPI 3.1.02026-08-10202033.2 KB

d8deec5eca44

Get Compatible Tracks

Get tracks that are musically compatible with a reference track.

Parameters:

<b>params</b> : CompatibleParams<br> - track_id: str (Reference track ID)<br> - compatibility_type: str, default="both" (key, bpm, both)<br> - limit: int, default=20 (Number of recommendations)<br> - min_popularity: int, optional (Minimum popularity score)<br> <b>x_api_key</b> : str (API key for authentication)<br>

Returns:

TrackIDList<br> List of tracks compatible with the reference track<br>

Notes:

Useful for DJ mixing, creating smooth transitions, or harmonic playlists.

post/api/v1/recommendations/compatible

Headers

x-api-keystring

Request body

track_idstring required

Reference track ID

compatibility_typestring

Type of compatibility: key, bpm, both

limitinteger

Number of recommendations

min_popularityinteger nullable

Minimum popularity score

Response

Successful Response

track_idsstring[] required