API Reference

/countries Endpoint

Download the full country reference with alpha-3 codes, names, and official currencies, plus notes on multi-currency territories.


Endpoint

GET https://api.currency-core.com/v1/countries

This endpoint is public. It needs no API key and does not count against your quota or rate limit. Use it to discover the full set of countries CurrencyCore supports, the alpha-3 codes used by the PPP endpoints, and each country’s official currencies.

The full reference

The response is the full reference. There is no pagination and no search parameter: one request returns every supported country, sorted by name. That makes the endpoint the canonical list to cache or download.

Save the complete list to a file:

curl https://api.currency-core.com/v1/countries > countries.json

Find one country and its currencies with jq:

jq '.[] | select(.code == "IND" or .code == "PAN")' countries.json

List every country code, one per line:

jq -r '.[].code' countries.json

The list is served from the edge, so it is cheap to poll or refresh on a schedule.

Response shape

Returns an array of { code, name, currencies } objects, sorted by name. A trimmed example:

[
  { "code": "BGR", "name": "Bulgaria", "currencies": ["EUR"] },
  { "code": "DEU", "name": "Germany", "currencies": ["EUR"] },
  { "code": "IND", "name": "India", "currencies": ["INR"] },
  { "code": "PAN", "name": "Panama", "currencies": ["PAB", "USD"] },
  { "code": "USA", "name": "United States", "currencies": ["USD"] },
  { "code": "ZWE", "name": "Zimbabwe", "currencies": ["USD", "ZWG"] }
]

Response fields

FieldTypeDescription
codestringCountry code (ISO/IMF alpha-3), e.g. USA, IND, DEU. Treat this as the stable identifier.
namestringHuman-readable country name.
currenciesstring[]The country’s official ISO 4217 currencies. Most countries have one. Some have several, and some share a currency with other countries.

Caching and refresh

The country list changes rarely, so cache it rather than calling on every request. Store the whole array with a long TTL, refresh on a schedule, and look up by code in memory. Treat code as the stable key: a display name can change, and new territories can appear. The endpoint stays cheap to poll because it is served from the edge, but your own cache still avoids unnecessary network calls.

Country-to-currency mapping notes

The currencies array is the authoritative mapping for PPP validation. In /v1/convert?ppp=true, the currency in a currency:country pair must be one of that country’s official currencies, so INR:IND is valid but EUR:IND is not.

The data includes several multi-currency territories:

CountryCurrenciesNote
Panama (PAN)PAB, USDThe balboa and the US dollar both circulate.
Zimbabwe (ZWE)USD, ZWGThe data lists both the US dollar and the Zimbabwe Gold.
Bhutan (BTN)BTN, INRBoth currencies are official.
Brunei (BRN)BND, SGDBoth currencies are official.
Eswatini (SWZ)SZL, ZARBoth currencies are official.
Lesotho (LSO)LSL, ZARBoth currencies are official.
Namibia (NAM)NAD, ZARBoth currencies are official.
Singapore (SGP)SGD, BNDBoth currencies are official.
West Bank and Gaza (WBG)ILS, JODBoth currencies are official.
Liberia (LBR)LRD, USDBoth currencies are official.

Euro-area countries all map to ["EUR"]. Bulgaria (BGR) also maps to ["EUR"] following its 2026 adoption of the euro, so BGN is not a supported code. Curacao (CUW) and Sint Maarten (SXM) map to ["XCG"], the Caribbean guilder that replaced ANG on 2025-03-31.

The endpoint returns alpha-3 codes only. /v1/convert and /v1/ppp/analysis accept alpha-2 codes, country names, and some common acronyms as input and resolve them to alpha-3, but the reference list itself is alpha-3.

Parameters and errors

This endpoint has no query or path parameters.

StatusMeaning
200The full array is returned.
404The path is wrong. /v1/countries is the only supported path.

There is no endpoint-specific 400, 401, 403, or 429 behavior because the route has no key check and no quota. If a proxy in front of your account adds a rate limit, honor its Retry-After header.

Examples

No Authorization header is needed.

curl https://api.currency-core.com/v1/countries
  • Public and unmetered: no key, no monthly request, no per-minute rate limit.
  • One response contains the full list. Cache it rather than calling once per lookup.
  • The currencies array is reference data for validation and display. Use /v1/rates for live quotes.
  • If you need currency names and symbols, use /v1/currencies.

Related pages: