Spotify API

Read Spotify tracks, artists, albums, playlists and podcasts as JSON with one EveryInfra API key, from $1.39 per 1,000 calls.

All you need is one API key, no Spotify account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.

  • 7 endpoints, one key.
  • Failed calls and empty results are not charged.
  • Public data only, with no playback control.

Real sample values for one keyword search

POST /api/v1/social params {"keyword":"arctic monkeys"}

A real sample call to the Spotify keyword search, captured September 26, 2026 (UTC). The box links to its endpoint page.

Platform availability

24h health
Normal
Normal

Last 30 days

Available capabilities

Search Spotify tracks, artists, albums, playlists and podcasts to retrieve public metadata, listeners and streaming metrics.

Use a Spotify URL or ID for the matching media type. Track, artist, album and playlist identifiers are not interchangeable.

  • SearchNormal

    Search Spotify for tracks, artists, albums or playlists by keyword.

    search$1.39 per 1,000 callsEvery 20 rows count as one call

  • PodcastNormal

    Find Spotify podcast shows or single episodes by keyword.

    podcast$1.39 per 1,000 callsEvery 20 rows count as one call

Object details

  • Read a Spotify artist's bio, monthly listeners, followers and world rank, with top tracks, top cities and related artists.

    artist$1.39 per 1,000 calls

  • TrackNormal

    Get one Spotify track's artists, album, length, play count, track and disc number, release date, label and content rating.

    track$1.39 per 1,000 calls

  • AlbumNormal

    Fetch a Spotify album's type, artists, release date, label, copyright line, cover art and full track list from its link, URI or ID.

    album$1.39 per 1,000 calls

  • PlaylistNormal

    Open a Spotify playlist to see its owner, description, saves, followers, track count and the tracks it holds.

    playlist$1.39 per 1,000 calls

  • DetailsNormal

    Look up an album or single on Spotify from its full link.

    profile$1.39 per 1,000 calls

6 questions to ask before choosing a data API for Spotify

Does Spotify have an official API, and how is it different from this one?

Yes. Spotify's Web API provides catalog metadata and data for users who authorize your app. New apps start in Development Mode (a Premium owner, up to five users and a reduced set of endpoints), and extended access is granted only to registered organizations with a launched service and at least 250,000 monthly active users. With one EveryInfra API key, you can read public Spotify data in the same request format as other platforms, without applying for Spotify developer access.

Official sources: Spotify Web API: quota modes · Spotify: update on developer access and platform security · Checked

Do I need to log in to Spotify or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Spotify API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.

What compliance points apply when using Spotify data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Spotify data can I get?

Available Spotify capabilities (7): Details, Search, Artist details, Track, Album, Playlist, Podcast. The parameters and response fields of each capability are in the API reference on this page.

Use cases

  • Find the object, then read its details

    Use search to find a track, artist, album or playlist by name, then read artist, track, album or playlist from its link.

    Usessearchartisttrackalbumplaylist

  • Take stock of artist and track numbers

    Read the monthly listeners and followers of an artist, and the play count and album of a track.

    Usesartisttrack

  • Build a record catalog and playlist lists

    Read the label, release date and tracks of an album, and the saves and tracks of a playlist.

    Usesalbumplaylist

  • Map out podcast shows

    Use podcast to search shows or episodes and read the publisher and the episode count.

    Usespodcast

  • Turn release links into a table

    Use profile to read the release data behind an album or single link.

    Usesprofile

Spotify Web API vs EveryInfra

The Spotify Web API puts artists, tracks, albums, playlists, shows and search on separate pages. Each endpoint page makes its own comparison, so the platform page does not put one row up for the whole platform.

ComparedSpotify Web APIEveryInfra

The Get Artist quotes and their comparison are on the artist endpoint page. Official sources:

What does each Spotify action accept?

Parameter table for all 7 actions

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Blank rows: $1.39Response fields
profile

Details

Look up an album or single on Spotify from its full link. Get the release type, date, record label, credited artists, cover and track list. This older entry point reads releases, not user profiles. It plays no audio.

