> For the complete documentation index, see [llms.txt](https://docs.tokenbot.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tokenbot.com/home/api-docs/readme.md).

# Overview

Welcome to the TokenBot developer documentation. TokenBot provides programmatic access to automated crypto trading, trade synchronization (copiers), and portfolio management.

> 💡 Most users drive TokenBot through the **`tokenbot` CLI** (`npm install -g tokenbot`). These APIs are for building integrations, automation, and custom tooling on top of the platform.

## APIs

| API                                                   | Description                                                | Base URL               |
| ----------------------------------------------------- | ---------------------------------------------------------- | ---------------------- |
| [REST API](/home/api-docs/rest-api/overview.md)       | CRUD operations for exchanges, strategies, copiers, trades | `api.tokenbot.com/v1`  |
| [GraphQL API](/home/api-docs/graphql-api/overview.md) | Full platform access including auth, admin, onboarding     | `gql-api.tokenbot.com` |
| [Webhooks](/home/api-docs/webhooks/overview.md)       | Outbound, signed event notifications (46 event types)      | N/A (push-based)       |
| [MCP Server](/home/api-docs/mcp/overview.md)          | AI/LLM tool integration via Model Context Protocol         | Local server (stdio)   |

## Getting Started

1. [Quickstart Guide](/home/api-docs/quickstart.md) — Make your first API call in minutes
2. [Authentication](/home/api-docs/authentication.md) — API keys, signed requests, and GraphQL auth
3. [Rate Limits](/home/api-docs/rate-limits.md) — Usage limits and best practices
4. [Error Handling](/home/api-docs/errors.md) — Standard error response format

## Key Concepts

* **Exchange Account** — A connected exchange (Binance, Bybit, etc.) with API credentials
* **Strategy** — The source account whose trades are replicated
* **Copier** — Replicates a strategy's trades onto another exchange account
* **Trade** — An individual order executed on an exchange
* **Trade Pair** — A trading pair (e.g., BTC/USDT) available on an exchange

## Token

The platform token is **TBOT**.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tokenbot.com/home/api-docs/readme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
