Skip to content

Charts ​

All paths are under /v1, public (no token needed), and Cache-Control: public, max-age=300. Charts are computed by scheduled jobs from qualified streams (suspected fraud excluded): daily for the previous UTC day at 01:30, weekly (Monday to Sunday) every Monday at 02:45. Scopes: global, country (needs country, ISO alpha-2), genre (needs genreId). listeners sums daily distinct listeners across the period and countries (listener-days).

MethodPathQueryResponseErrors
GET/chartskind? (daily/weekly), scope?{ items: ChartView[] }, every chart of the newest periodVALIDATION_FAILED
GET/charts/latestkind?, scope?, country?, genreId?ChartViewCHART_NOT_FOUND, VALIDATION_FAILED
GET/charts/historykind?, scope?, country?, genreId?, cursor?, limit?page of ChartView, newest firstVALIDATION_FAILED, PAGINATION_CURSOR_INVALID
GET/charts/:chartId/entriescursor?, limit? (≤100)page of ChartEntry by rankCHART_NOT_FOUND, PAGINATION_CURSOR_INVALID

ChartView: { id, kind, scope, countryCode|null, genreId|null, periodStart, periodEnd (exclusive), entryCount, publishedAt }.

ChartEntry: { rank, recordingId, streams, listeners, previousRank|null, peakRank, periodsOnChart, movement: new|re_entry|up|down|same }. Entries name recordings only; clients load recording details from the catalogue in one batch.

Plemuz API v2