Foreign exchange (FX)
Look Up Forex Rates
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
*/*
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"}