# Exchange Rate

## <mark style="color:blue;">Get Exchange Rates</mark>

**Endpoint:** `POST /getExchangeRates`

**Description:** Retrieves exchange rates for all supported mainnet coins in the value of the requested currency.

**Request Parameters:**

| Parameter         | Type                                                        | Required | Description                           |
| ----------------- | ----------------------------------------------------------- | -------- | ------------------------------------- |
| requestedCurrency | [Currency](https://docs.akashicpay.com/references#currency) | Yes      | Currency to get rates for (e.g., USD) |

Response:

```json
{
  "[currency: string]": "string"
}

```

Example:

```json
{
  "CNY": "0.10233",
  "HKD": "7.78"
}

```
