Spotify API endpoint
Returns Spotify track search results for a search term. Caller-supplied Spotify bearer or client tokens are not required.
/spotify/tracks/searchMCP tool: spotify_tracks_search
Path/query/body parameters:
q query string, required. Search term.offset query integer, optional. Search offset. Defaults to 0.limit query integer, optional. Track result limit, clamped to 1-50. Defaults to 10.number_of_top_results query integer, optional. Top result limit, clamped to 1-50. Defaults to 5.include_audiobooks query boolean, optional. Includes audiobook context where available.include_pre_releases query boolean, optional. Includes pre-release results when requested.include_album_pre_releases query boolean, optional. Includes album pre-release results when requested.include_authors query boolean, optional. Includes authors when requested.include_episode_content_ratings_v2 query boolean, optional. Includes Spotify episode content ratings v2 when requested.Notable response behavior:
503.data.tracks; a de-duplicated cross-entity view is also returned in data.results.meta.operationName is searchTracks.| Field | Filled in, of 62 checked | Values in the sample |
|---|---|---|
| uri | 62 | “spotify:track:1Yk0cQdMLx5RzzFTYwmuld” and 61 other values |
| type | 20 | Track in all 20 |
| title | 62 | “Hello” and 46 other values |
| imageUrl | 40 | i.scdn.co |
| images | 40 | median 3 entries |
| externalUrl | 62 | open.spotify.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search term | hello | |
| offset | integer | No | Search offset | 0 | |
| limit | integer | No | Track result limit, clamped to 1-50 | 20 | |
| number_of_top_results | integer | No | Top result limit, clamped to 1-50 | 20 | |
| include_audiobooks | boolean | No | Include audiobook context where available | true | |
| include_pre_releases | boolean | No | Include pre-release results | false | |
| include_album_pre_releases | boolean | No | Include album pre-release results | false | |
| include_authors | boolean | No | Include authors | false | |
| include_episode_content_ratings_v2 | boolean | No | Include Spotify episode content ratings v2 | false | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/spotify/tracks/search?q=hello&limit=10&include_audiobooks=true&include_pre_releases=true&include_album_pre_releases=true&include_authors=true&include_episode_content_ratings_v2=true" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"searchTerm": "hello",
"offset": 0,
"limit": 20,
"results": [
{
"uri": "spotify:track:example",
"type": "Track",
"title": "Hello",
"externalUrl": "https://open.spotify.com/track/example"
}
],
"tracks": [
{
"uri": "spotify:track:example",
"type": "Track",
"title": "Hello",
"externalUrl": "https://open.spotify.com/track/example"
}
],
"meta": {
"operationName": "searchTracks",
"appVersion": "1.2.90.400.g1e02cab1",
"resultCount": 1,
"trackCount": 1,
"fetchedAt": "2026-05-13T15:22:41Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/spotify.searchCatalogResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | spotify.SearchResponse | No | ||||
| data.albums | array | No | Albums that matched the search term. | |||
| data.albums[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.albums[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.albums[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.albums[].images | array | No | Images available for the result, with their sizes. | |||
| data.albums[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.albums[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.albums[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.albums[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.albums[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.albums[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.albums[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.albums[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.artists | array | No | Artists that matched the search term. | |||
| data.artists[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.artists[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.artists[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.artists[].images | array | No | Images available for the result, with their sizes. | |||
| data.artists[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.artists[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.artists[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.artists[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.artists[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.artists[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.artists[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.artists[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.audiobooks | array | No | Audiobooks that matched the search term. | |||
| data.audiobooks[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.audiobooks[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.audiobooks[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.audiobooks[].images | array | No | Images available for the result, with their sizes. | |||
| data.audiobooks[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.audiobooks[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.audiobooks[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.audiobooks[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.audiobooks[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.audiobooks[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.audiobooks[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.audiobooks[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.episodes | array | No | Podcast episodes that matched the search term. | |||
| data.episodes[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.episodes[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.episodes[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.episodes[].images | array | No | Images available for the result, with their sizes. | |||
| data.episodes[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.episodes[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.episodes[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.episodes[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.episodes[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.episodes[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.episodes[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.episodes[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.limit | integer | No | 20 | Maximum number of results requested per section. | ||
| data.meta | object | No | Details about this response. | |||
| data.meta.albumCount | integer | No | 3 | Number of albums returned. | ||
| data.meta.appVersion | string | No | 1.2.90.403.gf901f20f | Version of the Spotify web player the data was read from. | ||
| data.meta.artistCount | integer | No | 5 | Number of artists returned. | ||
| data.meta.audiobookCount | integer | No | 2 | Number of audiobooks returned. | ||
| data.meta.episodeCount | integer | No | 2 | Number of episodes returned. | ||
| data.meta.fetchedAt | string | No | 2026-05-13T20:41:12Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.meta.operationName | string | No | searchDesktop | Name of the Spotify web player operation that returned the data. | ||
| data.meta.playlistCount | integer | No | 2 | Number of playlists returned. | ||
| data.meta.resultCount | integer | No | 22 | Total number of results returned. | ||
| data.meta.showCount | integer | No | 4 | Number of shows returned. | ||
| data.meta.topCount | integer | No | 3 | Number of top results returned. | ||
| data.meta.trackCount | integer | No | 2 | Number of tracks returned. | ||
| data.meta.userCount | integer | No | 2 | Number of user profiles returned. | ||
| data.offset | integer | No | 0 | Position of the first result returned. | ||
| data.playlists | array | No | Playlists that matched the search term. | |||
| data.playlists[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.playlists[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.playlists[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.playlists[].images | array | No | Images available for the result, with their sizes. | |||
| data.playlists[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.playlists[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.playlists[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.playlists[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.playlists[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.playlists[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.playlists[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.playlists[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.results | array | No | All results found, across every type. | |||
| data.results[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.results[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.results[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.results[].images | array | No | Images available for the result, with their sizes. | |||
| data.results[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.results[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.results[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.results[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.results[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.results[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.results[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.results[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.searchTerm | string | No | hello | Search term that was run. | ||
| data.shows | array | No | Podcast shows that matched the search term. | |||
| data.shows[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.shows[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.shows[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.shows[].images | array | No | Images available for the result, with their sizes. | |||
| data.shows[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.shows[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.shows[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.shows[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.shows[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.shows[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.shows[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.shows[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.topResults | array | No | Best matches across all result types. | |||
| data.topResults[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.topResults[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.topResults[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.topResults[].images | array | No | Images available for the result, with their sizes. | |||
| data.topResults[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.topResults[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.topResults[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.topResults[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.topResults[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.topResults[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.topResults[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.topResults[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.tracks | array | No | Tracks that matched the search term. | |||
| data.tracks[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.tracks[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.tracks[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.tracks[].images | array | No | Images available for the result, with their sizes. | |||
| data.tracks[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.tracks[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.tracks[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.tracks[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.tracks[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.tracks[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.tracks[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.tracks[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| data.users | array | No | User profiles that matched the search term. | |||
| data.users[].description | string | No | The official podcast of comedian Joe Rogan. | Description text of the result. | ||
| data.users[].externalUrl | string | No | https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk | Link to the result on open.spotify.com. | ||
| data.users[].imageUrl | string | No | https://i.scdn.co/image/ab67656300005f1f54e6837957803d762a3f4d2b | URL of the main image for the result. | ||
| data.users[].images | array | No | Images available for the result, with their sizes. | |||
| data.users[].images[].height | integer | No | 640 | Image height in pixels. | ||
| data.users[].images[].url | string | No | https://i.scdn.co/image/ab6765630000ba8ab0484f8ee2933eceab32bac0 | URL of the image. | ||
| data.users[].images[].width | integer | No | 640 | Image width in pixels. | ||
| data.users[].publisher | string | No | Joe Rogan | Publisher or creator name of the result. | ||
| data.users[].subtitle | string | No | Joe Rogan | Secondary line shown under the title, such as the artist or creator name. | ||
| data.users[].title | string | No | The Joe Rogan Experience | Result title as Spotify shows it. | ||
| data.users[].type | string | No | Podcast | Kind of result as Spotify labels it, for example `Podcast`. | ||
| data.users[].uri | string | No | spotify:show:4rOoJ6Egrf8K2IrywzwOMk | Spotify URI of the result. | ||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Missing or invalid parameters | #/definitions/app.Response |
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 503 | Spotify upstream request failed | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/spotify/tracks/search?q=hello&limit=10&include_audiobooks=true&include_pre_releases=true&include_album_pre_releases=true&include_authors=true&include_episode_content_ratings_v2=true" \
-H "x-api-key: $CRAWLORA_API_KEY"