> ## 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.

## 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](/api-reference/overview) 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](/api-reference/authentication)
* **IP Restrictions**: Up to 5 trusted IPs can be configured for security
* **Helper Library**: [API Quick Start Helper](https://github.com/whitebit-exchange/api-quickstart) with examples in multiple languages

## WebSocket API

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

* [Market Streams](/websocket/market-streams/overview) — Market data, klines, order book, trades, and statistics
* [Account Streams](/websocket/account-streams/overview) — Account data, balances, orders, and deals

## Other Integration Options

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

## Resources

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