API di Spotify

Spotify Numero di riproduzioni API

Recupera conteggi e statistiche di streaming di un brano, album o artista Spotify tramite URL.

2,40 USD/1k richieste, paghi a richiesta, nessun abbonamento.

Spotify - Web Player
open.spotify.com/track/3fVm8qS0vW4rY1tE9cLmJa
PremiumSupportDownloadInstall AppSign upLog in
Your Library

Create your first playlist

It's easy, we'll help you

Create playlist

Let's find some podcasts to follow

We'll keep you updated on new episodes

Browse podcasts
LegalSafety & Privacy CenterPrivacy PolicyCookiesAbout AdsAccessibility
English

Song

Recommended

Based on this song

Coastline

Marlowe Finch

42,918,2033:47

Amber Light

Marlowe Finch

31,204,5583:23

Slow Static

Marlowe Finch

12,045,9013:09
Cosa ha restituito l'APIitems[0]
{
"id": "0cRj4pQqXVpB2pTwR3pN1n",
"name": "Coastline",
"type": "track",
"url": "https://open.spotify.com/track/0cRj4pQqXVpB2pTwR3pN1n",
"playCount": 42918203,
"durationMs": 227000,
"albumName": "Coastline",
"artistName": "Marlowe Finch",
... 4 campi in più
}
Disponibilità
100,00%
30d · 24 chiamate
Richieste
24
30 g · settimanale, ultime 12 sett.
Risposta
5,2s
mediana · 30d

Prezzi

Prezzi dell'API Spotify Numero di riproduzioni

Paghi
24,00 USD
2,40 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 41 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Spotify Numero di riproduzioni in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 15 campi su 16. Vedi tutti i campi

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "0cRj4pQqXVpB2pTwR3pN1n",
        "name": "Coastline",
        "type": "track",
        "url": "https://open.spotify.com/track/0cRj4pQqXVpB2pTwR3pN1n",
        "playCount": 42918203,
        "durationMs": 227000,
        "albumName": "Coastline",
        "artistName": "Marlowe Finch",
        "image": "https://i.scdn.co/image/ab67616d0000b273b2c3d4e5f60718293a4b5c6",
        "releaseDate": "2022-08-19",
        "trackNumber": 1,
        "previewUrl": "https://p.scdn.co/mp3-preview/0cRj4pQqXVpB2pTwR3pN1n"
      },
      {
        "id": "9dTk5qR0vW4rY1tE9cLmJZ",
        "name": "Amber Light",
        "type": "track",
        "url": "https://open.spotify.com/track/9dTk5qR0vW4rY1tE9cLmJZ",
        "playCount": 31204558,
        "durationMs": 203000,
        "albumName": "Paper Weather",
        "artistName": "Marlowe Finch",
        "image": "https://i.scdn.co/image/ab67616d0000b273c3d4e5f60718293a4b5c6d7",
        "releaseDate": "2023-02-03",
        "trackNumber": 4,
        "previewUrl": "https://p.scdn.co/mp3-preview/9dTk5qR0vW4rY1tE9cLmJZ"
      },
      {
        "id": "2eUl6rS1wX5sZ2uF0dMnKA",
        "name": "Slow Static",
        "type": "track",
        "url": "https://open.spotify.com/track/2eUl6rS1wX5sZ2uF0dMnKA",
        "playCount": 12045901,
        "durationMs": 189000,
        "albumName": "Slow Static - Single",
        "artistName": "Marlowe Finch",
        "image": "https://i.scdn.co/image/ab67616d0000b273d4e5f60718293a4b5c6d7e8",
        "releaseDate": "2024-11-08",
        "trackNumber": 1,
        "previewUrl": "https://p.scdn.co/mp3-preview/2eUl6rS1wX5sZ2uF0dMnKA"
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • urlstring

    https://open.spotify.com/track/3fVm8qS0vW4rY1tE9cLmJa

    URL di un brano, album o artista Spotify di cui recuperare le riproduzioni (es. https://open.spotify.com/track/3n3Ppam7vgaVa1iaRUc9Lp).

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

Play-count records for the requested Spotify entity (one per track). Populated whenever the provider has data for the entity.

  • albumNamestring

    Coastline

    Name of the album the track belongs to. Empty when the upstream omits it.

  • artistNamestring

    Marlowe Finch

    Name of the primary artist. Empty when the upstream omits it.

  • durationMsinteger

    227000

    Track duration in milliseconds.

  • idstring

    0cRj4pQqXVpB2pTwR3pN1n

    The Spotify entity ID. Populated whenever the provider has data for the entity.

  • imagestring

    https://i.scdn.co/image/ab67616d0000b273b2c3d4e5f60718293a4b5c6

    URL of the cover art image.

  • namestring

    Coastline

    The track (or entity) name. Populated whenever the provider has data for the entity.

  • playCountinteger

    42918203

    Total number of streams/plays for the track. Populated whenever the provider has data for the entity.

  • previewUrlstring

    https://p.scdn.co/mp3-preview/0cRj4pQqXVpB2pTwR3pN1n

    URL of the 30-second audio preview.

  • releaseDatestring

    2022-08-19

    Release date as an ISO 8601 string.

  • trackNumberinteger

    1

    Position of the track within its album.

  • typestring

    track

    The Spotify entity type (e.g. "track").

  • urlstring

    https://open.spotify.com/track/0cRj4pQqXVpB2pTwR3pN1n

    Canonical open.spotify.com URL for the entity, with tracking query params stripped. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    Whether the track/album/artist was found and returned play-count records.

  • 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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Spotify Numero di riproduzioni

L'API Spotify Numero di riproduzioni di AnyAPI restituisce dati Spotify come JSON normalizzato da una sola chiamata POST a /v1/run/spotify.play_count. Recupera conteggi e statistiche di streaming di un brano, album o artista Spotify tramite URL. AnyAPI restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 2,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Spotify Numero di riproduzioni tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,2 secondi su 24 chiamate misurate.

Costa da 2,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Recupera conteggi e statistiche di streaming di un brano, album o artista Spotify tramite URL. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate Spotify Numero di riproduzioni tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,2 secondi su 24 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 41 chiamate Spotify Numero di riproduzioni a 0,0024 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/spotify.play_count con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.