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

# 实时汇率查询

<Warning>
  该接口已废弃，请使用 [实时汇率查询（V2）](/docs/zh/V20260801/api/version2/ExchangeRateV2)
</Warning>

**说明：**

* **查询USD转换其他币种汇率，仅支持usd结算支付方式**

**URL：**

`/common/quote/v1/exchange-rate`

**参数：**

| 参数名            | 必选 | 类型     | 说明         |
| :------------- | :- | :----- | :--------- |
| appId          | 是  | Long   | 业务ID（后台获取） |
| sourceCurrency | 是  | String | 源币种(USD)   |
| targetCurrency | 是  | String | 目标币种       |
| payType        | 否  | String | 支付类型       |
| inBankCode     | 否  | String | 支付方式       |
| sign           | 是  | String | 签名         |

返回data参数说明

| 参数名            | 类型     | 说明      |
| :------------- | :----- | :------ |
| sourceCurrency | String | 币种(USD) |
| targetCurrency | String | 目标币种    |
| payType        | String | 支付类型    |
| inBankCode     | String | 支付方式    |
| exchangeRate   | String | 汇率      |
| sign           | String | 签名      |

## 相关主题

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