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

# API overview

> REST and WebSocket APIs for trading on Monochrome.

Monochrome provides REST and WebSocket APIs for spot, futures, margin and copy trading, plus OAuth endpoints for third-party integrations and a user-center API for sub-accounts, API keys and affiliate data.

## Base URLs

| API | Base URL |
| - | - |
| Spot REST | `https://sapi.monochrome.exchange` |
| Futures REST | `https://fapi.monochrome.exchange` |
| Spot WebSocket | `wss://stream.monochrome.exchange/public` and `wss://stream.monochrome.exchange/private` |
| Futures WebSocket | `wss://fstream.monochrome.exchange/ws/market` and `wss://fstream.monochrome.exchange/ws/user` |

Each product section starts with a Getting started page that covers authentication, signing, rate limits, response format and error codes for that API.

## Products

> [card] [Spot](https://docs.monochrome.exchange/developers/spot/getting-started.md)
>
> Market data, orders, balances, deposits and withdrawals, transfers, and public and private WebSocket streams.

> [card] [Futures](https://docs.monochrome.exchange/developers/futures/getting-started.md)
>
> Quotes, orders, trigger and stop orders, account and position management, and market and user WebSocket streams.

> [card] [Margin](https://docs.monochrome.exchange/developers/margin/getting-started.md)
>
> Symbols, orders, balances, loans, repayments and interest.

> [card] [Copy trading](https://docs.monochrome.exchange/developers/copy-trading/spot-getting-started.md)
>
> Lead and copy order endpoints for spot and futures.

> [card] [Third-party OAuth](https://docs.monochrome.exchange/developers/third-party/getting-started.md)
>
> User registration, authorization links, tokens and API keys for partner integrations.

> [card] [User center](https://docs.monochrome.exchange/developers/user-center/getting-started.md)
>
> Sub-accounts, API key management, affiliate users and commission data.

## SDKs

A lightweight Java client is available at [monochrome-ex/monochrome-java-demo](https://github.com/monochrome-ex/monochrome-java-demo).

## Create an API key

Log in to Monochrome, open **API Management** under your account, and create a key with the permissions you need. Keep the secret key private; Monochrome will never ask you for it.


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