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.
Test mode
With a test API key, this endpoint uses fixed sample rates, not live market rates. See test mode.
POST
authorizationheader
AuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
application/jsoncurrencyPairs*array<string>
The currency pairs.
Items
1 <= itemstenor?string
The tenor to search for rate.
OK
*/*rates?array<Rate>
sourceTraceId?string
tenor?string
validUntil?string
curl -X POST 'https://api.tryacme.com/v1/forex/rate-lookup' \
-H 'Content-Type: application/json' \
-d '{
"currencyPairs": [
"string"
]
}'Example Response
{
"rates": [
{
"ask": "string",
"bid": "string",
"currencyPair": "string"
}
],
"sourceTraceId": "string",
"tenor": "string",
"validUntil": "string"
}