Skip to main content

Create OTC Quote

POST 

/private/CreateOtcQuoteRequest

Creates a new OTC request for quote.

API Key Permissions Required: Orders and trades - Create & modify orders

Request

Body

required
    nonce int64required

    Nonce used in construction of API-Sign header

    base stringrequired

    The asset you want to buy or sell (e.g., BTC, ETH).

    quote stringrequired

    The asset used to price the base asset (e.g., USD, USDT).

    amount string

    The quantity of base asset you want to trade. Cannot be used together with the total field.

    total string

    The total amount of quote asset you want to spend (for buy orders) or receive (for sell orders). Cannot be used together with the amount field.

    type stringrequired

    Possible values: [buy, sell]

    The direction of the trade. Use 'buy' to purchase the base asset with the quote asset, or 'sell' to sell the base asset for the quote asset.

Responses

Create OTC quote result.

Schema
    result object
    quote objectrequired

    Quote created

    error string[]required
Loading...