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 > Stations → Get Consumption By Stream
AI-generatedSummary
Fetch consumption statistics for a specified radio station and product over a given time range.
Inputs
- authentication — Authentication method; either OAuth2 or API Key.
- path_radio_product_id (required) — Numeric identifier of the radio product.
- path_station_id (required) — Numeric identifier of the station.
- query_from (required) — Start of the consumption period (e.g., ISO date).
- query_to (required) — End of the consumption period (e.g., ISO date).
- queryParameters — Additional query parameters for the request.
- returnFullResponse — If true, the full API response is returned; otherwise a simplified summary.
Output shape
an object containing consumption statistics for the requested stream
When returnFullResponse is false only a summarized object is returned; when true the complete API payload is provided. Fields may be optional depending on the response.
Examples
Example 1: Retrieve consumption data for station 456 of product 123 from 2024-01-01 to 2024-01-31 with HLS stats enabled
authentication: OAuth2; path_radio_product_id: 123; path_station_id: 456; query_from: 2024-01-01; query_to: 2024-01-31; queryParameters: {query_stream_ids: ""; query_with_hls_stats: true}; returnFullResponse: false