Get OTC Historical Quotes
POST/private/GetOtcHistoricalQuotes
Retrieves OTC quotes history.
API Key Permissions Required: Orders and trades - Query open orders & trades
Request
- application/json
Body
required
Nonce used in construction of API-Sign
header
Responses
- 200
- 500
Historical quotes retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
The Trade ID of the quote. Only present once the associated trade has been booked for an accepted quote
Possible values: [Modified
, Deleted
]
The status of the quote
acceptance objectrequired
Acceptance
Possible values: [accepted
, rejected
, expired
]
The acceptance status of the quote.
Unix timestamp in milliseconds.
Possible values: [settled
, unsettled
]
The settlement status of the quote.
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": [
{
"trade_id": "TR123ABS",
"status": null,
"acceptance": {
"status": "accepted",
"time": 1736257135382
},
"settlement_status": "settled",
"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"
}
]
}