Get OTC Active Quotes
POST/private/GetOtcActiveQuotes
Retrieves a list of active OTC quotes.
API Key Permissions Required: Orders and trades - Query open orders & trades
Request
- application/json
Body
required
Nonce used in construction of API-Sign
header
The unique identifier of the vault associated with the OTC trade. This parameter is specifically used for custody OTC trades to filter quotes related to a particular vault.
Responses
- 200
- 500
Active quotes retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
expires objectrequired
Expiration time of the quote.
Unix timestamp in milliseconds.
The id of the quote.
The client order ID when quote was requested by an external partner client.
Base (amount) asset of the pair.
Quote asset of the pair.
Possible values: [buy
, sell
]
Buy or sell.
The unit price.
Quantity of the base asset.
Quantity of the quote asset.
Possible values: [automated
, flexible
]
If the settlement is automated or flexible. Only automated is currently supported through the API.
{
"result": [
{
"expires": {
"time": 1715155200000
},
"quote_id": "00001c47-8f59-4099-b6f8-b637437ef1ab",
"client_order_id": "7264675290025181184",
"base": "BTC",
"quote": "USD",
"type": "buy",
"price": "100000.25",
"amount": "2.5",
"total": "250000.625",
"settlement": "automated"
}
],
"error": [
"EGeneral:Invalid arguments"
]
}
Internal Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": [
"EGeneral:Invalid arguments"
]
}
{
"errors": [
{
"field": null,
"value": null,
"type": "Internal Error",
"msg": "Internal error",
"severity": "E",
"errorClass": "General"
}
]
}