Countries that use a currency

Lists every country that uses a currency, e.g. all 20+ countries using EUR.

Request

GEThttps://countries-info.p.apihiver.com/v1/currency/EUR
*
String. ISO 4217 currency code, e.g. EUR.
Language
Client
1curl --request GET \
2  --url https://countries-info.p.apihiver.com/v1/currency/EUR \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Countries that use a currency: Countries Info API reference

Lists every country that uses a currency, e.g. all 20+ countries using `EUR`. This endpoint is part of the Countries Info API: Every country's capital, population, area, currency, calling code, languages, continent and neighbours — by code, name or currency.

Example response (200, application/json)

Success.

1{
2  "countries": [
3    {
4      "code": "AD",
5      "name": "Andorra"
6    },
7    {
8      "code": "AT",
9      "name": "Austria"
10    },
11    {
12      "code": "AX",
13      "name": "Aland Islands"
14    }
15  ],
16  "currency_code": "EUR",
17  "currency_name": "Euro"
18}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "A parameter has the wrong format — the message names it."
    5  }
    6}
  • 404 — Nothing matches the value you sent.
    1{
    2  "error": {
    3    "code": "NOT_FOUND",
    4    "message": "No country uses ZZZ."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.