---
title: "Get the full information of a country"
method: GET
path: "/lookup/countries/{country_code}"
tags: ["Lookup"]
---

# Get the full information of a country

`GET /lookup/countries/{country_code}`

## Request

- Base URL: `https://v2.greipapi.com`
- URL: `https://v2.greipapi.com/lookup/countries/{country_code}`
- Auth: HTTP bearer

This method allows you to retrieve detailed information about a country by providing its country code in the request.

The API returns valuable data, such as the country’s name, capital, population, region, and other relevant attributes, enabling you to enrich your applications with geographic context and enhance user experiences.

## Path parameters

- `country_code` string, required

## Query parameters

- `params` string
- `format` string
- `mode` string
- `source` string
- `user_id` string

## Response `200`

OK

- GreipJsonSuccessEnvelope
  - `success` boolean, required
  - `data` object, required: Endpoint-specific payload.
  - `execution_ms` integer, required

## Changes

- **2026-11-03** `5ef5b288383a`: 2 info
  - api tag `Lookup` added
  - added the media type `application/json` for the response with the status `200`
- **2026-10-19** `9346ce4dfd7c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/greip/apis/greip-api/changes/lookup/countries/:country_code/get.md)

---

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