Top-of-book
What is this endpoint for?
Top-of-Book is also knows as best bids and asks. It offers the best bid and best asks on order book, provided in real-time. This information is obtained from our detailed Tick-Level-Updates data.
Parameters
Parameter | Description | Examples |
---|---|---|
| A nested object to configure following properties for your stream:
Explore instruments, codes and exchanges in the Instrument Explorer or by using the Reference API endpoint. |
|
Configuring a wildcard
A wildcard allows you to request all information we have on a specific instrument, class, or exchange in the same stream.
Use a *
in place of the relevant exchange
, instrument
, or class
parameter.
For example, the configuration below would deliver trades for BTC/USD across all exchanges where itâs supported:
exchange: *
class: spot
instrument: btc-usd
Fields
Field | Description |
---|---|
|
|
| Instrument class, empty when not mapped. |
| Instrument code, empty when not mapped. |
| Instrument exchange code. |
| Sequence ID for event. Sortable in lexicographic order. |
| When Example: algo-btc
For each unit of Algo, the buyer is willing to pay When Example: algo-btc
For each unit of Algo, the buyer is willing to accept |
| The timestamp provided by the exchange for the data. |
| The timestamp for when Kaiko received the data from the exchange. |
| The timestamp the data became available in the Kaiko system. |
|
|
| N/A. Always |
| N/A. Always |
Request examples
Make sure to read our Python quick-start guide before starting.
Response Example
Last updated