Artist Fan Metrics by Source
Artist's fan-metrics time series for a given source. Pass field to target a single metric, or omit it to receive the source's default fields. Each metric resolves to an array of time-series points with value, timestp, diff counters, and an interpolated flag (response may omit points on missing days; see the interpolated: true|false flag on each point).
Valid field values per source:
| source | Valid field values |
|---|---|
| spotify | followers, popularity, listeners |
| deezer | fans |
| likes, talks | |
| followers, retweets | |
| youtube_channel (artist's channel) | subscribers, views, comments, videos |
| youtube_artist (channel + featured videos) | daily_views, monthly_views |
| followers | |
| wikipedia | views |
| bandsintown | followers |
| soundcloud | followers |
| tiktok | followers, likes |
| twitch | follower_count, monthly_viewer_hours, weekly_viewer_hours |
| line | likes |
| melon | fans |
| bilibili | followers |
| snap | story_views, spotlite_views, snap_followers |
If field is omitted, the handler returns the source's default fields.
Geo filters per (source, field): these combinations are enforced β passing city_id or code2 outside the table returns 400.
| source | field | Comparable by city (city_id) | Comparable by country (code2) |
|---|---|---|---|
| followers | β | β | |
| spotify | listeners | β | |
| tiktok | followers | β | |
| youtube_channel | subscribers | β | |
| youtube_artist | daily_views | β | β |
| youtube_artist | monthly_views | β | β |
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/chartmetric/apis/chartmetric-developer-api/docs/api/artist/:id/stat/:source/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Data source. One of spotify, deezer, facebook, twitter, instagram, youtube_channel, youtube_artist, wikipedia, bandsintown, soundcloud, tiktok, twitch, line, melon, bilibili, snap. Each source supports a different default field set when field is omitted.
Query parameters
Start of the date range in ISO format (e.g. '2025-11-01'). Defaults to 20 days ago. Ignored when latest=true.
End of the date range in ISO format (e.g. '2025-11-01'). Defaults to today. Ignored when latest=true.
Specific stat from source (e.g. followers, popularity, listeners, talks, subscribers). When omitted, returns the source-specific default field set.
If true, returns only the most recent data point and ignores since/until.
If true, fill missing days with linear-interpolated values (average of bracketing observations). Not applicable to Spotify popularity or some interpolation-incompatible metrics.
If true, treat id as a domain-specific ID rather than a Chartmetric artist ID. Defaults to false.
Chartmetric city ID for city-scoped metrics. Mutually exclusive with code2. Only valid for (source, field) combos that support city comparison.
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.