Hummingbot API Quickstart¶
This guide walks you through deploying the Hummingbot API on a cloud server and setting up Condor for Telegram-based control.
For source installation, API endpoints, and advanced configuration, see Hummingbot API Documentation.
What You'll Set Up¶
By the end of this guide, you'll have:
- Hummingbot API - REST API backend for bot management and trading (port 8000)
- Condor - Telegram bot for monitoring and controlling Hummingbot API from mobile and desktop
This setup is best for managing multiple bot instances on a cloud server (AWS, Digital Ocean, etc.) with mobile access via Telegram.
Prerequisites¶
Hummingbot API is designed to run on a Linux-based cloud server for 24/7 operation. We recommend using a VPS from providers like AWS, Google Cloud, or Digital Ocean.
System Requirements¶
| Component | Specifications |
|---|---|
| Operating System | Linux x64 or ARM (Ubuntu 20.04+, Debian 10+) |
| Memory | 4 GB RAM minimum |
| Storage | 10 GB SSD |
| CPU | 2 vCPUs minimum |
Cloud Server Setup¶
- Launch an EC2 instance with Ubuntu 22.04 LTS
- Choose instance type: t3.medium (2 vCPU, 4 GB RAM) or larger
- Configure security group to allow inbound traffic on ports 22 (SSH), 8000 (API), and 8501 (Dashboard)
- Connect via SSH:
- Create a Compute Engine VM with Ubuntu 22.04 LTS
- Choose machine type: e2-medium (2 vCPU, 4 GB RAM) or larger
- Configure firewall rules to allow TCP ports 22, 8000, and 8501
- Connect via SSH:
Install Docker¶
Once connected to your server, install Docker:
Installation¶
Clone the repository and run the setup script:
git clone https://github.com/hummingbot/hummingbot-api.git
cd hummingbot-api
chmod +x setup.sh
./setup.sh
The setup script will:
Prompt you for credentials (default: admin/admin)
Start all services
Access Your Platform¶
After setup completes, you can interact with Hummingbot API through:
| Interface | Description |
|---|---|
| Condor | Telegram bot for mobile/desktop control (setup below) |
| MCP | Connect AI assistants like Claude, ChatGPT, Gemini (setup guide) |
| Swagger UI | Interactive API docs at http://localhost:8000/docs |
Cloud Servers
If using a cloud server or VPS, replace localhost with your server's IP address. Configure firewall rules to allow inbound connections on port 8000.
Add Condor Telegram Interface¶
Condor is a Telegram bot that lets you monitor and control your Hummingbot instances from your phone. It's the recommended interface for managing bots deployed with Hummingbot API.
Create a Telegram Bot¶
- Open Telegram and search for @BotFather
- Send
/newbotand follow the prompts to create your bot - Copy the bot token (looks like
123456789:ABCdefGHIjklMNOpqrsTUVwxyz)
Get Your Telegram User ID¶
You'll need your Telegram User ID to authorize yourself:
- Search for @userinfobot on Telegram
- Send
/start- it will reply with your User ID (a number like123456789)
Install Condor¶
The setup script will prompt you for:
TELEGRAM_TOKEN: Your bot token from BotFatherAUTHORIZED_USERS: Your Telegram User ID (comma-separated for multiple users)
Start Condor¶
Connect to Your Bot¶
- Open your bot in Telegram and send
/start - Use
/config→ API Servers to connect to your Hummingbot API (default:localhost:8000) - Use
/config→ API Keys to add exchange credentials - Use
/config→ Gateway to enable DEX trading (optional)
For detailed Condor usage, see Condor Documentation.