> Part of the Rephonic API reference. The full list of pages is at https://rephonic.com/llms.txt.

# Countries

> Countries, for search filters.

```
GET https://api.rephonic.com/api/common/countries/
```

Get every country we collect Apple Podcasts data for, with its two-letter code. Use a country's `id` in the `locations` [search filter](https://rephonic.com/developers/docs/1.1/search-filters.md) to find podcasts whose main audience is there, and its `slug` with [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings.md) to get its charts.

## Response Fields

- `countries` (array of objects): Every country we collect Apple Podcasts data for.
  - `name` (string): The country's name in English.
  - `id` (string): The two-letter country code, lowercase. Use it in the `locations` search filter.
  - `slug` (string): The country's slug, for [chart rankings](https://rephonic.com/developers/docs/1.1/chart-rankings.md).

## Example Request

```bash
curl https://api.rephonic.com/api/common/countries/ \
  -H "X-Rephonic-Api-Key: YOUR_API_KEY"
```

## Example Response

```json
{
  "countries": [
    {
      "name": "United States",
      "id": "us",
      "slug": "united-states"
    },
    {
      "name": "United Kingdom",
      "id": "gb",
      "slug": "united-kingdom"
    }
  ]
}
```
