Interface RecommendationsFilterOptions

interface RecommendationsFilterOptions {
    limit?: number;
    market?: Markets;
    max_acousticness?: number;
    max_danceability?: number;
    max_duration_ms?: number;
    max_energy?: number;
    max_instrumentalness?: number;
    max_key?: number;
    max_liveness?: number;
    max_loudness?: number;
    max_mode?: number;
    max_popularity?: number;
    max_speechiness?: number;
    max_tempo?: number;
    max_time_signature?: number;
    max_valence?: number;
    min_acousticness?: number;
    min_danceability?: number;
    min_duration_ms?: number;
    min_energy?: number;
    min_instrumentalness?: number;
    min_key?: number;
    min_liveness?: number;
    min_loudness?: number;
    min_mode?: number;
    min_popularity?: number;
    min_speechiness?: number;
    min_tempo?: number;
    min_time_signature?: number;
    min_valence?: number;
    seed_artists?: string[];
    seed_genres?: string[];
    seed_tracks?: string[];
    target_acousticness?: number;
    target_danceability?: number;
    target_duration_ms?: number;
    target_energy?: number;
    target_instrumentalness?: number;
    target_key?: number;
    target_liveness?: number;
    target_loudness?: number;
    target_mode?: number;
    target_popularity?: number;
    target_speechiness?: number;
    target_tempo?: number;
    target_time_signature?: number;
    target_valence?: number;
}

Properties

limit?: number

Maximum number of results to return. Minimum: 1. Maximum: 100. Default: 20. Note: The limit is applied within each type, not on the total response.

market?: Markets

An ISO 3166-1 alpha-2 country code or the string from_token. If market is set to from_token, and a valid access token is specified in the request header, only content playable in the country associated with the user account, is returned.

max_acousticness?: number
max_danceability?: number
max_duration_ms?: number
max_energy?: number
max_instrumentalness?: number
max_key?: number
max_liveness?: number
max_loudness?: number
max_mode?: number
max_popularity?: number
max_speechiness?: number
max_tempo?: number
max_time_signature?: number
max_valence?: number
min_acousticness?: number
min_danceability?: number
min_duration_ms?: number
min_energy?: number
min_instrumentalness?: number
min_key?: number
min_liveness?: number
min_loudness?: number
min_mode?: number
min_popularity?: number
min_speechiness?: number
min_tempo?: number
min_time_signature?: number
min_valence?: number
seed_artists?: string[]
seed_genres?: string[]
seed_tracks?: string[]
target_acousticness?: number
target_danceability?: number
target_duration_ms?: number
target_energy?: number
target_instrumentalness?: number
target_key?: number
target_liveness?: number
target_loudness?: number
target_mode?: number
target_popularity?: number
target_speechiness?: number
target_tempo?: number
target_time_signature?: number
target_valence?: number