---
title: "Get the list of all compatible countries"
description: "GET /countries — A read-only list of all compatible countries, alpha sorted based on their ISO-3166 country codes. The example response below shows only a few sample entries; the live endpoint returns the full list."
canonical_url: https://developer.onepagecrm.com/api/reference/countries/get-countries/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/countries/get-countries/
---

`GET /countries`

A read-only list of all compatible countries, alpha sorted based on their ISO-3166 country codes. The example response below shows only a few sample entries; the live endpoint returns the full list.

Resource: [Countries](https://developer.onepagecrm.com/api/reference/countries/) · [API Reference](https://developer.onepagecrm.com/api/reference/)

## Request

```bash
curl "https://app.onepagecrm.com/api/v3/countries" \
  -u $user_id:$api_key
```

Authentication is HTTP Basic — `user_id` as username, `api_key` as password.
See https://developer.onepagecrm.com/api/authentication/.

## Responses

### 200

OK

```json
{
  "status": 0,
  "message": "OK",
  "timestamp": 1528373119,
  "data": {
    "countries": [
      {
        "country": {
          "name": "Australia",
          "code": "AU",
          "phone_prefix": "+61"
        }
      },
      {
        "country": {
          "name": "Ireland",
          "code": "IE",
          "phone_prefix": "+353"
        }
      },
      {
        "country": {
          "name": "United States",
          "code": "US",
          "phone_prefix": "+1"
        }
      }
    ]
  }
}
```

## Related guides

- [Authentication](https://developer.onepagecrm.com/api/authentication/)
- [Errors](https://developer.onepagecrm.com/api/errors/)
- [Rate limits](https://developer.onepagecrm.com/api/rate-limits/)
