Audience analytics

Authenticate with a panel token and statistics read permission. Except for channels and live , pass server, date_from and date_to. The dates are inclusive local dates in YYYY-MM-DD format, interpreted in the station’s time zone. Optional channels is a comma-separated list of channel IDs . protocol is icecast, shoutcast, or hls. The general date range is limited to 366 days and music/advertising reports to 31 days. Use export=csv or export=xlsx where offered.

Endpoint /api/v2/analytics/channels/
HTTP methods GET
Authentication Panel JWT

server selects the station. Returns an array of current and historical channels.

Endpoint /api/v2/analytics/overview/
HTTP methods GET
Authentication Panel JWT

Audience totals, comparison, coverage, and service health. Use section to select a table for CSV export.

Endpoint /api/v2/analytics/timeseries/
HTTP methods GET
Authentication Panel JWT

Audience rows grouped by interval: 15m, hour, day (default), week, or month.

Endpoint /api/v2/analytics/breakdown/
HTTP methods GET
Authentication Panel JWT

dim accepts country (default), city, client, device, os, channel, or protocol. Returns grouped rows and coverage.

Endpoint /api/v2/analytics/heatmap/
HTTP methods GET
Authentication Panel JWT

Audience rows by weekday and hour.

Endpoint /api/v2/analytics/durations/
HTTP methods GET
Authentication Panel JWT

Listening session duration distribution.

Endpoint /api/v2/analytics/live/
HTTP methods GET
Authentication Panel JWT

Pass server and optional channels and protocol. Returns as_of, timezone, refresh_seconds, units, estimates, channels and stale.

GET /api/v2/analytics/live/?server=1
{
  "server": 1,
  "as_of": "2026-04-07T10:00:00Z",
  "timezone": "Europe/Helsinki",
  "refresh_seconds": 10,
  "estimates": {
    "hls_listening": true,
    "hls_current_lag_seconds": 60
  },
  "channels": [],
  "stale": false
}

In this abbreviated response, as_of is the snapshot time, refresh_seconds is the polling interval, and HLS figures are estimates. Date-range reports include coverage and units. A response can indicate rebuild_pending while the data is being recalculated.

Music and advertising reports

Endpoint /api/v2/analytics/music/groups/
HTTP methods GET
Authentication Panel JWT

Set kind to dj, playlist, or rotation. Returns rows and counts of excluded, pending, and unknown-end occurrences.

Endpoint /api/v2/analytics/music/tracks/
HTTP methods GET
Authentication Panel JWT

Track likes, dislikes and requests. The payload reports channel and protocol filters as unapplied for this report.

Endpoint /api/v2/analytics/ads/summary/
HTTP methods GET
Authentication Panel JWT

Required type is item, block, or intro. Returns aggregate summary.

Endpoint /api/v2/analytics/ads/units/
HTTP methods GET
Authentication Panel JWT

Pass type and optional by. Group by item or rule for items, block for blocks, and intro for intros. Returns rows.

Endpoint /api/v2/analytics/ads/airings/
HTTP methods GET
Authentication Panel JWT

Optional type defaults to item. Filter by unit_key from the units report . Pass page and page_size for an object with count, pages, and rows.

Legacy statistics and exports

Endpoint /api/total_listeners/
HTTP methods GET
Authentication Public

Public total across active streaming channels. Returns {"total_listeners":42}.

Endpoint /api/v2/stats/{period}/
HTTP methods GET
Authentication Public

Audience history for hour, day, or week. Requires server. Returns time and listener count data grouped by channel.

Endpoint /api/v2/listeners_geoip/
HTTP methods GET
Authentication Public

Current connections for active channels with optional server. Rows include connecttime, channel_data, and geodata if available.

Endpoint /api/v2/listeners_geoposition/
HTTP methods GET
Authentication Panel JWT

Listener position data as an array.

Endpoint /api/v2/listening_hours/
HTTP methods GET
Authentication Panel JWT

Returns total_time and dates. Include excel for a spreadsheet.

Endpoint /api/v2/track_stats/
HTTP methods GET
Authentication Panel JWT

Authenticated track statistics list.

Endpoint /api/v2/track_stats/best/
HTTP methods GET
Authentication Public

Public track chart for server, sorted by positive votes.

Endpoint /api/v2/track_stats/worst/
HTTP methods GET
Authentication Public

Public track chart for server, sorted by negative votes.

Endpoint /api/v2/track_stats/{export}/
HTTP methods GET
Authentication Panel JWT

Supported exports are csv, rao, rao_pub, vois, best_excel, and worst_excel.

Royalty reports

Endpoint /api/v2/royalty_settings/
HTTP methods GET, PUT
Authentication Panel JWT

