---
title: "Get countries and states"
method: GET
path: "/v1/regions"
tags: ["Eligibility"]
---

# Get countries and states

`GET /v1/regions`

Returns an array of all countries and states supported by BcPay.

## Query parameters

- `onlyBuyAllowed` boolean

## Response `200`

Eligible regions.

- object
  - `countries` Country[], required
    - `alpha2` string, required — ISO 3166-1 alpha-2 country code.
    - `alpha3` string, required — ISO 3166-1 alpha-3 country code.
    - `isBuyAllowed` boolean, required — Whether residents of this country can buy cryptocurrencies.
    - `name` string, required — Country name in English.
  - `usStates` UsState[], required
    - `alpha2` string, required — ISO 3166-2:US state code (last 2 characters), e.g. `CA`.
    - `isBuyAllowed` boolean, required — Whether residents of this state can buy crypto.
    - `name` string, required — State name in English.

## Other responses

- `401` — Missing or invalid API key.

---

[API](https://skmtc.net/blockchain/apis/blockchain-com-pay-partner-api.md) · [All operations](https://skmtc.net/blockchain/apis/blockchain-com-pay-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockchain/blockchain-com-pay-partner-api/revisions/7579ec027be7/schema)
