curl --request POST \
--url https://api.enterprise.sandbox.uphold.com/trading/prices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "BTC",
"quote": "USD",
"side": "sell",
"quantity": "0.5"
}
'
{
"price": "61919.14",
"snapshotAt": "2026-10-12T10:31:04.218Z"
}
Prices
Estimate price
Estimate the volume-weighted price to buy or sell a quantity of an asset. The estimate is nonbinding and does not create an order or reserve funds.
POST
/
trading
/
prices
curl --request POST \
--url https://api.enterprise.sandbox.uphold.com/trading/prices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base": "BTC",
"quote": "USD",
"side": "sell",
"quantity": "0.5"
}
'
{
"price": "61919.14",
"snapshotAt": "2026-10-12T10:31:04.218Z"
}
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.Body
application/json
Was this page helpful?