Spotify API

Get Spotify metadata about music artists, albums, and tracks, directly from the Spotify Data Catalogue with NoCodeAPi without any coding and server setup

Search

Make GET request on this endpoint to search with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/search

- Request Parameters:

ObjectDescription
q[Required] Query you want to search on spotify
type[Optional] album , artist, playlist, track, show and episode. By default is album
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Browse Categories

Make GET request on this endpoint to browse categories with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/browse/categories

- Request Parameters:

ObjectDescription
country[Optional] A country: an ISO 3166-1 alpha-2 country code.
locale[Optional] The desired language, consisting of an ISO 639-1 language code
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Browse Category Playlist

Make GET request on this endpoint to browse category playlist with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/browse/categoryPlaylist

- Request Parameters:

ObjectDescription
category_id[Required] The Spotify category ID for the category.
country[Optional] A country: an ISO 3166-1 alpha-2 country code.
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Browse featured

Make GET request on this endpoint to browse featured with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/browse/featured

- Request Parameters:

ObjectDescription
country[Optional] A country: an ISO 3166-1 alpha-2 country code.
locale[Optional] The desired language, consisting of an ISO 639-1 language code
timestamp[Optional] A timestamp in ISO 8601 format: yyyy-MM-ddTHH:mm:ss
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

New Releases

Make GET request on this endpoint to new releases with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/browse/new

- Request Parameters:

ObjectDescription
country[Optional] A country: an ISO 3166-1 alpha-2 country code.
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

User's Top

Make GET request on this endpoint to user's top with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/usersTop

- Request Parameters:

ObjectDescription
type[Required] The type of entity to return. Valid values: artists or tracks
time_range[Optional] Over what time frame the affinities are computed. Valid values: long_term (calculated from several years of data and including all new data as it becomes available), medium_term (approximately last 6 months), short_term (approximately last 4 weeks). Default: medium_term
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Recommendations

Make GET request on this endpoint to recommendations with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/recommendations

- Request Parameters:

ObjectDescription
seed_artists[Optional] A comma separated list of Spotify IDs for seed artists. Up to 5 seed values may be provided in any combination of seed_artists, seed_tracks and seed_genres.
seed_genres[Optional] A comma separated list of any genres in the set of available genre seeds. Up to 5 seed values may be provided in any combination of seed_artists, seed_tracks and seed_genres.
seed_tracks[Optional] A comma separated list of Spotify IDs for a seed track. Up to 5 seed values may be provided in any combination of seed_artists, seed_tracks and seed_genres.
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number
min_acousticness[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_acousticness[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_acousticness[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_danceability[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_danceability[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_danceability[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_duration_ms[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_duration_ms[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_duration_ms[Optional] Target duration of the track (ms)
min_energy[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_energy[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_energy[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_instrumentalness[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_instrumentalness[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_instrumentalness[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_key[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_key[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_key[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_liveness[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_liveness[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_liveness[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_loudness[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_loudness[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_loudness[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_mode[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_mode[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_mode[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_popularity[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_popularity[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_popularity[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_speechiness[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_speechiness[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_speechiness[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_tempo[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_tempo[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_tempo[Optional] Target tempo (BPM)
min_time_signature[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_time_signature[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_time_signature[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.
min_valence[Optional] For example, min_tempo=140 would restrict results to only those tracks with a tempo of greater than 140 beats per minute.
max_valence[Optional] For example, max_instrumentalness=0.35 would filter out most tracks that are likely to be instrumental.
target_valence[Optional] For example, you might request target_energy=0.6 and target_danceability=0.8. All target values will be weighed equally in ranking results.

Available Genre Seeds

Make GET request on this endpoint to available genre seeds with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/availableGenreSeeds

Following

Make GET request on this endpoint to following with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/following

- Request Parameters:

ObjectDescription
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Follow Artists or Users

Make PUT request on this endpoint to follow artists or users with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/following

- Request Parameters:

ObjectDescription
ids[Required] A comma-separated list of the artist or the user Spotify IDs.
type[Optional] The ID type: either artist or user.

Unfollow Artists or Users

Make DELETE request on this endpoint to unfollow artists or users with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/following

- Request Parameters:

ObjectDescription
ids[Required] A comma-separated list of the artist or the user Spotify IDs.
type[Optional] The ID type: either artist or user.

My Playlists

Make GET request on this endpoint to my playlists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/myPlaylists

- Request Parameters:

ObjectDescription
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

My Library

Make GET request on this endpoint to my library with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/myLibrary

- Request Parameters:

ObjectDescription
type[Required] albums, shows, or tracks
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Playlists

Make GET request on this endpoint to playlists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/playlists

- Request Parameters:

ObjectDescription
id[Required] The Spotify ID for the playlist.

Follow Playlists

Make PUT request on this endpoint to follow playlists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/playlists

- Request Parameters:

ObjectDescription
playlist_id[Required] The playlist_id for the playlist.

Unfollow Playlists

Make DELETE request on this endpoint to unfollow playlists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/playlists

- Request Parameters:

ObjectDescription
playlist_id[Required] The playlist_id for the playlist.

Artists

Make GET request on this endpoint to artists with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/artists

- Request Parameters:

ObjectDescription
id[Required] The Spotify ID for the artist.
queryType[Optional] albums, top-tracks, or related-artists
perPage[Optional] Maximum number of results to return.
page[Optional] paginate the number

Tracks

Make GET request on this endpoint to tracks with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/tracks

- Request Parameters:

ObjectDescription
ids[Required] A comma-separated list of the Spotify IDs for the tracks. Maximum: 50 IDs.

Save Tracks

Make PUT request on this endpoint to save tracks with required parameters(if any required).

https://v1.nocodeapi.com/<username>/spotify/<token>/saveTracks

- Request Parameters:

ObjectDescription
ids[Required] A comma-separated list of the Spotify IDs for the tracks. Maximum: 50 IDs.
NoCodeAPI 3.0 - The easiest way to connect with APIs without code. | Product Hunt