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 |
|---|---|---|
| Story of the Year | 1.2M | +1.10% |
| Hawthorne Heights | 986k | +1.91% |
| Finch | 833k | +1.40% |
| Armor for Sleep | 614k | +0.92% |
| Bayside | 580k | +1.06% |
| Silverstein | 1.2M | +2.36% |
| Emery | 523k | +1.09% |
| Taking Back Sunday | 1.9M | +1.49% |
| From First to Last | 829k | +1.38% |
| Funeral For A Friend | 844k | +0.58% |
| Scary Kids Scaring Kids | 563k | +0.94% |
| Thrice | 1.2M | +0.78% |
| Chiodos | 792k | +2.23% |
| Matchbook Romance | 576k | +0.66% |
| Saosin | 1.0M | +2.16% |
| Saves the Day | 690k | +0.68% |
| The Used | 1.9M | +1.39% |
| Thursday | 790k | +1.39% |
| A Static Lullaby | 438k | +1.06% |
| From Autumn to Ashes | 497k | +0.74% |
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