> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capcells.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the country registry

> The countries the Platform admits at onboarding, with what it knows about each.

The list a company picks from when it says where it lends. Onboarding reads it before any Tenancy exists.

It takes no parameter. The list is short, closed and the same for every caller.

Read both flags. `has_pack` says the market is worked out for onboarding. `lending_supplied` says the Platform can issue a loan there. A country can be the first without being the second.

## Who may call

Any usable Console session, and the agent. No binding, Tenancy or role is needed.

## Response

**countries** `array` *required*

Every admitted country, ordered by `country_code`.

**country**

**country\_code** `string` *required*

The ISO 3166-1 alpha-2 code.

**name** `string` *required*

The country in English.

**currency** `string` *required*

The ISO 4217 code of the country's currency. It binds nothing.

**has\_pack** `boolean` *required*

Whether the market is worked out for onboarding.

**lending\_supplied** `boolean` *required*

Whether the Platform can issue a loan in this country. Computed, never set.

**tax\_rules** `array`

The tax rules a loan there may bear, the general case first, each as `{rate, on}`. Absent, never empty, where the Platform asserts none.

**entity\_types** `array`

The legal forms a lender registers under. Present only on a market pack; it constrains nothing.

**suggested\_time\_zone** `string` *required*

The IANA zone a company there most plausibly keeps its clock in. A suggestion only.

## Refusals

| Status | Code | When |
| - | - | - |
| `401` | `unauthenticated` | The token is missing or cannot be used |
| `405` | | The route answers `GET` only |

Every refusal carries the [error shape](https://docs.capcells.com/api-reference/overview.md#the-error-shape). `429` and `503` answer as at the signing door.

```bash Request theme={null}
curl https://api.capcells.com/console/v1/countries \
  -H "Authorization: Bearer $CONSOLE_TOKEN"
```

```json 200 theme={null}
{
  "countries": [
    {
      "country_code": "ES",
      "name": "Spain",
      "currency": "EUR",
      "has_pack": true,
      "lending_supplied": false,
      "entity_types": [
        "S.L.",
        "S.A."
      ],
      "tax_rules": [
        {
          "rate": "0",
          "on": [
            "interest",
            "fee",
            "penalty",
            "late_fee"
          ]
        }
      ],
      "suggested_time_zone": "Europe/Madrid"
    },
    {
      "country_code": "MX",
      "name": "Mexico",
      "currency": "MXN",
      "has_pack": true,
      "lending_supplied": true,
      "entity_types": [
        "S.A.P.I. de C.V.",
        "SOFOM E.N.R."
      ],
      "tax_rules": [
        {
          "rate": "16",
          "on": [
            "interest",
            "fee",
            "penalty",
            "late_fee"
          ]
        },
        {
          "rate": "8",
          "on": [
            "interest",
            "fee",
            "penalty",
            "late_fee"
          ]
        },
        {
          "rate": "0",
          "on": [
            "interest",
            "fee",
            "penalty",
            "late_fee"
          ]
        }
      ],
      "suggested_time_zone": "America/Mexico_City"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.