> ## 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.

# 实时汇率查询V2

**说明：**

* 查询USD转换其他币种汇率的充值汇率和提现汇率，返回汇率最近更新时间

**URL：**

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

**请求方式：** POST

**请求参数：**

| 参数名             | 必选 | 类型     | 说明                                   |
| :-------------- | :- | :----- | :----------------------------------- |
| appId           | 是  | String | 任一可用appId，用于验签                       |
| sourceCurrency  | 是  | String | 源币种，固定USD，币种代码全大写                    |
| targetCurrency  | 是  | String | 目标币种，币种代码全大写                         |
| transactionType | 是  | String | 汇率类型：`Recharge` 充值汇率、`Withdraw` 提现汇率 |
| sign            | 是  | String | 签名                                   |

**返回参数说明：**

| 参数名            | 类型     | 说明                              |
| :------------- | :----- | :------------------------------ |
| sourceCurrency | String | 源币种（USD）                        |
| targetCurrency | String | 目标币种                            |
| exchangeRate   | String | 汇率                              |
| updateTime     | String | 最近一次更新时间，格式：yyyy-MM-dd HH:mm:ss |
| sign           | String | 签名                              |

## 相关主题

* [公共接口概览](/docs/zh/api/version2/CommonApi)
* [HaiPay 接口说明与公共规则](/docs/zh/guide/api_description_guide)
