Skip to main content

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:

API Routers

Accounts

Manage trading accounts and exchange credentials.

Portfolio

Real-time balances and portfolio analytics.

Trading

Execute orders and manage positions.

Connectors

Exchange connector information and trading rules.

Market Data

Prices, candles, order books, and funding rates.

Rate Oracle

Cross-exchange price feeds and conversion rates.

Executors

Create and manage trading executors.

Bot Orchestration

Deploy and manage Hummingbot trading bots.

Controllers

V2 strategy controller management.

Scripts

V1 script management.

Gateway

DEX infrastructure via Hummingbot Gateway.

Gateway Swaps

DEX token swaps.

Gateway CLMM

Concentrated liquidity positions.

Backtesting

Strategy backtesting.

Archived Bots

Historical bot performance data.

Docker

Container lifecycle management.

Response Format

Success responses return the requested data:
Error responses include a detail field:

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

Discord

Community support

Give Feedback

2-minute survey that shapes the roadmap