> ## Documentation Index
> Fetch the complete documentation index at: https://docs.countrystatecity.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Currency by Country

> Retrieve the official currency for a single country by ISO2, ISO3, or numeric ID

Retrieve the currency used by a single country. The path parameter accepts **three forms** for flexibility:

* ISO 3166-1 alpha-2 code (e.g., `US`, `IN`)
* ISO 3166-1 alpha-3 code (e.g., `USA`, `IND`)
* Numeric country ID (e.g., `233` for the United States in our database)

<Note>**Availability:** Supporter plan and above. Returns `403` on lower tiers.</Note>

<Info>Responses are cached server-side for 24 hours. Equivalent identifier forms (e.g., `1` and `001`) resolve to the same cache slot.</Info>

## Authentication

<ParamField header="X-CSCAPI-KEY" type="string" required>
  Your API key for authentication
</ParamField>

## Path Parameters

<ParamField path="ciso" type="string" required>
  ISO2 code, ISO3 code, or numeric country ID. Case-insensitive for ISO codes.
</ParamField>

## Response

<ResponseField name="country" type="string">
  ISO2 code of the country (e.g., `"US"`)
</ResponseField>

<ResponseField name="currency" type="object">
  Currency information

  <Expandable title="properties">
    <ResponseField name="code" type="string">
      ISO 4217 currency code (e.g., `"USD"`). Always present — endpoint returns `404` if the country has no currency on record.
    </ResponseField>

    <ResponseField name="name" type="string | null">
      Full currency name (e.g., `"United States dollar"`). May be `null` for edge-case territories.
    </ResponseField>

    <ResponseField name="symbol" type="string | null">
      Unicode currency symbol (e.g., `"$"`). May be `null` — fall back to `code` when rendering.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL (ISO2) theme={null}
  curl -X GET 'https://api.countrystatecity.in/v1/currency/US' \
    -H 'X-CSCAPI-KEY: YOUR_API_KEY'
  ```

  ```bash cURL (ISO3) theme={null}
  curl -X GET 'https://api.countrystatecity.in/v1/currency/IND' \
    -H 'X-CSCAPI-KEY: YOUR_API_KEY'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.countrystatecity.in/v1/currency/US', {
    headers: { 'X-CSCAPI-KEY': 'YOUR_API_KEY' }
  });

  const { currency } = await response.json();
  console.log(`${currency.symbol} ${currency.code}`);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
    'https://api.countrystatecity.in/v1/currency/US',
    headers={'X-CSCAPI-KEY': 'YOUR_API_KEY'}
  )

  data = response.json()
  print(f"{data['country']} uses {data['currency']['code']}")
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - Success theme={null}
  {
    "country": "US",
    "currency": {
      "code": "USD",
      "name": "United States dollar",
      "symbol": "$"
    }
  }
  ```

  ```json 200 - Edge case (symbol null) theme={null}
  {
    "country": "CU",
    "currency": {
      "code": "CUP",
      "name": "Cuban peso",
      "symbol": null
    }
  }
  ```

  ```json 403 - Feature Restricted theme={null}
  {
    "error": "This feature is not available on your current plan.",
    "feature": "currencyApi",
    "upgradeUrl": "https://app.countrystatecity.in/pricing"
  }
  ```

  ```json 404 - Country Not Found theme={null}
  {
    "error": "Country not found."
  }
  ```

  ```json 404 - No Currency Data theme={null}
  {
    "error": "No currency data available for this country."
  }
  ```
</ResponseExample>

## Related Endpoints

* [List All Currencies](/api/endpoints/list-all-currencies) — every country's currency in one call, with optional reverse lookup
* [Get Country Details](/api/endpoints/get-country-details) — full country record including currency fields inline
