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 > Hls Stream → Get Listeners
AI-generatedSummary
Retrieves listener statistics for a specified Infomaniak streaming radio product and station within a given time range.
Inputs
- authentication — Authentication method: OAuth2 or API Key
- path_radio_product_id (required) — ID of the radio product
- path_station_id (required) — ID of the station
- query_from (required) — Start timestamp for the statistics query
- query_to (required) — End timestamp for the statistics query
- returnFullResponse — If true, returns the entire response body; otherwise only essential data
Output shape
An array of listener statistic objects
Each object includes timestamp and listener count; success response is HTTP 200, errors return a standard error envelope.
Examples
Example 1: Get listener count for a product and station over a day
authentication=oauth2; path_radio_product_id=12345; path_station_id=6789; query_from=2023-09-01T00:00:00Z; query_to=2023-09-01T23:59:59Z; returnFullResponse=false
Example 2: Short‑interval stats for a specific station
authentication=apiKey; path_radio_product_id=54321; path_station_id=98765; query_from=2023-09-02T12:00:00Z; query_to=2023-09-02T12:30:00Z; returnFullResponse=true
Example 3: Full response for debugging
authentication=oauth2; path_radio_product_id=11111; path_station_id=22222; query_from=2023-09-03T00:00:00Z; query_to=2023-09-03T23:59:59Z; returnFullResponse=true