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 ascNo comparison cohort available for this artist yet — showing its own indexed series only.
Indexed to 100 at each series' first observation.
with peers as (
select similar_artist_id as artist_id
from api_artist_similar
where artist_id = $1
),
peer_agg as (
select
ts.snapshot_date,
count(*) as artist_count,
percentile_cont(0.25) within group (order by ts.listeners_indexed) as p25_indexed,
percentile_cont(0.5) within group (order by ts.listeners_indexed) as median_indexed,
percentile_cont(0.75) within group (order by ts.listeners_indexed) as p75_indexed
from api_artist_timeseries ts
join peers p on p.artist_id = ts.artist_id
group by ts.snapshot_date
)
select ts.*, pa.artist_count, pa.p25_indexed, pa.median_indexed, pa.p75_indexed
from api_artist_timeseries ts
left join peer_agg pa on pa.snapshot_date = ts.snapshot_date
where ts.artist_id = $1
order by ts.snapshot_date asc| Artist | Listeners | 13-week growth |
|---|---|---|
| Fog Lake | 821k | +1.81% |
| Michael Cera | 712k | +1.84% |
| Hana Stretton | 344k | +7.42% |
| mage tears | 449k | +5.63% |
| German Error Message | 319k | +3.24% |
| dandelion hands | 759k | +2.24% |
| Pencil Legs | 181k | +4.26% |
| Cyberbully Mom Club | 253k | +1.70% |
| starry cat | 398k | +1.53% |
| i tried to run away when i was 6 (but got too scared to cross the street) | 84k | +1.09% |
| Leith Ross | 850k | +3.68% |
| flatsound | 632k | +3.96% |
| Free Cake For Every Creature | 204k | +0.90% |
| Tyler Burkhart | 279k | +1.38% |
| Kimya Dawson | 1.0M | +1.68% |
| Benny Benji | 79k | +1.18% |
| Florist | 700k | +1.36% |
| Salvia Palth | 1.7M | +2.85% |
| sign crushes motorist | 1.0M | +2.88% |
| The Moldy Peaches | 1.1M | +2.27% |
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