Documentation Index Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
Use this file to discover all available pages before exploring further.
What is Hummingbot API?
Hummingbot API is a RESTful API server that provides programmatic access to all Hummingbot exchange connectors and trading strategies. It serves as the deterministic execution layer for Condor, handling:
Data collection : Standardized access to order books, candles, balances, and positions across 50+ exchanges
Market access : Connectors to spot, perpetual, and AMM exchanges, along with Solana and EVM networks
Trade execution : Place orders, manage positions, and track fills
Bot management : Deploy and manage containerized bots for long-running strategies
Base URL
For remote deployments, replace localhost with your server’s address.
Authentication
All endpoints require HTTP Basic Authentication:
curl -u admin:admin http://localhost:8000/accounts
API Routers
Accounts
Manage trading accounts and exchange credentials.
Endpoint Method Description /accountsGET List all account names /accounts/{account_name}/credentialsGET List configured connectors for an account /accounts/add-accountPOST Create a new account /accounts/delete-accountPOST Delete an account /accounts/add-credential/{account_name}/{connector_name}POST Add exchange credentials /accounts/delete-credential/{account_name}/{connector_name}POST Remove exchange credentials
Portfolio
Real-time balances and portfolio analytics.
Endpoint Method Description /portfolio/statePOST Get portfolio balances across all accounts and connectors
Trading
Execute orders and manage positions.
Endpoint Method Description /trading/ordersPOST Place a new order /trading/orders/activePOST Get active orders /trading/{account_name}/{connector_name}/orders/{order_id}/cancelPOST Cancel an order /trading/positionsPOST Get open positions (perpetual)
Connectors
Exchange connector information and trading rules.
Endpoint Method Description /connectorsGET List available connectors /connectors/{connector_name}/config-mapGET Get required credential fields /connectors/{connector_name}/trading-rulesGET Get trading rules for pairs
Market Data
Prices, candles, order books, and funding rates.
Endpoint Method Description /market-data/candlesPOST Get historical candles /market-data/order-bookPOST Get order book snapshot /market-data/pricesPOST Get current prices /market-data/funding-ratesPOST Get perpetual funding rates
Rate Oracle
Cross-exchange price feeds and conversion rates.
Endpoint Method Description /rate-oracle/sourcesGET List available price sources /rate-oracle/rateGET Get conversion rate between assets
Executors
Create and manage trading executors.
Endpoint Method Description /executorsGET List active executors /executorsPOST Create a new executor /executors/{executor_id}DELETE Stop an executor /executors/{executor_id}/statusGET Get executor status
Bot Orchestration
Deploy and manage Hummingbot trading bots.
Endpoint Method Description /bot-orchestration/statusGET Get status of all bots /bot-orchestration/deployPOST Deploy a new bot /bot-orchestration/{bot_id}/startPOST Start a bot /bot-orchestration/{bot_id}/stopPOST Stop a bot /bot-orchestration/{bot_id}/logsGET Get bot logs
Controllers
V2 strategy controller management.
Endpoint Method Description /controllersGET List available controllers /controllers/{controller_name}/configGET Get controller configuration schema
Scripts
V1 script management.
Endpoint Method Description /scriptsGET List available scripts
Gateway
DEX infrastructure via Hummingbot Gateway.
Endpoint Method Description /gateway/statusGET Get Gateway status /gateway/connectorsGET List Gateway connectors /gateway/walletsGET List configured wallets /gateway/networksGET List supported networks
Gateway Swaps
DEX token swaps.
Endpoint Method Description /gateway/swaps/quotePOST Get swap quote /gateway/swaps/executePOST Execute a swap
Gateway CLMM
Concentrated liquidity positions.
Endpoint Method Description /gateway/clmm/poolsGET List available pools /gateway/clmm/positions_ownedPOST Get LP positions owned in a pool /gateway/clmm/openPOST Open a new position /gateway/clmm/addPOST Add liquidity to a position /gateway/clmm/removePOST Remove liquidity from a position /gateway/clmm/collect-feesPOST Collect accumulated fees
Backtesting
Strategy backtesting.
Endpoint Method Description /backtesting/runPOST Run a backtest /backtesting/results/{backtest_id}GET Get backtest results
Archived Bots
Historical bot performance data.
Endpoint Method Description /archived-bots/databasesGET List archived bot databases /archived-bots/{database}/performanceGET Get historical performance
Docker
Container lifecycle management.
Endpoint Method Description /docker/statusGET Check if Docker is running /docker/containersGET List containers
Success responses return the requested data:
Error responses include a detail field:
{
"detail" : "Account not found"
}
Interactive Playground
Each endpoint page includes an interactive playground where you can test API calls directly. Enter your credentials and server URL to make live requests.
Resources
Condor GitHub Condor source code
API GitHub Hummingbot API source code