---
title: "Get a list of all the ISO-3166-1 country codes in use, and the names we accept for those countries."
method: GET
path: "/geocode/countryNames"
tags: ["Geocode"]
---

# Get a list of all the ISO-3166-1 country codes in use, and the names we accept for those countries.

`GET /geocode/countryNames`

## Request

- Base URL: `http://localhost:3001/api`
- URL: `http://localhost:3001/api/geocode/countryNames`
- Auth: none declared

## Response `200`

OK

- CountryNames: A dictionary where the keys are ISO-3166-1 country codes and the values names used in Global.health for those countries

## Other responses

- `500`: Internal server error

## Changes

- **2022-03-14** `b589de37bdb4`: 1 info
  - endpoint added

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

---

[API](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api.md) - [All operations](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/revisions/5b1151265235?raw)
