Get Latest Rate By Currency
GET
/fx-rate-api/traded-rates/{currencyCode}
This endpoint retrieves the latest traded FX rate for a specified currency code, providing real-time data for partners to make informed decisions. A partner would call this endpoint when they need to access the current rate they traded for a particular currency in order to facilitate transactions or pricing. The endpoint returns the latest traded rate along with associated deal information.
Path parameters
| Name | Type | Description |
|---|---|---|
| currencyCoderequired | string | — |
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
| Field | Type | Description |
|---|---|---|
| partnerCode | string | — |
| partnerName | string | — |
| tradedRateEntry | object | — |
| currencyIsoCode | string | — |
| baseCurrencyCode | string | — |
| tradedRate | number | — |
| dealAmount | number | — |
| totalExchangeAmount | number | — |
| tradedAt | string | — |
| dealId | string | — |