---
title: "List countries"
method: GET
path: "/core/countries"
tags: ["Countries"]
---

# List countries

`GET /core/countries`

## Request

- Base URL: `https://api.enterprise.sandbox.uphold.com`
- URL: `https://api.enterprise.sandbox.uphold.com/core/countries`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/core/oauth2/token`
- TypeScript: <https://skmtc.dev/uphold/apis/core-api/docs/core/countries/get.ts> (a function with typed inputs; its response is checked against the schema)

List countries supported by the platform.

## Headers

- `X-Uphold-User-Ip` union
  - string, ipv4
  - string, ipv6
- `X-Uphold-User-Agent` string
- `X-Uphold-User-Origin` string
- `X-Uphold-User-Country` string
- `X-Uphold-User-Subdivision` string
- `X-Uphold-User-City` string

## Response `200`

Countries list retrieved.

- object
  - `countries` Country[], required
    - `code` string, required: The unique code of the country.
    - `name` string, required: The name of the country.
    - `asset` string, required: The national asset of the country.
    - `restrictions` object[], required: The restrictions of the country.
      - `scope` 'citizenship' | 'geolocation' | 'phone' | 'residence': The scope of the restriction.
    - `subdivisions` object[], required: The subdivisions of the country.
      - `code` string, required: The unique code of the subdivision.
      - `name` string, required: The name of the subdivision.
      - `restrictions` object[], required: The restrictions of the country.
        - `scope` 'residence': The scope of the restriction.

## Other responses

- `401`: Unauthorized.
- `429`: Too Many Requests.

---

[API](https://skmtc.dev/uphold/apis/core-api.md) - [All operations](https://skmtc.dev/uphold/apis/core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uphold/apis/core-api/revisions/6c663575c57a?raw)
