APIs / Spotify / Search

Spotify: Search

Search from Spotify as JSON. 1 credit per successful call.

GET /v1/spotify/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
qstringRequiredUp to 300 characters
limitintegerOptionalAny
offsetintegerOptionalAny

Example request

Spotify
GET/v1/spotify/search?q=daft+punk
{
  "search_parameters": {
    "engine": "spotify_search",
    "q": "daft punk",
    "limit": 20,
    "offset": 0
  },
  "query": "daft punk",
  "limit": 20,
  "offset": 0,
  "tracks": {
    "items": [
      {
        "item": {
          "__typename": "TrackResponseWrapper",
          "data": {
            "__typename": "Track",
            "albumOfTrack": "…",
            "artists": "…",
            "associationsV3": "…",
            "contentRating": "…",
            "duration": "…",
            "id": "0DiWol3AO6WpXZgp0goxAV",
            "trackMediaType": "AUDIO",
            "name": "One More Time",
            "playability": "…",
            "uri": "spotify:track:0DiWol3AO6WpXZgp0goxAV",
            "visualIdentity": "…"
          }
        }
      },
      {
        "item": {
          "__typename": "TrackResponseWrapper",
          "data": {
            "__typename": "Track",
            "albumOfTrack": "…",
            "artists": "…",
            "associationsV3": "…",
            "contentRating": "…",
            "duration": "…",
            "id": "69kOkLUCkxIZYexIgSG8rq",
            "trackMediaType": "AUDIO",
            "name": "Get Lucky (feat. Pharrell Williams and Nile Rodgers)",
            "playability": "…",
            "uri": "spotify:track:69kOkLUCkxIZYexIgSG8rq",
            "visualIdentity": "…"
          }
        }
      },
      {
        "item": {
          "__typename": "TrackResponseWrapper",
          "data": {
            "__typename": "Track",
            "albumOfTrack": "…",
            "artists": "…",
            "associationsV3": "…",
            "contentRating": "…",
            "duration": "…",
            "id": "1pKYYY0dkg23sQQXi0Q5zN",
            "trackMediaType": "AUDIO",
            "name": "Around the World",
            "playability": "…",
            "uri": "spotify:track:1pKYYY0dkg23sQQXi0Q5zN",
            "visualIdentity": "…"
          }
        }
      }
    ],
    "totalCount": 30
  },
  "albums": {
    "__typename": "AlbumOrPrereleasePage",
    "items": [
      {
        "__typename": "AlbumResponseWrapper",
        "data": {
          "__typename": "Album",
          "artists": {
            "items": [
              "…"
            ]
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "date": {
            "year": 2013
          },
          "isAlbumPreRelease": false,
          "name": "Random Access Memories",
          "playability": {
            "playable": true,
            "reason": "PLAYABLE"
          },
          "type": "ALBUM",
          "uri": "spotify:album:4m2880jivSbbyEGAKfITCa",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "AlbumResponseWrapper",
        "data": {
          "__typename": "Album",
          "artists": {
            "items": [
              "…"
            ]
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "date": {
            "year": 2001
          },
          "isAlbumPreRelease": false,
          "name": "Discovery",
          "playability": {
            "playable": true,
            "reason": "PLAYABLE"
          },
          "type": "ALBUM",
          "uri": "spotify:album:2noRn2Aes5aoNVsU6iWThc",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "AlbumResponseWrapper",
        "data": {
          "__typename": "Album",
          "artists": {
            "items": [
              "…"
            ]
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "date": {
            "year": 2010
          },
          "isAlbumPreRelease": false,
          "name": "TRON: Legacy - The Complete Edition (Original Motion Picture Soundtrack)",
          "playability": {
            "playable": true,
            "reason": "PLAYABLE"
          },
          "type": "ALBUM",
          "uri": "spotify:album:3AMXFnwHWXCvNr5NCCpLZI",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      }
    ],
    "totalCount": 41
  },
  "artists": {
    "items": [
      {
        "__typename": "ArtistResponseWrapper",
        "data": {
          "__typename": "Artist",
          "onPlatformReputationTrait": {
            "verification": "…"
          },
          "profile": {
            "name": "Daft Punk"
          },
          "uri": "spotify:artist:4tZwfgrHOc3mvqYlEYSvVi",
          "visualIdentity": {
            "squareCoverImage": "…"
          },
          "visuals": {
            "avatarImage": "…"
          }
        }
      },
      {
        "__typename": "ArtistResponseWrapper",
        "data": {
          "__typename": "Artist",
          "onPlatformReputationTrait": {
            "verification": "…"
          },
          "profile": {
            "name": "Pharrell Williams"
          },
          "uri": "spotify:artist:2RdwBSPQiwcmiDo9kixcl8",
          "visualIdentity": {
            "squareCoverImage": "…"
          },
          "visuals": {
            "avatarImage": "…"
          }
        }
      },
      {
        "__typename": "ArtistResponseWrapper",
        "data": {
          "__typename": "Artist",
          "onPlatformReputationTrait": {
            "verification": "…"
          },
          "profile": {
            "name": "Tame Impala"
          },
          "uri": "spotify:artist:5INjqkS1o8h1imAzPqGZBb",
          "visualIdentity": {
            "squareCoverImage": "…"
          },
          "visuals": {
            "avatarImage": "…"
          }
        }
      }
    ],
    "totalCount": 40
  },
  "playlists": {
    "items": [
      {
        "__typename": "PlaylistResponseWrapper",
        "data": {
          "__typename": "Playlist",
          "description": "Best hits of this awesome band!",
          "format": "",
          "images": {
            "items": [
              "…"
            ]
          },
          "name": "Daft Punk Greatest Hits",
          "ownerV2": {
            "__typename": "UserResponseWrapper",
            "data": "…"
          },
          "uri": "spotify:playlist:2jTy5QwqWJ1ZUv2XeJPYbn",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "PlaylistResponseWrapper",
        "data": {
          "__typename": "Playlist",
          "attributes": [
            "…",
            "…",
            "…"
          ],
          "description": "<a href=spotify:playlist:37i9dQZF1EIWrM8JSlHPeE>Modjo</a>, <a href=spotify:playlist:37i9dQZF1EIYuUepGmHW88>Stardust</a> and <a href=spotify:playlist:37i9dQZF1EIYUy69jOuh8V>M83</a>",
          "format": "artist-mix-reader",
          "images": {
            "items": [
              "…"
            ]
          },
          "name": "Daft Punk Mix",
          "ownerV2": {
            "__typename": "UserResponseWrapper",
            "data": "…"
          },
          "uri": "spotify:playlist:37i9dQZF1EIZvbvrhfHXQ5",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "PlaylistResponseWrapper",
        "data": {
          "__typename": "Playlist",
          "attributes": [
            "…",
            "…",
            "…"
          ],
          "description": "With Modjo, Gorillaz, Pharrell Williams and more",
          "format": "inspiredby-mix",
          "images": {
            "items": [
              "…"
            ]
          },
          "name": "Daft Punk Radio",
          "ownerV2": {
            "__typename": "UserResponseWrapper",
            "data": "…"
          },
          "uri": "spotify:playlist:37i9dQZF1E4ow1baELNnKm",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      }
    ],
    "totalCount": 44
  },
  "podcasts": {
    "items": [
      {
        "__typename": "PodcastResponseWrapper",
        "data": {
          "__typename": "Podcast",
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "mediaType": "AUDIO",
          "name": "DAFT PUNK sur NRJ",
          "publisher": {
            "name": "NRJ France"
          },
          "topics": {
            "items": [
              "…"
            ]
          },
          "uri": "spotify:show:5sunx6io6NFjRgqpJp9vQX",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "PodcastResponseWrapper",
        "data": {
          "__typename": "Podcast",
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "mediaType": "AUDIO",
          "name": "Daft Punk, le secret des robots",
          "publisher": {
            "name": "Amazon Originals"
          },
          "topics": {},
          "uri": "spotify:show:0wxzoqBV4cE4F0i2hbBw4k",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "PodcastResponseWrapper",
        "data": {
          "__typename": "Podcast",
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "mediaType": "AUDIO",
          "name": "Daft Punk",
          "publisher": {
            "name": "Gabo Jolly"
          },
          "topics": {
            "items": [
              "…"
            ]
          },
          "uri": "spotify:show:7BJuiIp6JWJa8HBVIZCGua",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      }
    ],
    "totalCount": 40
  },
  "episodes": {
    "items": [
      {
        "__typename": "EpisodeResponseWrapper",
        "data": {
          "__typename": "Episode",
          "contentRating": {
            "label": "NONE"
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "description": "Inspired by one of the all-time dance floor breakdown bangers, Castle and JAG review all the things they're down to do (or not do) one more time, while simultaneously dissecting the revolutionary 2000 Daft Punk jam - \"One More Time\". Advert…",
          "duration": {
            "totalMilliseconds": 2205169
          },
          "mediaTypes": [
            "AUDIO"
          ],
          "name": "Daft Punk - One More Time",
          "playability": {
            "reason": "PLAYABLE"
          },
          "playedState": {
            "playPositionMilliseconds": 0,
            "state": "NOT_STARTED"
          },
          "podcastV2": {
            "__typename": "PodcastResponseWrapper",
            "data": "…"
          },
          "releaseDate": {
            "isoString": "2023-07-26T09:03:00Z",
            "precision": "MINUTE"
          },
          "restrictions": {
            "paywallContent": false
          },
          "uri": "spotify:episode:7xLhoHVipRcIPBJ41PX0Ds",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "EpisodeResponseWrapper",
        "data": {
          "__typename": "Episode",
          "contentRating": {
            "label": "NONE"
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "description": "Our dissection of Daft Punk’s Discovery continues with “Digital Love,” a dreamlike love story where harmony and sound design beautifully mirror its theme of unrequited love. Cole claims the song is now one of his favorites of all time as a …",
          "duration": {
            "totalMilliseconds": 2227072
          },
          "mediaTypes": [
            "VIDEO",
            "AUDIO"
          ],
          "name": "E5 - Dissecting \"Digital Love\" by Daft Punk",
          "playability": {
            "reason": "PLAYABLE"
          },
          "playedState": {
            "playPositionMilliseconds": 0,
            "state": "NOT_STARTED"
          },
          "podcastV2": {
            "__typename": "PodcastResponseWrapper",
            "data": "…"
          },
          "releaseDate": {
            "isoString": "2026-04-14T10:01:00Z",
            "precision": "MINUTE"
          },
          "restrictions": {
            "paywallContent": false
          },
          "uri": "spotify:episode:7kzmWfDCzfKi8TE6ijAKqp",
          "videoPreviewThumbnail": {
            "__typename": "VideoThumbnailImage",
            "imagePreview": "…"
          },
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      },
      {
        "__typename": "EpisodeResponseWrapper",
        "data": {
          "__typename": "Episode",
          "contentRating": {
            "label": "NONE"
          },
          "coverArt": {
            "extractedColors": "…",
            "sources": [
              "…",
              "…",
              "…"
            ]
          },
          "description": "Rob shares a list of the 10 most repetitive songs of the '90s, before diving into Daft Punk and their electronic hit “Around the World.” Later, Rob is joined by Pitchfork features editor Ryan Dombal to discuss meeting Daft Punk without thei…",
          "duration": {
            "totalMilliseconds": 4989257
          },
          "mediaTypes": [
            "AUDIO"
          ],
          "name": "“Around the World”—Daft Punk",
          "playability": {
            "reason": "PLAYABLE"
          },
          "playedState": {
            "playPositionMilliseconds": 0,
            "state": "NOT_STARTED"
          },
          "podcastV2": {
            "__typename": "PodcastResponseWrapper",
            "data": "…"
          },
          "releaseDate": {
            "isoString": "2023-07-12T07:00:00Z",
            "precision": "MINUTE"
          },
          "restrictions": {
            "paywallContent": false
          },
          "uri": "spotify:episode:11RCGpFQc8lrk1oJLbTdgk",
          "visualIdentity": {
            "squareCoverImage": "…"
          }
        }
      }
    ],
    "totalCount": 40
  },
  "genres": {
    "items": [
      {
        "__typename": "GenreResponseWrapper",
        "data": {
          "__typename": "Genre",
          "image": {
            "extractedColors": "…",
            "sources": [
              "…"
            ]
          },
          "name": "The First Ladies of KZN",
          "uri": "spotify:genre:0JQ5IMCbQBLnXYtJiRi57N"
        }
      },
      {
        "__typename": "GenreResponseWrapper",
        "data": {
          "__typename": "Genre",
          "image": {
            "extractedColors": "…",
            "sources": [
              "…"
            ]
          },
          "name": "Proudly South African Playlists",
          "uri": "spotify:genre:0JQ5IMCbQBLnuhPQGnKLgE"
        }
      },
      {
        "__typename": "GenreResponseWrapper",
        "data": {
          "__typename": "Genre",
          "image": {
            "extractedColors": "…",
            "sources": [
              "…"
            ]
          },
          "name": "Remembering Lucky Dube",
          "uri": "spotify:genre:0JQ5IMCbQBLqcm8YcZ3YOn"
        }
      }
    ],
    "totalCount": 20
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 8 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
tracksobject
albumsobject
artistsobject
playlistsobject
podcastsobject
episodesobject
genresobject