exchange-external-api

Get best price for order

Changed on
get/exchange/api/orders/price

Request

Query parameters

tradeType'BUY' | 'SELL'

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

fiatstring
fiatAmountnumber
tokenstring
tokenAmountnumber
networkIdstring

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

paymentChannelstring

Response

Success

pricenumber required

The price at which the order will be traded

Changes

    • info

      the query request parameter fiat became optional

    • info

      the query request parameter token became optional

    • info

      the query request parameter tradeType became optional