> For the complete documentation index, see [llms.txt](https://docs.sms4sats.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sms4sats.com/api-reference/get-countries.md).

# Get Countries

<mark style="color:blue;">`GET`</mark> `https://api2.sms4sats.com/getCountries`

Returns an array of available countries with their corresponding country codes. Use the `id` field as the `country` parameter in other endpoints.

{% hint style="info" %}
The API also accepts country names as strings (e.g. `country="germany"`) in most endpoints. Use this endpoint when you need to look up exact numeric country codes.
{% endhint %}

#### No Parameters Required

{% tabs %}
{% tab title="200: OK" %}
{% code overflow="wrap" %}

```javascript
[
    {
        "id": 0,
        "rus": "Россия",
        "eng": "Russia",
        "chn": "俄罗斯",
        "visible": 0,
        "retry": 1,
        "rent": 0,
        "multiService": 0
    },
    ...
]
```

{% endcode %}
{% endtab %}
{% endtabs %}

### Response Fields

| Field          | Type   | Description                            |
| -------------- | ------ | -------------------------------------- |
| `id`           | Number | Country code to use in API requests    |
| `eng`          | String | Country name in English                |
| `rus`          | String | Country name in Russian                |
| `chn`          | String | Country name in Chinese                |
| `visible`      | Number | Whether the country is shown in the UI |
| `retry`        | Number | Whether retry is available             |
| `rent`         | Number | Whether rental numbers are available   |
| `multiService` | Number | Whether multi-service is supported     |
