Skip to main content
POST
Get an estimate or firm quote

Headers

Authorization
string
required

The access token.

X-Contact-ID
string

The identifier of a contact.

Query Parameters

quote_type
enum<string>
required

The quote type. A quote_type of quote returns a quote ID which a trade can be booked against

Available options:
estimate,
quote
client_id
string
required

The identifier of a client.

Body

application/json

Request Payload

amount
number<double>
required

Amount

buy_currency
string
required

Buy currency

Minimum string length: 1
operation
enum<string>
required

Operation (buy or sell)

Available options:
buy,
sell
sell_currency
string
required

Sell currency

Minimum string length: 1
trade_type
enum<string>
required

The trade type

Available options:
spot,
forward
value_date
string<date>

Value date for the trade. If the value date is not valid then the quote will be returned for next available value date. If the value date is not provided, then the quote will be returned for the next available valid value date.

Response

Estimated rates response

estimated_rate
number<double>
required

The estimated rate

estimated_rate_symbol
string
required

The symbol of estimated rate

fee_amount
number<float>
required

Fee amount

fee_currency
string
required

Fee currency

inverse_rate
number<double>
required

Inverse rate

inverse_rate_symbol
string
required

The symbol of inverse rate

value_date
string<date>
required

Date on which quote is requested

warning
string

A warning is only returned if the requested value date was not valid and the next available date has been returned.