---
title: Countries Data Block
description: "*The Countries (Countries) Data Block is a System Data Block and is not edited. The following details are informational only* The Countries Data Block surfaces the country codes and names. By default, this list is retrieved from Assette's internal database.…"
url: "https://learn.assette.com/docs/countries-data-block/"
updated: "2025-03-26"
category: Developers / Data Blocks / Data Blocks by Category / System Data Blocks
---

# Countries Data Block

*The Countries (Countries) Data Block is a System Data Block and is not edited. The following details are informational only*

The Countries Data Block surfaces the country codes and names. By default, this list is retrieved from Assette's internal database. If a client desires to maintain their own countries list, the Data Block *CountriesLocaldb* must be modified.

## General Info

| Field | Value |
| --- | --- |
| Name | *Countries* |
| Block Category | Transform |
| Block Type | Python |
| Data Type | None |
| Output Type | Data Table |
| Editable | True |

## Dependencies

| Data Block Name | Description |
| --- | --- |
| CalculationEnv | Defines the imported Python modules and libraries (e.g., "import numpy as np" |

*Must be modified in order to support custom country code and names.

## Example Request

```
{}
```

## Example Output

*This example has been truncated due to length*

```
{
    "data": [
        {
            "Key": "af",
            "Value": "Afghanistan"
        },
        {
            "Key": "ax",
            "Value": "Åland Islands"
        },
        {
            "Key": "al",
            "Value": "Albania"
        }
    ],
    "errors": [],
    "success": true,
    "logs": []
}
```
