> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Overview

> The WhiteBIT API covers REST and WebSocket endpoints, base URLs, versioning, and integration setup.

Base URL

:

## Introduction

WhiteBIT API provides comprehensive access to the trading platform through both `public` and `private` endpoints. Using any WhiteBIT API endpoint confirms agreement to the [Terms of Use](https://whitebit.com/terms/api).

## REST API

The REST API provides access to market data, trading, account management, and more. See the [API Reference](https://docs.whitebit.com/api-reference/overview.md) for full details.

* **Market Data**: Public endpoints for market info, orderbook, trades, and statistics — use `GET` with [query string](https://en.wikipedia.org/wiki/Query_string) parameters
* **Trading & Account**: Private endpoints for spot trading, collateral trading, account management, and sub-accounts — use `POST` with appropriate Body data and Headers
* **Authentication**: Required for all private endpoints — [Authentication Guide](https://docs.whitebit.com/api-reference/authentication.md)
* **IP Restrictions**: Up to 5 trusted IPs can be configured for security

## WebSocket API

WebSocket connections provide real-time data streaming and interaction. See the [WebSocket Overview](https://docs.whitebit.com/websocket/overview.md) for connection details.

* [Market Streams](https://docs.whitebit.com/websocket/market-streams/overview.md) — Market data, klines, order book, trades, and statistics
* [Account Streams](https://docs.whitebit.com/websocket/account-streams/overview.md) — Account data, balances, orders, and deals

## Other Integration Options

* [**Webhooks**](https://docs.whitebit.com/platform/webhook.md) - Receive events and notifications on a server
* [**OAuth**](https://docs.whitebit.com/platform/oauth/overview.md) - Implement secure third-party authorization
* [**Colocation**](https://docs.whitebit.com/platform/colocation.md) - Low-latency trading infrastructure services
* [**Self-Trade Prevention**](https://docs.whitebit.com/platform/self-trade-prevention.md) - Mechanisms to prevent wash trading

## Resources

* [**SDKs**](https://docs.whitebit.com/sdks.md) - Official software development kits
* [**Glossary**](https://docs.whitebit.com/glossary.md) - Terminology and definitions
* [**FAQ**](https://docs.whitebit.com/faq.md) - Frequently asked questions
* [**Status Page**](https://status.whitebit.com/) - Real-time service status and incident monitoring
* [**AI Tools**](https://docs.whitebit.com/guides/use-with-ai.md) - AI chat tools and IDE integrations for exploring the API documentation


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.