Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Stations → Get Listeners

AI-generated

Summary

Fetch listener statistics for a specified radio product and station within a given time range.

Inputs

  • authentication — Authentication method: OAuth2 or API Key.
  • path_radio_product_id (required) — The unique identifier (ID) of the radio product to request.
  • path_station_id (required) — The unique identifier (ID) of the station to request.
  • query_from (required) — Start of the time range (inclusive) for listener statistics.
  • query_to (required) — End of the time range (inclusive) for listener statistics.
  • queryParameters — Additional query parameters; supports 'query_stream_ids' and 'query_with_hls_stats'.
  • returnFullResponse — If true, the full API response is returned; otherwise only a summary is returned.

Output shape

object containing listener statistics for the specified station and time range

May include pagination metadata; errors are wrapped in the standard n8n error envelope.

Examples

Example 1: Retrieve daily listener counts for a station over the past week using API Key authentication.

authentication: apiKey; path_radio_product_id: 123; path_station_id: 456; query_from: '2024-09-01'; query_to: '2024-09-07'; returnFullResponse: false

Example 2: Get full response with HLS stats for specific stream IDs using OAuth2.

authentication: oauth2; path_radio_product_id: 789; path_station_id: 101; query_from: '2024-08-01'; query_to: '2024-08-31'; queryParameters: { query_stream_ids: 'stream1,stream2'; query_with_hls_stats: true }; returnFullResponse: true

Links

Discussion