Orders

RFQ - Request for Quote

Changed on

Solicits a quote for the requested size in base or counter currency.

The returned quote is valid until expirationDate. Use POST /accounts/{accountId}/rfq/order with the quote id to place an order priced off this quote. Requesting an identical quote (same account, product, side, quantity and quantity currency) while an identical quote is still active returns the existing quote.

post/api/prime/trading/v1/accounts/{accountId}/rfq/quote

Request

  • Base URL
    https://developers.bitgo.com
  • URL
    https://developers.bitgo.com/api/prime/trading/v1/accounts/{accountId}/rfq/quote
  • Auth
    none declared

Path parameters

accountIdstring required

The ID of the account

Request body

productstring required

Product name in BASE-QUOTE format (e.g. BTC-USD). Must be an RFQ-supported product.

side'buy' | 'sell' required

The side of the order

quantitystring required

Requested quantity, denominated in quantityCurrency

quantityCurrencystring required

Currency the quantity is denominated in (base or quote currency of the product)

Example request

{
  "product": "BTC-USD",
  "side": "buy",
  "quantity": "250000",
  "quantityCurrency": "USD"
}

Response

An RFQ quote

idstring uuid

ID of the RFQ quote. Pass it as quoteId when placing an RFQ order.

productstring

Product name

side'buy' | 'sell'

The side of the order

quotedPricestring

All-in price the client pays (or receives, on sells)

quotedQuantitystring

Quantity denominated in quotedQuantityCurrency

quotedQuantityCurrencystring

Currency the quote is denominated in

quantityCurrencystring

Currency of the client-requested quantity (echoes the request)

quantitystring

Client-requested quantity (echoes the request)

expirationDatestring date-time

Time after which the quote can no longer be used to place an order

Example response

{
  "id": "68ade562-5e4d-4efc-83d0-9b76aa6bf88a",
  "product": "BTC-USD",
  "side": "buy",
  "quotedPrice": "85076.51",
  "quotedQuantity": "2.93853144",
  "quotedQuantityCurrency": "BTC",
  "quantityCurrency": "USD",
  "quantity": "250000",
  "expirationDate": "2026-09-30T15:15:52.000Z"
}

Changes