# Get precision for currencies

`GET https://api.cryptohopper.com/v1/exchange/{exchange}/currencies/decimals`

Part of [Exchanges](https://www.cryptohopper.com/api-documentation/api-reference/exchanges.md) in the Cryptohopper API reference.

Returns the number of decimals Cryptohopper uses for each currency on an exchange.

OAuth scope: `read`

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `exchange` | string | yes | Exchange key as returned by Get available exchanges, for example binance or kucoin. Case insensitive. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/exchange/EXCHANGE/currencies/decimals" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "BTC": "8",
        "USDT": "2"
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
