Listening
Genre breakdown
Returns a genre breakdown over time, grouped by period and designed for stacked bar charts.
GET
Genre breakdown
Authorizations
API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.
Query Parameters
Single day (YYYY-MM-DD). Overrides from/to.
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"2025-02-17"
Range start, inclusive (ISO 8601)
Example:
"2025-02-01T00:00:00Z"
Range end, inclusive (ISO 8601)
Example:
"2025-02-28T23:59:59Z"
Available options:
week, month, year Example:
"month"
Max genres to return (rest grouped as "Other")
Required range:
1 <= x <= 50Example:
10
When set to previous_year, returns a compare array with the same shape as data but for the window shifted back one year. Requires from + to or date to be set; ignored otherwise.
Available options:
previous_year Example:
"previous_year"
Genre breakdown