select
snapshot_date, week_number, listeners, playcount,
listener_delta, listener_pct_change, listeners_indexed
from api_artist_timeseries
where artist_id = $1
order by snapshot_date ascIndexed to 100 at each series' first observation.
select
ts.snapshot_date, ts.week_number, ts.listeners, ts.listeners_indexed,
cw.artist_count, cw.p25_indexed, cw.median_indexed, cw.p75_indexed
from api_artist_timeseries ts
left join api_cohort_weekly cw
on cw.cohort_type = $2 -- 'genre' or 'size_band'
and cw.cohort_key = $3 -- primary_genre or size_band
and cw.snapshot_date = ts.snapshot_date
where ts.artist_id = $1
order by ts.snapshot_date asc| Artist | Listeners | 13-week growth |
|---|---|---|
| Kilu | 85k | +13.29% |
| RUKIAWAA | 56k | +35.94% |
| yo no quería morir | 7.5k | +24.96% |
| leverfall | 230k | +12.64% |
| onda andar | 49k | — |
| Izmi Maruf | 111k | +22.86% |
| proderics | 439k | +19.20% |
| Kashtanka | 8.9k | — |
| Blood Nose | 138k | +115.20% |
| SOFT BLADE | 188k | +5.20% |
| конец солнечных дней | 45k | — |
| Spirit Blue | 258k | +9.60% |
| Note to Self | 27k | +15.97% |
| sundots | 479k | +7.48% |
| Lucid | 155k | +6.84% |
| JACAL | 301k | +19.22% |
| Recitals | 32k | +5.97% |
| Southpacific | 172k | +12.53% |
select
similar_artist_id, slug, display_name, size_band,
latest_listeners, total_pct_growth, weeks_tracked, similarity_score, rank
from api_artist_similar
where artist_id = $1
order by rank ascselect *
from api_artist_profile
where artist_id = $1