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

# Real-Time Exchange Rate Query V2

**Description:**

* Query USD exchange rates for converting to other currencies, supporting both recharge and withdrawal rates, with the latest update time returned

**URL:**

`/common/quote/v3/exchange-rate`

**Method:** POST

**Request Parameters:**

| Parameter       | Required | Type   | Description                                                            |
| :-------------- | :------- | :----- | :--------------------------------------------------------------------- |
| appId           | Yes      | String | Any valid appId, used for signature verification                       |
| sourceCurrency  | Yes      | String | Source currency, fixed as USD, currency codes in uppercase             |
| targetCurrency  | Yes      | String | Target currency, currency codes in uppercase                           |
| transactionType | Yes      | String | Rate type: `Recharge` for deposit rate, `Withdraw` for withdrawal rate |
| sign            | Yes      | String | Signature                                                              |

**Response Parameters:**

| Parameter      | Type   | Description                                   |
| :------------- | :----- | :-------------------------------------------- |
| sourceCurrency | String | Source currency (USD)                         |
| targetCurrency | String | Target currency                               |
| exchangeRate   | String | Exchange rate                                 |
| updateTime     | String | Last update time, format: yyyy-MM-dd HH:mm:ss |
| sign           | String | Signature                                     |

## Related Topics

* [HaiPay API Description and Common Rules](/docs/en/guide/api_description_guide)
