# Quick Start

Get up and running with the TokenBot API in minutes.

## Prerequisites

* A TokenBot account
* An API key (create one in **Settings → API Keys** in your dashboard)

## Step 1: Test Your API Key

```bash
curl https://rest-api.tokenbot.com/v1/health \
  -H "X-API-Key: tb_live_your_api_key"
```

## Step 2: List Your Exchange Accounts

```bash
curl https://rest-api.tokenbot.com/v1/exchanges \
  -H "X-API-Key: tb_live_your_api_key"
```

Response:

```json
{
  "success": true,
  "data": [
    {
      "id": "exc_abc123",
      "exchange_name": "binance",
      "account_name": "Main Binance",
      "trading_type": "spot",
      "is_active": true,
      "created_at": "2026-01-15T10:30:00Z"
    }
  ]
}
```

## Step 3: List Your Strategies

```bash
curl https://rest-api.tokenbot.com/v1/strategies \
  -H "X-API-Key: tb_live_your_api_key"
```

## Step 4: View Recent Trades

```bash
curl https://rest-api.tokenbot.com/v1/trades?limit=10 \
  -H "X-API-Key: tb_live_your_api_key"
```

## Step 5: Set Up Webhooks

Get real-time notifications when trades execute. See the [Webhooks guide](https://docs.tokenbot.com/home/api-docs/webhooks/overview).

## Next Steps

* [REST API Reference](https://docs.tokenbot.com/home/api-docs/rest-api/overview) — All endpoints
* [GraphQL API](https://docs.tokenbot.com/home/api-docs/graphql-api/overview) — Advanced queries and mutations
* [Authentication](https://docs.tokenbot.com/home/api-docs/authentication) — All auth methods
