Skip to main content
POST
Estimate price
Estimates the price of trading a quantity of an asset. The estimate is for a quantity of the base asset, priced in the quote asset. The estimate is nonbinding. Read more about price estimates.

Authorizations

Authorization
string
header
required

OAuth 2.0

Scopes

trading.prices:read

Grants access to read prices.

Body

application/json
base
string
required

The base asset, the one sold.

Minimum string length: 1
quote
string
required

The quote asset, the one the price is expressed in.

Minimum string length: 1
side
enum<string>
required

Whether the base asset is sold.

Available options:
sell
quantity
string
required

The quantity of the base asset to estimate the price of.

Pattern: ^(?!0+(\.0+)?$)\d+(\.\d+)?$

Response

Price estimated.

price
object
required