Skip to content

Spotify API: Get song

Finds a Spotify song by title (optionally narrowed by artist), track link, URI or track ID and returns its public play count and details. Without an artist, the most-played exact title match wins. Previews and ISRC may be unavailable for some tracks.

open.spotify.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Spotify.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Song, requiredsong

Song title, Spotify track link, or track ID, for example Blinding Lights or https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b.

spotify:track:0VjIjW4GlUZAMYd2vXMi3b

Artist optionalartist

Artist name to identify the song, for example The Weeknd. Omit to use the most-played matching track.

(default)

Output

From a run on Oct 31, 2026.
{  "album": "After Hours",  "title": "Blinding Lights",  "length": "3:20",  "artists": [    "The Weeknd"  ],  "explicit": "no",  "isrc_code": "USUG11904206",  "length_ms": 200040,  "play_count": 5610198940,  "preview_link": "https://p.scdn.co/mp3-preview/51c08d92815cce4ac2de94a7335a430b81234624",  "release_date": "2020-03-20",  "spotify_link": "https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b",  "track_number": 9,  "cover_image_link": "https://i.scdn.co/image/ab67616d0000b2738863bc11d2aa12b54f5aeb36",  "spotify_track_id": "0VjIjW4GlUZAMYd2vXMi3b"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
open.spotify.com/get_song
Returns
title, artists, album, release date, length, play count, explicit flag, track number, preview link, cover image, Spotify link, track ID, ISRC, length in ms

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method open.spotify.com/get_song with the inputs above.

Ask your agent

  • How many streams does Espresso by Sabrina Carpenter have on Spotify right now?
  • Pull up the details for this track: https://open.spotify.com/track/3n3Ppam7vgaVa1iaRUc9Lp — I need the ISRC, album name, and release date.
  • What's the play count and duration of Bohemian Rhapsody by Queen?
  • Look up the song 'As It Was' and tell me whether it's marked explicit, which track number it is on the album, and grab the cover art link.
  • Find track ID 7qiZfU4dY1lWllzX7mPBI3 on Spotify and give me its title, artists, length in milliseconds, and a preview clip URL if there is one.
  • Gets a Spotify artist's public profile from their name, artist link or ID: listeners, followers, world rank, top cities, popular tracks, latest release and release counts.

    open.spotify.com/get_artist
  • Gets a Spotify album by name (optionally with the artist), album link or album ID, with its details and ordered track list including play counts.

    open.spotify.com/get_album
  • Searches Spotify for songs, artists, albums, playlists or podcasts by keywords and returns them in Spotify's result order. Songs and albums include a release date when Spotify gives a full date.

    spotify.com/search_music
  • Lists Spotify's top or trending podcasts for a country in chart order, with rank, movement, publisher, artwork and Spotify link. Category charts exist only for some countries.

    open.spotify.com/list_top_podcasts
  • Gets a Deezer song's tempo, ISRC, loudness gain and recording details from its title, track link or track ID. An artist name helps pick the right recording.

    deezer.com/get_song_details
  • Finds the best-matching studio recording on MusicBrainz for a song title and artist. Returns its ISRCs, first release date and up to 25 of its earliest releases.

    musicbrainz.org/get_song_identifiers
  • Gets a public SoundCloud track and its stats from a title and optional artist, or from a track link. Search picks the artist's matching upload with the most plays; unavailable fields are null.

    soundcloud.com/get_track
  • Searches the Apple Music song catalog by title and artist words, returning matching tracks in relevance order with prices and previews when available.

    music.apple.com/search_songs