url——id · url · name · type · release_date · label · artists · image_url · track_count · tracks · platform
search

Search

Search Spotify for tracks, artists, albums or playlists by keyword. Get each match's name, type, artists and link, plus counts that fit the kind of result. Set the kind with content_type. Results can differ across regions and do not show popularity over time.

keywordcontent_typeCatalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 20 rows count as one callid · url · type · name · text · artists · album_name · owner_name · publisher · image_url · duration_ms · play_count · follower_count · monthly_listener_count · track_count · episode_count · release_date · is_explicit · preview_url · rank · platform
artist

Artist details

Read a Spotify artist's bio, monthly listeners, followers and world rank, with top tracks, top cities and related artists. Pass an artist link, a spotify:artist: URI or the bare ID. The numbers are a point-in-time snapshot, not revenue or a history.

url——id · url · name · bio · monthly_listener_count · follower_count · world_rank · genres · image_url · header_image_url · album_count · single_count · compilation_count · top_cities · top_tracks · related_artists · platform
track

Track

Get one Spotify track's artists, album, length, play count, track and disc number, release date, label and content rating. duration_ms is in milliseconds, and the response carries no audio file and does not confirm territorial rights.

url——id · url · name · artists · album_name · duration_ms · play_count · track_number · disc_number · is_explicit · release_date · preview_url · image_url · added_at · platform · album_id · album_type · label · content_rating
album

Album

Fetch a Spotify album's type, artists, release date, label, copyright line, cover art and full track list from its link, URI or ID. Nothing is played back, and regional editions of the same record are not guaranteed to match.

url——id · url · name · album_type · artists · release_date · label · copyright · track_count · image_url · tracks · platform
playlist

Playlist

Open a Spotify playlist to see its owner, description, saves, followers, track count and the tracks it holds. The playlist is left unchanged, individual followers are not named, and tracks are not guaranteed to still be available.

url——id · url · name · text · owner_name · save_count · follower_count · track_count · image_url · tracks · platform
podcast

Podcast

Find Spotify podcast shows or single episodes by keyword. Get publisher, episode count, duration and release date where they apply. For episodes, set content_type to podcast_episodes_individual_episodes. Each row's type tells shows and episodes apart. No audio is downloaded.

keywordcontent_typeCatalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 20 rows count as one callid · url · type · name · text · artists · album_name · owner_name · publisher · image_url · duration_ms · play_count · follower_count · monthly_listener_count · track_count · episode_count · release_date · is_explicit · preview_url · rank · platform
What each action's parameters mean (7 actions)

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

What do the Spotify profile parameters mean?

Look up an album or single on Spotify from its full link. Get the release type, date, record label, credited artists, cover and track list. This older entry point reads releases, not user profiles. It plays no audio.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details.
Spotify: Resource URLs, URIs, and User Identifiers Cannot Be Interchanged — Official Spotify documentation distinguishes resource URLs, URIs, IDs, and user identifiers. The legacy `profile` action only accepts full release history URLs; despite name similarity, it does not function as an official user profile endpoint, nor does it automatically parse URIs for other actions. · Checked

What do the Spotify search parameters mean?

Search Spotify for tracks, artists, albums or playlists by keyword. Get each match's name, type, artists and link, plus counts that fit the kind of result. Set the kind with content_type. Results can differ across regions and do not show popularity over time.

Full API reference: parameters, code samples, response example and health
keywordRequired
Specifies the search query for the search action, with target entities constrained by content_type. On the podcast action, this parameter searches overall podcast shows by default rather than looking up specific episode details.
content_typeOptional
Filters target catalog types. For search, allowed values are tracks, artists, albums, or playlists. The podcast action takes its own values: podcasts_shows (default) for shows or podcast_episodes_individual_episodes for single episodes. Values from one action cannot be used in the other.
Allowed values:albumsartistsplayliststracks

What do the Spotify artist parameters mean?

