Quotes

Get an estimate or firm quote

Get an estimate or firm quote. An estimate is as it's described:

  • The current rates on offer within the Ebury platform with no firm quote.
  • A firm quote returns a reference than can be used to book a trade.
post/quotes

Request

  • Base URL: https://api.ebury.io
  • URL: https://api.ebury.io/quotes
  • Auth: API key in header x-api-key

Query parameters

quote_type'estimate' | 'quote' required

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

client_idstring required

The identifier of a client.

Headers

Authorizationstring required

The access token.

X-Contact-IDstring

The identifier of a contact.

Request body

amountnumber double required

Amount

buy_currencystring required

Buy currency

operation'buy' | 'sell' required

Operation (buy or sell)

sell_currencystring required

Sell currency

trade_type'spot' | 'forward' required

The trade type

value_datestring 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_ratenumber double required

The estimated rate

estimated_rate_symbolstring required

The symbol of estimated rate

fee_amountnumber float required

Fee amount

fee_currencystring required

Fee currency

inverse_ratenumber double required

Inverse rate

inverse_rate_symbolstring required

The symbol of inverse rate

value_datestring date required

Date on which quote is requested

warningstring

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

Changes

No recorded changes to this operation across all 1 revision of this API.