Foreign exchange (FX)
Look Up Forex Rates
This API allows clients to retrieve indicative FX rates for multiple currency pairs in a single request. The rates returned are non-executable and intended for informational or estimation purposes only. This is useful for clients who need to preview or compare FX rates before initiating a trade, especially when working with multiple currencies.
Authorization
authorization AuthorizationBearer <token>
Set Your Secret API Key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
currencyPairs*array<string>
The currency pairs.
Items
1 <= itemstenor?string
The tenor to search for rate.
Response Body
*/*
application/json
application/json
curl -X POST "https://example.com/v1/forex/rate-lookup" \
-H "Content-Type: application/json" \
-d '{
"currencyPairs": [
"string"
]
}'{
"rates": [
{
"ask": "string",
"bid": "string",
"currencyPair": "string"
}
],
"sourceTraceId": "string",
"tenor": "string",
"validUntil": "string"
}