GET
/
exchange
/
api
/
orders
/
price
curl --request GET \
  --url https://onboard-external-dev.api.nestcoin.io/exchange/api/orders/price
{
  "price": 123
}

Fetches the best available market price for a trade based on specified parameters. This helps users have a near-accurate estimate before proceeding with a transaction.

Query Parameters

tradeType
enum<string>

Type of trade (maps to transaction type: BUY - ONRAMP, SELL - OFFRAMP)

Available options:
BUY,
SELL
fiat
string
fiatAmount
number
token
string
tokenAmount
number
network
string

Blockchain network identifier

paymentChannel
string

Response

200
application/json

Success

Price for a trade