Foreign exchange (FX)

Look Up Forex Rates

POST
/v1/forex/rate-lookup

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.

Items1 <= items
tenor?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"}