Read a Spotify artist's bio, monthly listeners, followers and world rank, with top tracks, top cities and related artists. Pass an artist link, a spotify:artist: URI or the bare ID. The numbers are a point-in-time snapshot, not revenue or a history.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details.
Spotify: Monthly Listeners vs. Monthly Active Listeners Metrics — Spotify defines monthly listeners as unique listeners over the past 28 days across both active streams and algorithmic recommendations. Monthly active listeners represent only the active listening subset. The `monthly_listener_count` field on this page must not be interpreted as this active subset, play counts, or follower totals. · Checked

What do the Spotify track parameters mean?

Get one Spotify track's artists, album, length, play count, track and disc number, release date, label and content rating. duration_ms is in milliseconds, and the response carries no audio file and does not confirm territorial rights.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details.
Spotify: Naked IDs Lack Explicit Resource Types — Official documentation notes that a raw Spotify ID does not explicitly declare its underlying resource type without invocation context, whereas URIs encode type information. Callers must align the selected action, URL path, and targeted ID type, as a raw string will not automatically convert across different resource types. · Checked
Spotify: Tracks, Parent Albums, and Content Usage Boundaries — Official Spotify track documentation separates `track` and `album` objects while detailing content attribution, download, and model training restrictions. Querying metadata via this endpoint does not provide full audio downloads or AI training permissions; official platform fields and `market` parameters are not automatically part of this endpoint. · Checked

What do the Spotify album parameters mean?

Fetch a Spotify album's type, artists, release date, label, copyright line, cover art and full track list from its link, URI or ID. Nothing is played back, and regional editions of the same record are not guaranteed to match.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details.
Spotify: Naked IDs Lack Explicit Resource Types — Official documentation notes that a raw Spotify ID does not explicitly declare its underlying resource type without invocation context, whereas URIs encode type information. Callers must align the selected action, URL path, and targeted ID type, as a raw string will not automatically convert across different resource types. · Checked

What do the Spotify playlist parameters mean?

Open a Spotify playlist to see its owner, description, saves, followers, track count and the tracks it holds. The playlist is left unchanged, individual followers are not named, and tracks are not guaranteed to still be available.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details.
Spotify: Naked IDs Lack Explicit Resource Types — Official documentation notes that a raw Spotify ID does not explicitly declare its underlying resource type without invocation context, whereas URIs encode type information. Callers must align the selected action, URL path, and targeted ID type, as a raw string will not automatically convert across different resource types. · Checked

What do the Spotify podcast parameters mean?

Find Spotify podcast shows or single episodes by keyword. Get publisher, episode count, duration and release date where they apply. For episodes, set content_type to podcast_episodes_individual_episodes. Each row's type tells shows and episodes apart. No audio is downloaded.

Full API reference: parameters, code samples, response example and health
keywordRequired
Specifies the search query for the search action, with target entities constrained by content_type. On the podcast action, this parameter searches overall podcast shows by default rather than looking up specific episode details.
content_typeOptional
Filters target catalog types. For search, allowed values are tracks, artists, albums, or playlists. The podcast action takes its own values: podcasts_shows (default) for shows or podcast_episodes_individual_episodes for single episodes. Values from one action cannot be used in the other.
Allowed values:podcast_episodes_individual_episodespodcasts_shows
Spotify: Podcast Shows vs. Episode Objects — Official Spotify documentation organizes episodes under parent show pages and separates following a show from saving an episode. This structural reference explains resource hierarchy only and does not replicate Spotify app capabilities such as audio playback, offline downloads, or paid subscription access. · Checked

How to use the Spotify API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
spotify_profile.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"spotify","action":"profile","params":{"url":"<url>"}}'

Spotify API questions

What can I retrieve with the Spotify API?

Set platform to spotify. The current catalog lists details, search, artist details, track, album, and more. These action names identify different Spotify objects or views; they are not interchangeable search modes.

Which input starts the Spotify profile request?

Specifies the target open.spotify.com link, spotify:type:ID URI, or raw entity ID corresponding to the chosen action (artist, track, album, or playlist). Input types must match the endpoint action and cannot be interchanged. Legacy profile endpoints accept full Spotify links to return album and single streaming metadata rather than user profile account details. Send it as url inside params.

Which fields can Spotify profile return?

Its declared schema includes name, type, release_date, and label. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Spotify action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy