# Fetch Countries
source: https://developer.mastercard.com/easy-savings-specials/documentation/use-cases/use-cases-2/index.md

## Overview {#overview}

The `GET/countries` endpoint returns standardized country codes and a list of supported language codes for each country.

## User journey {#user-journey}

Diagram use-case-countries

## Workflow {#workflow}

**1. Initiate request.**

* Send a `GET/countries` request to retrieve standardized country and language codes.

**2. Retrieve codes.**

* Receive a list of uniquely identifiable codes:
  * Country Codes: Three-letter ISO country codes, following the [ISO 3166-1 alpha-3](https://www.iso.org/iso-3166-country-codes.html) format.
  * Language Codes: Language codes in the [IETF BCP 47](https://gist.github.com/typpo/b2b828a35e683b9bf8db91b5404f1bd1) format.

**3. Establish a configuration.**

* Use the retrieved codes to initialize and configure the system for the `GET/offers` API request.

## Use case examples {#use-case-examples}

### Static mapping {#static-mapping}

The issuer targeting SMEs in specific countries and language segments can retrieve standardized country and language codes to include in the `GET/offers` API request as predefined values. This approach simplifies deployment by reducing the need for additional configuration. To ensure accuracy and alignment with regional updates, it is recommended to review and update these codes monthly.

### Dynamic user-driven mapping {#dynamic-user-driven-mapping}

The issuer targeting SMEs in international or cross-border markets can map standardized codes to selection controls (for example, dropdowns, radio buttons) to offer a more flexible and scalable user experience. This allows SME business cardholders to access global offers. To maintain accuracy and ensure alignment with regional updates, it is recommended to review and update these codes monthly.

## Fetch countries endpoint {#fetch-countries-endpoint}

See the API structure:

API Reference: `GET /countries`

