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 |
|---|---|---|
| Harmonia | 154k | +1.48% |
| Cluster | 262k | +0.76% |
| Cluster & Brian Eno | 40k | +0.30% |
| Hans-Joachim Roedelius | 35k | +0.23% |
| Michael Rother | 66k | +0.79% |
| Ashra | 155k | +2.45% |
| NEU! | 463k | +0.85% |
| Faust | 306k | +1.79% |
| Can | 855k | +1.53% |
| La Düsseldorf | 34k | +1.54% |
| Manuel Göttsching | 63k | +1.89% |
| Brian Eno | 1.8M | +1.03% |
| Fripp & Eno | 43k | +0.52% |
| Harald Grosskopf | 36k | +1.54% |
| Popol Vuh | 237k | +1.20% |
| Domenique Dumont | 266k | +3.44% |
| Holger Czukay | 103k | +0.96% |
| Edgar Froese | 88k | +0.97% |
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