Spotify Monthly Listeners avatar

Spotify Monthly Listeners

Try for free

6 hours trial then $5.00/month - No credit card required now

Go to Store
Spotify Monthly Listeners

Spotify Monthly Listeners

augeas/spotify-monthly-listeners
Try for free

6 hours trial then $5.00/month - No credit card required now

Get an artist's unique monthly listeners, featured playlists, releases, top cities, and more besides.

Developer
Maintained by Community

Actor Metrics

  • 22 monthly users

  • No reviews yet

  • 8 bookmarks

  • >99% runs succeeded

  • 6.9 days response time

  • Created in Jan 2024

  • Modified 3 days ago

Categories

Spotify Monthly Listeners

The Spotify API is comprehensive with generous rate limits, but it doesn't include the rolling tally of unique listeners from the previous 28 days, despite it being publically available on the web. This Actor returns monthly listeners, and much more besides. More specifically, you also get an artist's featured playlists, for which there is also not an official API. You can now crawl these, tracks and all, with the Spotify Playlists Actor. Just pass the playlist URLs returned by this actor into the other. In addition, you get the artists' top cities and tracks, as well as their releases, other artists' releases they appear on, their social media accounts, biographies, avatar and banner images, upcoming events, and whether they are "verified" or not.

Beware of expensive imitations.

Input Fields

  • startURLs: URLs in the form https://open.spotify.com/artist/SPOTIFY_ID, eg: https://open.spotify.com/artist/2pvfGvbL4mouaDY9ZSwUmv
  • (Oh, All Right: https://open.spotify.com/LOCALE/artist/SPOTIFY_ID should work too.)
  • maxDepth: The maximum recursion depth when crawling related artists, defaults to 1, just the given URLs
  • maxArtists: The maximum number of artists to crawl, defaults to 1000

Output Format

By default, you get nested JSON output for each artist, eg:

1[
2  {
3    "artist_name": "Cruel Diagonals",
4    "artist_id": "0C7jgMYmKXPmy5bHH5ebEN",
5    "followers": 1670,
6    "monthlyListeners": 3524,
7    "verified": true,
8    "avatarImage": "https://i.scdn.co/image/ab67616100005174727cf97e49eaca2e0411e66e",
9    "headerImage": "https://i.scdn.co/image/ab676186000010160004716795f0d9198c8696f4",
10    "gallery": [
11      "https://i.scdn.co/image/ab6761670000ecd4c891079bac8e7d1e65a9988a"
12    ],
13    "timestamp": "2024-01-27T18:19:36.713298",
14    "FACEBOOK": "https://facebook.com/crueldiagonals/",
15    "INSTAGRAM": "https://instagram.com/crueldiagonals",
16    "TWITTER": "https://twitter.com/crueldiagonals",
17    "topCities": [
18      {
19        "numberOfListeners": 57,
20        "city": "Warsaw",
21        "country": "PL",
22        "region": "14"
23      }
24    ],
25    "biography": "Since 2016, Los Angeles-based multimedia artist, Cruel Diagonals...",
26    "related": [
27      {
28        "id": "0BUiirjlNsKKVBqxuPctXw",
29        "name": "Death Qualia",
30        "image": "https://i.scdn.co/image/ab67616d00001e02c4aab2b4a9b2d7356a651f00"
31      }
32    ],
33    "releases": [
34      {
35        "id": "4LLeRNBrcuwxj6QrhMmQ0K",
36        "name": "Fractured Whole",
37        "type": "ALBUM",
38        "label": "Beacon Sound",
39        "date": "2023-03-24",
40        "url": "https://open.spotify.com/album/4LLeRNBrcuwxj6QrhMmQ0K?si=C-SZuu6aRKWEE1twu7-4hg",
41        "tracks": 11,
42        "image": "https://i.scdn.co/image/ab67616d0000b273ce0e56337a4558caf5fb50a5",
43        "copyright": "2023 Cruel Diagonals"
44      }
45    ],
46    "topTracks": [
47      {
48        "id": "6IZrWKNy07OMGLKU24KJhQ",
49        "name": "Innate Abstraction",
50        "playcount": 172747,
51        "duration": 177655,
52        "artists": "Cruel Diagonals",
53        "album": "46C7T2d104a8fZGaMyJaLr",
54        "image": "https://i.scdn.co/image/ab67616d0000b27331b4784e8e6eec1cfe8c389b",
55        "contentRating": "NONE"
56      }
57    ],
58    "discoveredOn": [
59      {
60        "id": "37i9dQZF1DX8OUvJF6ATAB",
61        "name": "Exospheres",
62        "description": "Explore the inner worlds floating in the imagination of experimental Ambient music producers.",
63        "owner": "Spotify",
64        "url": "https://open.spotify.com/playlist/37i9dQZF1DX8OUvJF6ATAB",
65        "image": "https://i.scdn.co/image/ab67706f00000002be7d0bf41d8f366bafc3f4fc"
66      }
67    ],
68    "appearsOn": [
69      {
70        "id": "6gvAY3mEH9j4JfHgqkQY0P",
71        "name": "Becoming Everything: Strega Beata Remixed",
72        "artist_name": "Lana Del Rabies",
73        "artist_id": "1IoH5ykVwG4K5c98iAhQYk",
74        "url": "https://open.spotify.com/album/6gvAY3mEH9j4JfHgqkQY0P?si=Z7HIPnrTSdSfjeZH3xcdLQ",
75        "type": "ALBUM",
76        "image": "https://i.scdn.co/image/ab67616d0000b2737fef0c516db8f4f28dfa9be5"
77      }
78    ],
79    "events": [
80      {
81        "id": "1dnXGIzTm14lTwcOCSi2PK",
82        "name": "Cruel Diagonals, DJ Dolomedes, Mind Mirage, 55Castles",
83        "url": "https://open.spotify.com/concert/('1dnXGIzTm14lTwcOCSi2PK',)",
84        "date": "2025-04-01T19:00:00-07:00",
85        "venue": "Gold-Diggers",
86        "location": "Los Angeles",
87        "coordinates": {
88          "latitude": 34.0905352,
89          "longitude": -118.3125646
90        }
91      }
92    ]
93  }
94]

Flatter Output

Specify flatten to obtain output suitable for exporting as a .csv. The rows will have the columns artist_name, artist_id and timestamp. flatten can be one of:

  • artists: all the flat fields of the artists
  • playlists: playlists featuring the artists
  • tracks: the artists' top tracks
  • releases: the artists' singles, albums and compilations

Caveats

  • No, the numberOfListeners fields in topCities with not sum to monthlyListeners
  • The durations of an artist's topTracks are in milliseconds
  • discoveredOn will not be an exhaustive list of playlists featuring an artist