---
title: "Retrieves country and summary state information for provided countryKey"
method: GET
path: "/v1/countries/{countryKey}"
tags: ["v1"]
---

# Retrieves country and summary state information for provided countryKey

`GET /v1/countries/{countryKey}`

## Request

- Base URL: `https://api.ote-godaddy.com`
- URL: `https://api.ote-godaddy.com/v1/countries/{countryKey}`
- Auth: none declared

Authorization is not required

## Path parameters

- `countryKey` string, iso-country-code, required

## Query parameters

- `marketId` string, bcp-47, required

## Response `200`

Request was successful

- Country[]
  - `callingCode` string: The calling code prefix used for phone numbers in this country
  - `countryKey` string, iso-country-code: The ISO country-code
  - `label` string: The localized name of the country
  - `states` State[]: List of states/provinces in this country
    - `label` string: The localized name of the state, province, or territory
    - `stateKey` string: The state code

## Other responses

- `404`: Country not found
- `422`: marketId is required
- `429`: Too many requests received within interval
- `500`: Internal server error

---

[API](https://skmtc.dev/godaddy/apis/godaddy-countries-api.md) - [All operations](https://skmtc.dev/godaddy/apis/godaddy-countries-api/llms.txt) - [OpenAPI document](https://skmtc.dev/godaddy/apis/godaddy-countries-api/revisions/b4f820f2e46f?raw)
