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 Countries
AI-generatedSummary
Fetch a list of countries associated with a specified radio station and product.
Inputs
- authentication (required) — Authentication method – either OAuth2 or API Key.
- path_radio_product_id (required) — The numeric ID of the radio product.
- path_station_id (required) — The numeric ID of the station.
- query_from (required) — Start of the query period (string).
- query_to (required) — End of the query period (string).
- queryParameters — Additional query parameters such as stream IDs and HLS stats flag.
Output shape
JSON array of country objects
Each item contains country code and name; the response may be empty if no countries are found.
Examples
Example 1: Retrieve countries for a station via OAuth2
{"authentication":"oauth2","path_radio_product_id":123,"path_station_id":45,"query_from":"2023-01-01","query_to":"2023-12-31","queryParameters":{"query_stream_ids":"stream123","query_with_hls_stats":true},"returnFullResponse":false}
Example 2: Retrieve countries using an API key
{"authentication":"apiKey","path_radio_product_id":123,"path_station_id":45,"query_from":"2023-01-01","query_to":"2023-12-31","queryParameters":{"query_stream_ids":"stream123","query_with_hls_stats":false},"returnFullResponse":true}