---
title: "Convert ISO-3166-1 2-letter country code to the country's name."
method: GET
path: "/geocode/countryName"
tags: ["Convert"]
---

# Convert ISO-3166-1 2-letter country code to the country's name.

`GET /geocode/countryName`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/geocode/countryName`
- Auth: none declared

## Query parameters

- `c` string, required

## Response `200`

OK

- string

## Other responses

- `400`: Malformed request
- `404`: Not found
- `500`: Internal server error

## Changes

- **2022-03-14** `66210856c298`: 1 info
  - endpoint added
- **2021-05-17** `ca9a67c30e72`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/globaldothealth/apis/global-health-geolocation-service/changes/geocode/countryName/get.md)

---

[API](https://skmtc.dev/globaldothealth/apis/global-health-geolocation-service.md) - [All operations](https://skmtc.dev/globaldothealth/apis/global-health-geolocation-service/llms.txt) - [OpenAPI document](https://skmtc.dev/globaldothealth/apis/global-health-geolocation-service/revisions/97f3a25df026?raw)
