---
title: "Get countries"
method: GET
path: "/1/radios/{radio_product}/stats/countries"
tags: ["Stats > Radio Products"]
---

# Get countries

`GET /1/radios/{radio_product}/stats/countries`

## Request

- Base URL: `https://api.infomaniak.com`
- URL: `https://api.infomaniak.com/1/radios/{radio_product}/stats/countries`
- Auth: HTTP bearer

This endpoint allows you to retrieve product countries stats.

## Path parameters

- `radio_product` integer, required

## Query parameters

- `from` string, required: Specify the starting date to get stats
- `station_ids` string: List of station ids for get stats
- `to` string, required: Specify the ending date to get stats

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required: Result of the HTTP request
  - `data` 0cc1b8a9StatCountry[]
    - `streams` string: The list of streams call in this country (only available on stations stats)
    - `stations` string: The list of stations call in this country (only available on radio products stats)
    - `country` string, required: The country code
    - `listeners` integer, required: The number of listeners
    - `listeners_30s` integer, required: The number of listeners who stay more than 30 secondes
    - `average_listeners_by_day` number, required: The number of listeners per day
    - `average_listeners_30s_by_day` number, required: The number of listeners per day who stay more than 30 secondes

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) - [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) - [OpenAPI document](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/revisions/96ca7c8a0545?raw)
