Get Contrast Recommendations
Get tracks with characteristics contrasting to a reference track.
Parameters:
<b>params</b> : ContrastParams<br> - track_id: str (Reference track ID)<br> - contrast_features: List[str], default=["energy", "valence"] (Features to contrast)<br> - limit: int, default=20 (Number of recommendations)<br> <b>x_api_key</b> : str (API key for authentication)<br>
Returns:
TrackIDList<br> List of tracks with contrasting characteristics<br>
Notes:
Creates variety in playlists by finding tracks with opposite characteristics.
post/api/v1/recommendations/contrast
Request
- Base URLhttps://soundstat.info (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.