Deezer API: Get song details
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.
Unofficial. Not affiliated with or endorsed by Deezer.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Song, required
song Song title, Deezer track link, or track ID, e.g. Uptown Funk or https://www.deezer.com/track/92734438.
Uptown Funk
- Artist optional
artist Artist name to distinguish recordings, e.g. Mark Ronson. Leave blank for the most popular match.
Mark Ronson
Default
.
Input as JSON
{ "song": "Uptown Funk", "artist": "Mark Ronson"}Output
{ "isrc": "GBARL1401524", "album": "Uptown Special", "title": "Uptown Funk (feat. Bruno Mars)", "artist": "Mark Ronson", "length": "4:30", "explicit": "no", "track_id": 92734438, "tempo_bpm": 114.8, "deezer_link": "https://www.deezer.com/track/92734438" , "preview_link": "https://cdnt-preview.dzcdn.net/api/1/1/b/0/a/0/b0a30d99fddf73c172e0d3f308899dd5.mp3?hdnea=exp=1792748614~acl=/api/1/1/b/0/a/0/b0a30d99fddf73c172e0d3f308899dd5.mp3*~data=user_id=0,application_id=42~hmac=da98c5cea05acd66f3f99f37b01592e46fe5ff00ac632b48f6ba01af3a2ee0c2" , "release_date": "2015-01-12", "length_seconds": 270, "loudness_gain_db": -11.9}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"deezer.com/get_song_details","input":{"song":"Uptown Funk","artist":"Mark Ronson"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "deezer.com/get_song_details" , "input": { "song": "Uptown Funk", "artist": "Mark Ronson" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "deezer.com/get_song_details" , "input": { "song": "Uptown Funk", "artist": "Mark Ronson" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run deezer.com/get_song_details# with {"song":"Uptown Funk","artist":"Mark Ronson"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "song" ], "properties": { "song": { "type": "string", "description": "Song title, Deezer track link, or track ID, e.g. Uptown Funk or https://www.deezer.com/track/92734438." }, "artist": { "type": "string", "default": "", "description": "Artist name to distinguish recordings, e.g. Mark Ronson. Leave blank for the most popular match." } }, "additionalProperties": false}Output schema
{ "type": "object", "required": [ "title", "artist", "album", "release_date", "length", "tempo_bpm", "isrc", "loudness_gain_db", "explicit", "preview_link", "deezer_link", "track_id", "length_seconds" ], "properties": { "isrc": { "type": [ "string", "null" ] }, "album": { "type": [ "string", "null" ] }, "title": { "type": "string" }, "artist": { "type": "string" }, "length": { "type": "string", "description": "Length in m:ss." }, "explicit": { "enum": [ "yes", "no" ], "type": "string" }, "track_id": { "type": "integer" }, "tempo_bpm": { "type": [ "number", "null" ] }, "deezer_link": { "type": "string" }, "preview_link": { "type": [ "string", "null" ] }, "release_date": { "type": [ "string", "null" ], "format": "date" }, "length_seconds": { "type": "integer" }, "loudness_gain_db": { "type": [ "number", "null" ] } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
deezer.com/get_song_details- Returns
- title, artist, album, release_date, length, tempo_bpm, isrc, loudness_gain_db, explicit, preview_link, deezer_link, track_id, length_seconds
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 deezer.com/get_song_details with the inputs above.
Ask your agent
- What is the tempo in BPM and ISRC code for the song Uptown Funk by Mark Ronson?
- Can you look up the loudness gain in dB and explicit flag for track 92734438 on Deezer?
- I need the album name, release date and length of the Deezer track Blinding Lights by The Weeknd.
- Find the tempo, ISRC and preview link for the song Levitating by Dua Lipa.
- Get the recording details for https://www.deezer.com/track/3135556, including its duration in seconds and Deezer link.
See more
All Deezer methodsLooks up a Deezer album by name, album link, or ID, optionally matching an artist, and returns its details and ordered tracklist.
deezer.com/get_albumLists current worldwide top tracks, albums or artists on Deezer in chart order, or tracks from Deezer's official Top <country> playlist.
deezer.com/list_top_chartsFinds the best SongBPM match for a song title and artist and returns its tempo, musical key, Camelot key, length and time signature.
songbpm.com/get_song_tempo_and_keyFinds 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/get_songFinds 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_identifiersGets 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_trackGets 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_albumFinds a Discogs release by title, artist or release link and returns its edition details, tracks, community counts, current price and sold price statistics.
discogs.com/get_release