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 ascselect
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 |
|---|---|---|
| HONNE | 936k | +2.19% |
| Hotel Apache | 55k | +5.83% |
| Boylife | 166k | +1.50% |
| Dijon | 852k | +3.40% |
| Fiji Blue | 323k | +1.81% |
| Fickle Friends | 257k | +0.95% |
| Cautious Clay | 522k | +1.33% |
| The Millennial Club | 212k | +3.16% |
| keshi | 1.2M | +3.91% |
| Wet | 659k | +0.78% |
| Mk.gee | 741k | +2.97% |
| Lany | 943k | +2.19% |
| Great Good Fine OK | 259k | +0.56% |
| Kevin Abstract | 990k | +1.79% |
| Omar Apollo | 1.6M | +5.29% |
| Bazzi | 1.5M | +3.90% |
| SG Lewis | 794k | +1.83% |
| Alina Baraz | 942k | +1.69% |
| Cashmere Cat | 818k | +2.70% |
| No Rome, Charli XCX & The 1975 | 2.7k | +2.50% |
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