v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBDepth of Book
Retrieve Depth of Book
Get the Depth of Book for an Instrument.
For now, this API only works with debt instruments, but will expand in the future.
post/quotes/depth
Request body
Example request
{
"instrumentID": "3fb1e8a9-f7d5-4d90-95e2-43e7326b5636",
"quantity": 3.14,
"salesCredit": {
"currency": "USD",
"amount": 14
}
}Response
Fetching Market data was successful
Example response
{
"MarketQuoteResponseSuccess": {
"id": "bba6ecf0-9831-45ee-af0b-447077d82c2c",
"instrumentID": "f6d3e213-4e6f-4ee3-8a9a-793027c62c57",
"ISIN": "US459058GX53",
"CUSIP": "US6174464486",
"salesCredit": {
"currency": "USD",
"amount": 14
},
"bidPrices": [
{
"bidPrice": 98.992,
"bidSize": 10000,
"bidYield": 4.799
}
],
"askPrices": [
{
"askPrice": 98.992,
"askSize": 10000,
"askYield": 4.799,
"minQty": 150
}
],
"effectiveBidPrices": [
{
"bidPrice": 98.992,
"bidSize": 10000,
"bidYield": 4.799,
"minQty": 112
}
],
"effectiveAskPrices": [
{
"askPrice": 98.992,
"askSize": 10000,
"askYield": 4.799,
"minQty": 150
}
],
"recentTrades": [
{
"price": 98.992,
"size": 10000,
"yield": 4.799,
"side": "buy",
"date": "2017-07-21T17:32:28Z"
}
]
}
}