Spotify Titre API
Récupérez le nombre d’écoutes, la popularité, la durée et les détails de l’album d’un titre Spotify par URL ou ID du titre.
1,20 $US/1k req, paiement à la requête, sans abonnement.
Create your first playlist
It's easy, we'll help you
Create playlistLet's find some podcasts to follow
We'll keep you updated on new episodes
Browse podcastsLyrics
Sign in to see lyrics and listen to the full track
Artist
Juniper Vale
Recommended
Based on this song
{"id": "5tHqowP2R2edmL1zBqfWWT","name": "Nightbloom","playcount": 18420331,"popularity": 71,"durationMs": 214000,"trackNumber": 1,"uri": "spotify:track:5tHqowP2R2edmL1zBqfWWT","shareUrl": "https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT",... 4 champs de plus}
Tarifs
Tarifs de l’API Spotify Titre
Essayer
Obtenez Spotify Titre en une requête
Cet exemple affiche 14 champs sur 15. Voir tous les champs
{
"found": true,
"data": {
"id": "5tHqowP2R2edmL1zBqfWWT",
"name": "Nightbloom",
"playcount": 18420331,
"popularity": 71,
"durationMs": 214000,
"trackNumber": 1,
"uri": "spotify:track:5tHqowP2R2edmL1zBqfWWT",
"shareUrl": "https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT",
"image": "https://i.scdn.co/image/ab67616d0000b2734f1a2b3c4d5e6f7081920a1b",
"albumName": "Nightbloom",
"artistName": "Juniper Vale",
"releaseDate": "2025-06-13"
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- idstring
ID de titre Spotify (alternative à url).
- urlstring
https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT
URL d’un titre Spotify (p. ex. https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT).
Réponse
JSON, une valeur d’exemple par champ.
- albumNamestring
Nightbloom
Name of the album the track appears on.
- artistNamestring
Juniper Vale
Name of the primary artist.
- durationMsinteger
214000
Populated whenever the provider has data for the entity.
- idstring
5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- imagestring
https://i.scdn.co/image/ab67616d0000b2734f1a2b3c4d5e6f7081920a1b
URL of the cover art image.
- namestring
Nightbloom
Populated whenever the provider has data for the entity.
- playcountinteger
18420331
- popularityinteger
71
- releaseDatestring
2025-06-13
Album release date as an ISO 8601 string.
- shareUrlstring
https://open.spotify.com/track/5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- trackNumberinteger
1
Populated whenever the provider has data for the entity.
- uristring
spotify:track:5tHqowP2R2edmL1zBqfWWT
Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
À propos de l’API Spotify Titre
L’API Spotify Titre d’AnyAPI renvoie des données Spotify en JSON normalisé à partir d’un appel POST à /v1/run/spotify.track. Récupérez le nombre d’écoutes, la popularité, la durée et les détails de l’album d’un titre Spotify par URL ou ID du titre. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 1,20 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,8% des appels Spotify Titre passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,8 secondes, sur 1 238 appels mesurés.