Read or save royalty reporting settings. PUT returns the updated configuration.

Endpoint /api/v2/royalty_reports/
HTTP methods GET
Authentication Panel JWT

Optional country filters the available formats.

Endpoint /api/v2/royalty_reports/preview/
HTTP methods GET
Authentication Panel JWT

Pass format , date1, date2 (Unix seconds), server, and optional IANA tz. Returns report metadata, validation messages and preview information.

Endpoint /api/v2/royalty_reports/download/
HTTP methods GET
Authentication Panel JWT

Same selectors as preview . Returns an attachment in the chosen format if the report passes validation.

Endpoint /api/v2/soundexchange_reports/
HTTP methods GET, POST
Authentication Panel JWT or API key

List by server or create a report with server, start_ts, and end_ts in DD-MM-YYYY. Responses format both dates as DD/MM/YYYY.

Endpoint /api/v2/soundexchange_reports/{id}/
HTTP methods GET, PUT, PATCH, DELETE
Authentication Panel JWT or API key

Read, update, or delete a report. status and created are read-only.

Endpoint /api/v2/soundexchange_reports/{id}/excel/
HTTP methods GET
Authentication Panel JWT or API key

Download the report spreadsheet.

Endpoint /api/v2/soundexchange_reports_data/
HTTP methods GET, POST
Authentication Panel JWT or API key

Use ?report=ID to list or retrieve rows. POST saves a report row.

Endpoint /api/v2/soundexchange_reports_data/{id}/
HTTP methods GET, PUT, PATCH, DELETE
Authentication Panel JWT or API key

Read, update, or delete a report row.

Report properties

GET /api/v2/track_stats/ groups plays by metadata and returns the count per item as num. It requires server. Pass date1 and date2 in Unix seconds to select a reporting period. By default the period starts at the beginning of the current month.

For GET and PUT /api/v2/royalty_settings/?server=1 , reporting fields include legal_name, address, region, country (two-letter code), tax_id, fiscal_code, licence_number, contact_name, contact_email, contact_phone, service_name, and service_url.

A SoundExchange row has a report ID and can record history_all_music_id, history_jingle_id, metadata, name_of_service, transmission_category, artist, title, isrc, album, label, atp (actual total performances), ath (aggregate tuning hours), channel_or_program_name, and play_frequency. The report’s status is 1 (processing), 2 (done), or 3 (error).

Analytics response properties

Date-range responses include range with local date_from and date_to and corresponding UTC start_utc and end_utc. coverage and availability describe which data the selected period has. units and methodology describe the metrics.

In overview , totals includes sessions_started, qualified_started, short_started, short_share, listeners, listeners_all, listening_s, listening_hours, average_audience, and bytes. previous and trend provide comparison data. The legacy and service_health objects describe legacy coverage and stream service health. For overview CSV, use section=rejections or section=outages to export those tables.

In heatmap , each row contains weekday (0 is Monday), hour, available, listening_s, and sessions_started. In durations , buckets hold lower_s, upper_s, sessions, and total_s. mean_s and median_s summarize session duration.

Analytics parameter values

Field or parameter Meaning
interval 15m means 15-minute buckets. hour, day, week, and month group by hour, day, week, and month, respectively.
dim country or city groups by listener location, client by player or client, device by device type, os by operating system, channel by stream channel, protocol by delivery protocol.
type, by Ad type is item (individual scheduled insert), block (jingle block), or intro (connection intro). Group an item by item (audio item) or rule (scheduling rule). Group a block by block and an intro by intro.
page, page_size On ad airings, page starts at 1 for the first page. page_size is the number of rows per page, 50 by default and at most 200.

The live example uses station ID 1, a 10-second recommended refresh interval, and an estimated HLS listener-count lag of 60 seconds. as_of is the timestamp of the snapshot in UTC. export=csv returns comma-separated data and export=xlsx returns an Excel workbook.

Royalty format IDs

Use the id from the format list as format in preview and download requests. Omit country to list all formats or pass a two-letter country code. The current catalog is listed below.

Field or parameter Meaning
AU au_apra for Australia’s APRA AMCOS / PPCA.
BR br_ecad for Brazil’s ECAD.
CA ca_resound_t8m for Canada’s Re:Sound Tariff 8 monthly report and ca_socan for SOCAN.
DE de_gvl for Germany’s GVL.
FR fr_sacem for France’s SACEM.
GB uk_ppl_prs for the United Kingdom’s PPL/PRS.
IT it_scf for Italy’s SCF and it_siae for SIAE.
MX mx_sacm for Mexico’s SACM / EMMAC-SACM.
RU ru_rao for RAO broadcast, ru_rao_public for RAO public performance, and ru_vois for VOIS.
US us_soundexchange for US SoundExchange.