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 Consumption By Station
AI-generatedSummary
Fetches consumption statistics for a specified radio product within a date range.
Inputs
- authentication — Choose authentication method: OAuth2 or API Key.
- path_radio_product_id (required) — Numeric ID of the radio product to query.
- query_from (required) — Start date for the consumption period (inclusive).
- query_to (required) — End date for the consumption period (inclusive).
- queryParameters — Additional query parameters; currently supports 'query_station_ids' to filter by station IDs.
- returnFullResponse — If true, the full API response is returned; otherwise only parsed consumption data.
Output shape
an array of consumption records
Each record includes consumption metrics for the specified period; optional returnFullResponse returns the complete API payload.
Examples
Example 1: Retrieve consumption stats for product ID 123 from Jan 1 to Jan 31, 2024 using OAuth2 and get full response.
authentication: oauth2, path_radio_product_id: 123, query_from: "2024-01-01", query_to: "2024-01-31", returnFullResponse: true