> For the complete documentation index, see [llms.txt](https://docs.tardis.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tardis.dev/historical-data-details/whitebit.md).

# WhiteBIT

WhiteBIT historical market data details - available instruments, data coverage and data collection specifics

WhiteBIT historical data for **all its spot and perpetual markets** is available since **2026-11-06**.

{% embed url="<https://api.tardis.dev/v1/exchanges/whitebit>" %}
See WhiteBIT historical data coverage: available symbols, channels, date ranges and incidents
{% endembed %}

### Downloadable **CSV** files

Historical CSV datasets for the first day of each month are **available to download without a Data API key**. See [downloadable CSV files documentation](https://docs.tardis.dev/downloadable-csv-files/overview.md).

| data type             | symbol    | date       |                                                                                                           |
| --------------------- | --------- | ---------- | --------------------------------------------------------------------------------------------------------- |
| incremental\_book\_L2 | BTC\_USDT | 2026-12-01 | [Download sample](https://datasets.tardis.dev/v1/whitebit/incremental_book_L2/2026/12/01/BTC_USDT.csv.gz) |
| trades                | BTC\_USDT | 2026-12-01 | [Download sample](https://datasets.tardis.dev/v1/whitebit/trades/2026/12/01/BTC_USDT.csv.gz)              |
| derivative\_ticker    | BTC\_PERP | 2026-12-01 | [Download sample](https://datasets.tardis.dev/v1/whitebit/derivative_ticker/2026/12/01/BTC_PERP.csv.gz)   |

### API Access and data format

Historical data format is the same as provided by real-time WhiteBIT WebSocket API with addition of local timestamps. If you'd like to work with **normalized data format** instead (same format for each exchange) see [downloadable CSV files](https://docs.tardis.dev/downloadable-csv-files/overview.md) or official [client libs](https://docs.tardis.dev/api/quickstart.md) that perform data normalization client-side.

Replay, normalization and real-time streaming require Node.js client `tardis-dev` **18.9.0** or newer, or Tardis Machine **18.9.0** or newer.

{% tabs %}
{% tab title="Python" %}

```python
# pip install tardis-dev
import asyncio
from tardis_dev import Channel, replay

async def main():
    async for local_timestamp, message in replay(
        exchange="whitebit",
        from_date="2026-12-01",
        to_date="2026-12-02",
        filters=[Channel(name="depth_update", symbols=["BTC_USDT"])],
        api_key="YOUR_API_KEY",
    ):
        # messages as provided by WhiteBIT real-time stream
        print(message)

asyncio.run(main())
```

See [Python client docs](https://docs.tardis.dev/python-client/quickstart.md).
{% endtab %}

{% tab title="Node.js" %}

```javascript
// npm install tardis-dev
import { replay } from 'tardis-dev';

const messages = replay({
  exchange: 'whitebit',
  from: '2026-12-01',
  to: '2026-12-02',
  filters: [{ channel: 'depth_update', symbols: ['BTC_USDT'] }],
  apiKey: 'YOUR_API_KEY'
});

// messages as provided by WhiteBIT real-time stream
for await (const { localTimestamp, message } of messages) {
  console.log(localTimestamp, message);
}
```

See [Node.js client docs](https://docs.tardis.dev/node-client/quickstart.md).
{% endtab %}

{% tab title="cURL & HTTP API" %}

```bash
curl --compressed -g 'https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01&filters=[{"channel":"depth_update","symbols":["BTC_USDT"]}]&offset=0'
```

{% embed url="<https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01&filters=[{%22channel%22:%22depth_update%22,%22symbols%22:[%22BTC_USDT%22]}]&offset=0>" %}
Example API response for WhiteBIT historical market data request
{% endembed %}

See [HTTP API docs](https://docs.tardis.dev/api/http-api-reference.md).
{% endtab %}

{% tab title="cURL & tardis-machine" %}

```bash
curl -g 'localhost:8000/replay?options={"exchange":"whitebit","filters":[{"channel":"depth_update","symbols":["BTC_USDT"]}],"from":"2026-12-01","to":"2026-12-02"}'
```

[Tardis-machine](https://docs.tardis.dev/tardis-machine/quickstart.md) is a locally runnable server that exposes API allowing efficiently requesting historical market data for whole time periods in contrast to [HTTP API](https://docs.tardis.dev/api/http-api-reference.md) that provides data only in minute by minute slices.

See [tardis-machine](https://docs.tardis.dev/tardis-machine/quickstart.md) docs.
{% endtab %}
{% endtabs %}

### Captured real-time channels

{% embed url="<https://docs.whitebit.com/websocket/overview>" %}
See WhiteBIT WebSocket API docs providing documentation for each captured channel's format
{% endembed %}

{% hint style="info" %}
Click any channel below to see [HTTP API](https://docs.tardis.dev/api/http-api-reference.md#data-feeds-exchange) response with historical data recorded for it.
{% endhint %}

* [depth\_update](https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01\&filters=\[{%22channel%22:%22depth_update%22,%22symbols%22:\[%22BTC_USDT%22]}]) Order book snapshots and incremental updates with up to 100 price levels per side
* [bookTicker\_update](https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01\&filters=\[{%22channel%22:%22bookTicker_update%22,%22symbols%22:\[%22BTC_USDT%22]}]) Best bid and ask updates stream
* [trades\_update](https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01\&filters=\[{%22channel%22:%22trades_update%22,%22symbols%22:\[%22BTC_USDT%22]}]) Public trade executions stream
* [premiumIndex\_update](https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01\&filters=\[{%22channel%22:%22premiumIndex_update%22,%22symbols%22:\[%22BTC_PERP%22]}]) Perpetual mark price, index price, funding rate and next funding time updates
* [futures\_update](https://api.tardis.dev/v1/data-feeds/whitebit?from=2026-12-01\&filters=\[{%22channel%22:%22futures_update%22,%22symbols%22:\[%22BTC_PERP%22]}]) — generated channel Perpetual market snapshots with open interest and funding information, fetched from the REST [futures markets endpoint](https://docs.whitebit.com/api-reference/market-data/available-futures-markets-list) every 6 seconds. Each market is stored as `{"method":"futures_update","params":[symbol,market],"id":null,"generated":true}`.

### Market data collection details

[Market data collection infrastructure](https://docs.tardis.dev/faq/general.md#what-is-your-infrastructure-setup) for WhiteBIT is located in GCP europe-west2 region (London, UK).

Real-time market data is captured via **multiple WebSocket connections** to `wss://wss.whitebit.com/ws`.

{% hint style="info" %}
WhiteBIT servers are located in AWS eu-central-1 region (Frankfurt, Germany).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tardis.dev/historical-data-details/whitebit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
