# Get exchange rate API

* This is the API to get the list of fx rates between currency vs VND.&#x20;
* Sequence Diagram&#x20;

<figure><img src="https://content.gitbook.com/content/uIGO9I55gtHjY6deHGwV/blobs/EzTQ7R5IAIEufpgqJ2mT/Picture1_5.png" alt=""><figcaption></figcaption></figure>

* API:
  * Path: */v2/dib/fxRates*&#x20;
  * Method: GET&#x20;
  * Request: Content-Type: application/json&#x20;
* Request Parameter

<table><thead><tr><th width="136">Parameter</th><th width="137">Data Type </th><th width="111">Required</th><th>Description</th></tr></thead><tbody><tr><td>codes </td><td>String </td><td>Y </td><td>Currency codes are separated by commas. ex: USD,EUR </td></tr></tbody></table>

* Response Data

<table><thead><tr><th width="121.33333333333334">Parameter</th><th width="230">Data Type </th><th>Description</th></tr></thead><tbody><tr><td>code </td><td>Number </td><td>System’s error code </td></tr><tr><td>message </td><td>String </td><td>Error description </td></tr><tr><td>data </td><td><p>Array</p><p>[<a href="response-data-structure">ExchangeRateRespItem</a>] </p></td><td>Data response, refer to <a href="response-data-structure">ExchangeRateRespItem</a> </td></tr></tbody></table>
