GET /analytics/summary
Composite analytics summary
Returns the requested metrics[] sections in a single response, plus a
meta block. Resolve the shared scope once and project only the sections a
given view needs, rather than fetching every section on every call.
metrics[] is REQUIRED and accepts any subset of the section keys, up to
every key in one request. Omitting it, or passing an empty array, is a 422
whose message enumerates every valid section key. Each projection is cached
per scope and window, so repeat calls are cheap after the first build. The
response returns exactly the listed sections, in the canonical section order.
The streams-by-country and shares-by-country sections return up to
limit rows (default 10, max 50). Streams or shares the platform reported
without a country are returned as one row with country: null, ranked with
the others. meta.limits.sections_at_limit names each of those sections
that returned exactly the row ceiling, so further rows may exist.
Most sections return one aggregate over the whole resolved scope. The
track-streams-daily and track-listeners-daily sections are the per-track
counterpart — one row per date, platform and ISRC, so a request scoped to a
release returns each of its tracks — and both require filter[release_id],
filter[isrc] or filter[upc].
A response that projects a social/UGC section also carries
meta.social_availability, mapping each requested social section across the
UGC platforms; filter[ugc_platform] narrows those sections to one platform.
The date range may span up to 730 days, so two full years (or a year plus a
comparison year) fit in one request. A longer range returns a 422 naming
the limit. Every section reports day-level points at every accepted span. A
range that is within the limit but still too heavy to compute returns a 422
asking you to narrow it — retry with a shorter range or fewer metrics[].
Parameters
- filter[start_date] (query)
- filter[end_date] (query)
- filter[platform] (query)
- filter[ugc_platform] (query)
- filter[release_id] (query)
- filter[isrc] (query)
- filter[upc] (query)
- filter[artist_names][] (query)
- limit (query)
- metrics[] (query)
- filter[label_id] (query)
Responses
- 200
- 401
- 422