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:
The username and password are the USERNAME and PASSWORD you set when you installed Hummingbot API — they are stored in that install’s .env, and in Condor’s config.yml under servers:. There are no default credentials: setup requires you to choose them, and an API left without them answers 401.

API Routers

The tables below are an oriented tour of the API’s routers, with the endpoints you will reach for first. The sidebar has the complete, playground-enabled reference for every endpoint, generated from the API’s own OpenAPI spec.

Accounts

Manage trading accounts, exchange credentials, and Gateway wallets.

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, tickers, and conversion rates (the former Rate Oracle endpoints live here now).

Executors

Create and manage trading executors — single operations like an order, a TWAP, a grid, or an LP position.

Bot Orchestration

Deploy and manage containerized Hummingbot trading bots.

Controllers

V2 strategy controller management.

Scripts

V1 script management.

Gateway

DEX infrastructure via Hummingbot Gateway: lifecycle, connectors, and network configuration (tokens and pools per network).

Gateway Swap

DEX token swaps.

Gateway CLMM

Concentrated-liquidity positions.

Gateway AMM

Classic (full-range) AMM liquidity.

Backtesting

Strategy backtesting, synchronous or as background tasks.

Archived Bots

Historical bot performance data.

Docker

Container lifecycle management.

Storage and System

Disk usage of the API’s data, and host resource stats.

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