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 Stats By Streams
AI-generatedSummary
Fetch Infomaniak Streaming Radio station statistics by ID
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) — Station identifier.
- query_datatype (required) — Type of statistics to return (consumption, countries, listeners, players).
- query_from — Start date or time for the query.
- query_to — End date or time for the query.
- queryParameters — Additional query parameters to include.
- returnFullResponse — If true, the full response body is returned.
Output shape
JSON object containing station statistics
Response fields vary with query_datatype (consumption, countries, listeners, players); optional fields may be omitted; successful calls return HTTP 200 and may include a body only when returnFullResponse is true.
Examples
Example 1: Get listener count for a specific station
authentication: apiKey; path_radio_product_id: 123; path_station_id: "abc"; query_datatype: listeners; query_from: "2024-01-01"; query_to: "2024-01-31"; returnFullResponse: false