Launch offer20% off your first trading bot, for our first 1,000 clients. Free 30-minute strategy call included. See packs →
TradeBot Check

Broker & exchange APIs

Libraries and APIs to place orders and read your accounts from code, on any market.

Quick comparison

ToolCostPriceOpen sourceLevelMarkets / uses
Alpaca (alpaca-py)Via accountCheck the official websiteYesBeginnerStocks, Crypto, Options
Binance Python connectorsFreeFree (open source); Binance trading fees applyYesIntermediateCrypto, Crypto futures, Crypto options
CCXTFreeFree (open source)YesIntermediateCrypto, Prediction markets
Coinbase Advanced API Python SDKFreeFree (open source); Coinbase trading fees applyYesIntermediateCrypto
ib_async (Interactive Brokers)FreeFree (open source); your Interactive Brokers account has its own termsYesIntermediateWhatever your Interactive Brokers account offers
Kraken APIVia accountFree with a Kraken account; trading fees applyNoIntermediateCrypto
OANDA v20 APIVia accountAPI access free with an OANDA v20 account; trading costs applyNoIntermediateForex, CFDs
pybit (Bybit)FreeFree (open source); Bybit trading fees applyYesIntermediateCrypto, Crypto futures, Crypto options
python-binanceFreeFree (open source); Binance trading fees applyYesBeginnerCrypto, Crypto futures
schwab-pyFreeFree (open source); requires a Schwab accountYesIntermediateStocks, Options
tastytrade Python SDKFreeFree (open source); requires a tastytrade accountYesIntermediateStocks, Options, Futures
TradierVia accountLite $0/mo ($0.35 per stock trade and options contract), Pro $10/mo, Pro Plus $35/mo ($0 commissions); regulatory fees extraNoIntermediateStocks, Options

Reviews

Alpaca (alpaca-py)

Alpaca's official Python SDK to trade stocks, crypto and options via API and download market data.

Via accountOpen sourceBeginner★ 1.6k

Binance Python connectors

Binance's official, auto-generated Python SDKs for its APIs, split into separate packages for spot, USDⓈ-M and COIN-M futures, options, margin and more.

FreeOpen sourceIntermediate★ 3k

CCXT

Library that unifies the APIs of 100+ crypto exchanges behind a single interface, available in seven languages.

FreeOpen sourceIntermediate★ 44.5k

Coinbase Advanced API Python SDK

Coinbase's official Python SDK for the Advanced Trade REST and WebSocket APIs.

FreeOpen sourceIntermediate★ 364

ib_async (Interactive Brokers)

Python library to connect to Interactive Brokers through TWS or IB Gateway; successor of the popular ib_insync.

FreeOpen sourceIntermediate★ 1.8k

Kraken API

Kraken's trading APIs over REST, WebSocket and FIX, plus a command-line tool with paper trading against live market data.

Via accountIntermediate

OANDA v20 API

OANDA's REST API for forex and CFD trading, with real-time rates, historical prices back to 2005 and a practice environment.

Via accountIntermediate

pybit (Bybit)

Bybit's official lightweight Python connector for its HTTP and WebSocket APIs, covering spot, derivatives and options.

FreeOpen sourceIntermediate★ 671

python-binance

Popular unofficial Python wrapper for the Binance API, with spot, futures and WebSocket support.

FreeOpen sourceBeginner

schwab-py

Unofficial Python wrapper for the Charles Schwab trader API: quotes, option chains, streaming data, orders and account information.

FreeOpen sourceIntermediate★ 478

tastytrade Python SDK

Unofficial, fully typed and asynchronous Python SDK for the tastytrade API, with DXLink streaming of quotes and greeks.

FreeOpen sourceIntermediate

Tradier

US broker built around an API, with commission-based or subscription plans and API access included on every plan.

Via accountIntermediate

Not sure which one fits?
Tell us your goal and we will recommend, or build, the right bot.

Ask us for free

What people build with these

Multi-exchange portfolio tracker

Balances, PnL and exposure from all your exchanges and wallets in one daily report.

📊 Total $18,420 (+1.4% 24 h). Binance 52%, Bybit 31%, wallet 17%.
from €290 €232Order this bot

Funding-rate and open-interest monitor

🔥 High demand

Alerts when funding or open interest reach extremes on perpetual futures.

⚠️ SOL funding +0.09% per 8 h (top 1% of the last year).
from €99 €79Order this bot

Monthly rebalancing and DCA

Buys your ETFs on schedule and rebalances to target weights, with a report each month.

🔁 Rebalanced: VT 60%, bonds 30%, gold 10%. Orders filled.
from €490 €392Order this bot
Get my bot · free quote