> For the complete documentation index, see [llms.txt](https://selenium-4.gitbook.io/nexus-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://selenium-4.gitbook.io/nexus-docs/docs/public-reference-data-management/retrieve-country-classifications/main.md).

# Retrieve Country Classifications

| Campo              | Valor                                |
| ------------------ | ------------------------------------ |
| **Service Domain** | Public Reference Data Management     |
| **BIAN Version**   | 14.0.0                               |
| **Operation**      | Country Classifications Retrieval    |
| **Method**         | GET                                  |
| **API Name**       | Public Reference Data Management API |
| **Versão**         | Não especificado no Confluence       |
| **Endpoint**       | Não especificado no Confluence       |
| **Autenticação**   | Bearer Token (OAuth 2.0 / OIDC)      |

***

## 1. Descrição da Operação

A operação permite consultar os dados de referência (classificações) de países suportados pela plataforma. A resposta devolve, para cada país, os respectivos códigos de identificação normalizados (ISO), dados descritivos e classificações de risco/compliance utilizadas por outros domínios de negócio (ex: KYC, AML, sanções).

***

## 2. Payload de Resposta (Response)

```json
{
  "ReferenceDataDirectoryRecord": {
    "ReferenceDataType": "Country",
    "ReferenceDataDirectoryEntryRecord": [
      {
        "ReferenceDataEntryReference": "AO",
        "ReferenceDataEntryDetails": {
          "CountryCode": "AO",
          "CountryName": "Angola",
          "CountryOfficialName": "Republic of Angola",
          "CountryShortName": "Angola",
          "CountryAlpha2Code": "AO",
          "CountryAlpha3Code": "AGO",
          "CountryNumericCode": "983",
          "CountryContinent": "Africa",
          "CountryCapital": "Luanda",
          "CountryCurrency": "AOA",
          "CountryLanguages": ["pt-AO"],
          "CountryCallingCode": "+244",
          "CountryStatus": "Active",
          "CountryRiskCategory": "Low",
          "CountryKYCRiskLevel": "Standard",
          "CountryAMLRiskLevel": "Low",
          "CountrySanctionStatus": "None",
          "CountryPEPRiskLevel": "Standard"
        }
      },
      {
        "ReferenceDataEntryReference": "PT",
        "ReferenceDataEntryDetails": {
          "CountryCode": "PT",
          "CountryName": "Portugal",
          "CountryOfficialName": "Portuguese Republic",
          "CountryShortName": "Portugal",
          "CountryAlpha2Code": "PT",
          "CountryAlpha3Code": "PRT",
          "CountryNumericCode": "620",
          "CountryContinent": "Europe",
          "CountryCapital": "Lisbon",
          "CountryCurrency": "EUR",
          "CountryLanguages": ["pt-PT"],
          "CountryCallingCode": "+351",
          "CountryStatus": "Active",
          "CountryRiskCategory": "Low",
          "CountryKYCRiskLevel": "Standard",
          "CountryAMLRiskLevel": "Low",
          "CountrySanctionStatus": "None",
          "CountryPEPRiskLevel": "Standard"
        }
      },
      {
        "ReferenceDataEntryReference": "US",
        "ReferenceDataEntryDetails": {
          "CountryCode": "US",
          "CountryName": "United States of America",
          "CountryOfficialName": "United States of America",
          "CountryShortName": "United States",
          "CountryAlpha2Code": "US",
          "CountryAlpha3Code": "USA",
          "CountryNumericCode": "840",
          "CountryContinent": "North America",
          "CountryCapital": "Washington, D.C.",
          "CountryCurrency": "USD",
          "CountryLanguages": ["en-US"],
          "CountryCallingCode": "+1",
          "CountryStatus": "Active",
          "CountryRiskCategory": "Low",
          "CountryKYCRiskLevel": "Standard",
          "CountryAMLRiskLevel": "Low",
          "CountrySanctionStatus": "None",
          "CountryPEPRiskLevel": "Standard"
        }
      }
    ]
  }
}
```

### 2.1 Objecto: `ReferenceDataDirectoryRecord`

| Campo                               | Tipo   | Descrição                                          |
| ----------------------------------- | ------ | -------------------------------------------------- |
| `ReferenceDataType`                 | string | Tipo de dado de referência. Valor fixo: `Country`. |
| `ReferenceDataDirectoryEntryRecord` | array  | Lista de entradas de classificação de país.        |

### 2.2 Objecto: `ReferenceDataDirectoryEntryRecord[]`

| Campo                         | Tipo   | Descrição                                                        |
| ----------------------------- | ------ | ---------------------------------------------------------------- |
| `ReferenceDataEntryReference` | string | Identificador da entrada (código do país, ex: `AO`, `PT`, `US`). |
| `ReferenceDataEntryDetails`   | object | Detalhes da classificação do país. Ver secção 2.3.               |

### 2.3 Objecto: `ReferenceDataEntryDetails`

| Campo                   | Tipo                        | Descrição                                                  |
| ----------------------- | --------------------------- | ---------------------------------------------------------- |
| `CountryCode`           | string                      | Código do país.                                            |
| `CountryName`           | string                      | Nome do país.                                              |
| `CountryOfficialName`   | string                      | Nome oficial do país.                                      |
| `CountryShortName`      | string                      | Nome curto do país.                                        |
| `CountryAlpha2Code`     | string (ISO 3166-1 alpha-2) | Código alpha-2 (ex: `AO`).                                 |
| `CountryAlpha3Code`     | string (ISO 3166-1 alpha-3) | Código alpha-3 (ex: `AGO`).                                |
| `CountryNumericCode`    | string (ISO 3166-1 numeric) | Código numérico ISO (ex: `983`).                           |
| `CountryContinent`      | string                      | Continente (ex: `Africa`, `Europe`, `North America`).      |
| `CountryCapital`        | string                      | Capital do país.                                           |
| `CountryCurrency`       | string (ISO 4217)           | Código da moeda oficial do país (ex: `AOA`, `EUR`, `USD`). |
| `CountryLanguages`      | array de string             | Lista de idiomas oficiais (ex: `pt-AO`, `pt-PT`, `en-US`). |
| `CountryCallingCode`    | string                      | Código de chamada internacional (ex: `+244`).              |
| `CountryStatus`         | string                      | Estado da entrada (ex: `Active`).                          |
| `CountryRiskCategory`   | string                      | Categoria de risco do país (ex: `Low`).                    |
| `CountryKYCRiskLevel`   | string                      | Nível de risco KYC (ex: `Standard`).                       |
| `CountryAMLRiskLevel`   | string                      | Nível de risco AML (ex: `Low`).                            |
| `CountrySanctionStatus` | string                      | Estado de sanções (ex: `None`).                            |
| `CountryPEPRiskLevel`   | string                      | Nível de risco PEP (ex: `Standard`).                       |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://selenium-4.gitbook.io/nexus-docs/docs/public-reference-data-management/retrieve-country-classifications/main.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
