---
title: "Get Country"
method: GET
path: "/api/countries/{country_id}"
tags: ["Countries"]
---

# Get Country

`GET /api/countries/{country_id}`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/countries/{country_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Get a country by ID. Client users can only access their allowed country.

## Path parameters

- `country_id` integer, required

## Response `200`

Successful Response

- CountryResponse
  - `id` integer, required
  - `name` string, required
  - `code` string, required
  - `status` integer, required
  - `updated` string, date-time, nullable
  - `cities_count` integer
  - `reviews_count` integer
  - `chain_matching_enabled` boolean
  - `sync_enabled` boolean
  - `last_sync` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
