Actions141
- Auto DJ Actions
- Auto DJ > Events Actions
- Auto DJ > Media Actions
- Auto DJ > Playing Playlist Actions
- Auto DJ > Playlist Actions
- Encoder Events Actions
- Hls Stream Actions
- Mediapulse Actions
- Notifications Actions
- Options Actions
- Packs Actions
- Players Actions
- Radio Product Options Actions
- Radio Products Actions
- Server Events Actions
- Stations Actions
- Stats > Hls Stream Actions
- Stats > Radio Products Actions
- Stats > Stations Actions
- Get Status
- Get Instant Listeners
- Get Stats Listeners
- Get Mediastats
- Set Metadata To Station
- Get Listeners
- Get Listeners Per Minute
- Get Listeners Per Minute Per Stream
- Get Countries
- Get Countries By Continent
- Get Listeners By Stream
- Get Consumption
- Get Total Consumption
- Get Consumption By Stream
- Get Players
- Get Total Players
- Get Stats By Streams
- Export Stats
- Export Stats By Stream
- List Stats Links
- Stats > Streams Actions
- Streams Actions
- Transcodings Actions
Stats > Radio Products → Get Stats By Stations
AI-generatedSummary
Retrieve radio product statistics for given date range and datatype.
Inputs
- authentication — Authentication method: OAuth2 or API Key.
- path_radio_product_id (required) — The unique identifier (ID) of the radio product to request.
- query_datatype (required) — Select the datatype of the stats to retrieve: consumption, countries, listeners, or players.
- query_from (required) — Start date/time for the stats (format as ISO8601).
- query_to (required) — End date/time for the stats (format as ISO8601).
- query_station_ids — Comma-separated list of station IDs to filter the stats.
- returnFullResponse — If true, returns the full API response; otherwise returns a trimmed response.
Output shape
a JSON object containing the requested radio product statistics
Fields vary with query_datatype; may be paginated if many results; success returns 200, errors are handled by n8n error handling.
Examples
Example 1: Get listeners for a specific product between two dates.
authentication: oauth2; path_radio_product_id: 12345; query_datatype: listeners; query_from: 2023-01-01; query_to: 2023-12-31; query_station_ids: ; returnFullResponse: false
Example 2: Count consumptions for multiple stations within a time window.
authentication: apiKey; path_radio_product_id: 9876; query_datatype: consumption; query_from: 2024-06-01; query_to: 2024-06-30; query_station_ids: 101,102,103; returnFullResponse: true
Example 3: Retrieve country distribution stats for a product.
authentication: oauth2; path_radio_product_id: 5555; query_datatype: countries; query_from: 2022-01-01; query_to: 2022-12-31; query_station_ids: ; returnFullResponse: false