Skip to main content

Overview

Exchanges are the foundation of Cryptorobot.ai. By connecting your exchange accounts, you unlock:
  • Real-time balance tracking across all connected exchanges
  • Live market data (OHLCV, order books, tickers)
  • Trade execution through trading bots
  • Automatic pair blacklist/whitelist management
Cryptorobot.ai supports 50+ cryptocurrency exchanges via CCXT.

Binance

Bybit

OKX

Coinbase

Kraken

KuCoin

Gate.io

+ 50 more

Connection Flow

Connecting an exchange follows a 3-step process:
1

Create an empty exchange

Creates an exchange record with defaults (empty whitelist/blacklist, connected: false).
2

Select the exchange type

Patch with which (e.g. binance). This triggers market data download and sets requiredCredentials, stakeCurrencies, and popularStakeCurrency.
3

Provide API credentials

Patch with apiKey and secret. The platform validates connectivity and sets connected: true.

Step 1: Create Exchange

Response

Step 2: Set Exchange Type

Response
Setting which triggers an automatic download of all available markets for that exchange. The blacklist is populated with known problematic pairs (e.g., wrapped assets, exchange tokens).

Step 3: Connect with Credentials

Response
API credentials are encrypted at rest and never returned in subsequent API responses. The apiKey, secret, password, uid, privateKey, twofa, and token fields are all redacted from external responses.

Market Data

Once an exchange is connected, you can fetch live market data.

Ticker

Get current price and 24h stats for a symbol:
Response

Balance

Fetch current holdings for a specific stake currency:
Response

OHLCV Candles

Available timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w

Order Book

Managing Exchanges

List Connected Exchanges

Configure Whitelist

Control which trading pairs your bots can use:
If whitelist is empty, all pairs are allowed except those in the blacklist. If whitelist has entries, only those pairs are tradeable.

Delete Exchange

Deleting an exchange connection does not affect your actual exchange account or any open orders. It only removes the connection from Cryptorobot.ai.

Key Fields