Look up forex rates
POST/forex/rate-lookup
Look up forex rates.
Request
- application/json
Body
tenor string
Possible values: [TODAY
]
The tenor to search for rate.
currencyPairs string[]
the currency pairs
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
sourceTraceId string
The trace ID from the source
tenor string
Possible values: [TODAY
]
Tenor to search for rates
validUntil string
The rates are valid until this time
rates
object[]
An array of rates, one for each currency pair
ask string
The source is willing to sell one unit of the base currency for this amount of the quote currency.
bid string
The source is willing to buy one unit of the base currency for this amount of the quote currency.
currencyPair string
A currency pair is two currency codes. The first is known as the base currency and the second as the quote currency.
{
"sourceTraceId": "30df5d6e-53e1-4e76-8a0e-89d08f386b00",
"tenor": "TODAY",
"validUntil": "2023-04-24T00:00:00.000000Z",
"rates": [
{
"ask": "1.370304",
"bid": "1.349266",
"currencyPair": "USDSGD"
}
]
}
Loading...