GET
/
exchange
/
api
/
orders
/
price

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>
required

Type of trade

Available options:
BUY,
SELL
fiat
string
required

Symbol of fiat currency

fiatAmount
number

Fiat amount

token
string
required

Symbol of token asset

tokenAmount
number

Token amount

networkId
string

Onboard blockchain network identifier or chain Id e.g Base will be base or 8453 or 0x2105

paymentChannel
string

Payment channel

Response

200 - application/json

Price for a trade

price
number
required

The price at which the order will be traded