POST
/
v1
/
portfolios
/
{portfolio_id}
/
rfq
Create Quote Request
curl --request POST \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/rfq \
  --header 'Content-Type: application/json' \
  --data '{
  "product_id": "<string>",
  "side": "BUY",
  "client_quote_id": "f69a20b1-4ac4-420e-90b5-814a12565bfa",
  "base_quantity": "<string>",
  "quote_value": "<string>",
  "limit_price": "<string>",
  "settl_currency": "<string>"
}'
{
  "quote_id": "<string>",
  "expiration_time": "2023-11-07T05:31:56Z",
  "best_price": "<string>",
  "order_total": "<string>",
  "price_inclusive_of_fees": "<string>"
}

Path Parameters

portfolio_id
string
required

The ID of the portfolio that owns the order

Body

application/json

based off PostOrderPreviewRequest

product_id
string
required
side
enum<string>
required
  • UNKNOWN_ORDER_SIDE: nil value
  • BUY: Buy order
  • SELL: Sell order
Available options:
BUY,
SELL
client_quote_id
string
required

A client-generated order ID used for reference purposes (note: order will be rejected if this ID is not unique among all currently active orders)

Example:

"f69a20b1-4ac4-420e-90b5-814a12565bfa"

limit_price
string
required
base_quantity
string
quote_value
string
settl_currency
string

Response

200 - application/json

A successful response.

quote_id
string
expiration_time
string<date-time>
best_price
string
order_total
string
price_inclusive_of_fees
string