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

<Warning>
  This API has been deprecated. Please use [Real-Time Exchange Rate Query (V2)](/docs/en/V20260801/api/version2/ExchangeRateV2) instead.
</Warning>

**Description:**

* **Query exchange rates for converting USD to other currencies, only USD settlement payment methods are supported**

**URL:**

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

**Parameters:**

| Parameter Name | Required | Type   | Description                                   |
| :------------- | :------- | :----- | :-------------------------------------------- |
| appId          | Yes      | Long   | Business ID (obtained from the admin console) |
| sourceCurrency | Yes      | String | Source currency (USD)                         |
| targetCurrency | Yes      | String | Target currency                               |
| payType        | No       | String | Payment type                                  |
| inBankCode     | No       | String | Payment method                                |
| sign           | Yes      | String | Signature                                     |

Return **data** parameter description

| Parameter Name | Type   | Description           |
| :------------- | :----- | :-------------------- |
| sourceCurrency | String | Source currency (USD) |
| targetCurrency | String | Target currency       |
| payType        | String | Payment type          |
| inBankCode     | String | Payment method        |
| exchangeRate   | String | Exchange rate         |
| sign           | String | Signature             |

## Related Topics

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