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 Total Consumption
AI-generatedSummary
Retrieves total consumption data for a specific radio station within a product.
Inputs
- path_radio_product_id (required) — The unique identifier of the radio product.
- path_station_id (required) — The unique identifier of the station.
- query_from (required) — Start date and time for the consumption data (e.g., 'YYYY-MM-DDTHH:mm:ss').
- query_to (required) — End date and time for the consumption data (e.g., 'YYYY-MM-DDTHH:mm:ss').
- queryParameters — Additional optional query parameters (e.g., Stream Ids, With Hls Stats).
- returnFullResponse — When true, returns the entire API response object; otherwise, returns the parsed JSON data.
Output shape
A single data item containing the total consumption statistics for the specified station.
If 'returnFullResponse' is false, the output shape matches the API's parsed JSON structure.
Examples
Example 1: Get total consumption for station 12345 from 2023-01-01 to 2023-01-31
Set Radio Product Id, Station Id, query_from, and query_to; leave returnFullResponse as false.