You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何按城市获取Spotify艺人的听众及粉丝数据

How to Get City-Level Artist Fan & Listener Data from Spotify

Hey there! I totally get where you’re coming from—Spotify’s public Web API does have a gap when it comes to filtering artist metrics by city, since the market parameter only supports country-level filtering. Let’s go through some practical workarounds to help you build that city-level query feature:

Workaround 1: Use Spotify for Artists' Granular Geo Data (If Accessible)

If you can get access to an artist’s Spotify for Artists account (either by collaborating with the artist or applying for Spotify’s Partner Program), Spotify for Artists provides detailed geographic audience breakdowns—including city-level listener counts and fan demographics.

This data isn’t available via the standard public Web API, but it can be exported directly from the Spotify for Artists dashboard or accessed through Spotify’s Partner API (which requires approval).

Workaround 2: Indirect Sampling with User Data

You can approximate city-level metrics by sampling users in your target city and analyzing their artist interactions:

  • First, identify users located in your target city: You’d need users to authorize your app, then use their provided profile city (if they’ve filled it out) or pair their IP address with a geolocation service to map them to a city.
  • Next, for these users, call Spotify’s API endpoints to check engagement:
    • Use GET /v1/users/{user_id}/followed/artists to see if they follow the target artist.
    • Use GET /v1/users/{user_id}/top/artists to check if the artist is in their top listened-to list.
  • Aggregate this sample data to estimate the city’s total fan/listener count.

Note: This is a statistical approximation, not exact data, and requires a large enough user sample to be meaningful.

Workaround 3: Leverage Third-Party Music Data Platforms

Several third-party data aggregators compile Spotify data alongside other sources to offer city-level artist audience metrics. These platforms have their own APIs that you can integrate to pull the granular geographic data you need.

Keep in mind that most of these services require a paid subscription, so you’ll want to evaluate their pricing and data accuracy against your project needs.

Workaround 4: Approximate with Regional/Metro Area Groupings

If strict city-level precision isn’t mandatory, you can group nearby regions or metro areas under a single country market and then use external demographic data to split the country-level metrics into city-level estimates. For example, if you’re targeting Madrid, you could take Spain’s total listener count for the artist and multiply it by Madrid’s share of Spain’s streaming audience (using market research data).


内容的提问来源于stack exchange,提问作者Pepintre

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 07:51:21