API Reference

/countries Endpoint

List every supported country with its code and name. Public and not metered.


Endpoint

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

This endpoint is public — no API key required — and does not count against your quota or rate limit. Use it to discover the full set of countries CurrencyCore supports and the codes used to reference them.

Response

Returns an array of { code, name, currencies } objects, sorted by name:

[
  { "code": "AFG", "name": "Afghanistan", "currencies": ["AFN"] },
  { "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"] }
]
FieldTypeDescription
codestringCountry code (ISO/IMF alpha-3), e.g. USA, IND
namestringHuman-readable country name
currenciesstring[]The country’s official currencies (ISO 4217), e.g. ["INR"]. Most countries have one; some have several (Eurozone members are ["EUR"], Panama is ["PAB", "USD"]). When using PPP in /convert, the currency in each currency:country pair must be one of these.

Examples

This endpoint is public — no Authorization header needed.

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

Notes

  • The list is served from an edge cache, so it’s fast and cheap to poll.
  • Treat code as the stable identifier; names are for display.