Skip to content

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

  1. Launch an EC2 instance with Ubuntu 22.04 LTS
  2. Choose instance type: t3.medium (2 vCPU, 4 GB RAM) or larger
  3. Configure security group to allow inbound traffic on ports 22 (SSH), 8000 (API), and 8501 (Dashboard)
  4. Connect via SSH:
    ssh -i your-key.pem ubuntu@your-instance-ip
    
  1. Create a Compute Engine VM with Ubuntu 22.04 LTS
  2. Choose machine type: e2-medium (2 vCPU, 4 GB RAM) or larger
  3. Configure firewall rules to allow TCP ports 22, 8000, and 8501
  4. Connect via SSH:
    gcloud compute ssh your-instance-name
    
  1. Create a Droplet with Ubuntu 22.04 LTS
  2. Choose size: Basic $24/mo (2 vCPU, 4 GB RAM) or larger
  3. Connect via SSH:
    ssh root@your-droplet-ip
    

Install Docker

Once connected to your server, install Docker:

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

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

make deploy

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

  1. Open Telegram and search for @BotFather
  2. Send /newbot and follow the prompts to create your bot
  3. Copy the bot token (looks like 123456789:ABCdefGHIjklMNOpqrsTUVwxyz)

Get Your Telegram User ID

You'll need your Telegram User ID to authorize yourself:

  1. Search for @userinfobot on Telegram
  2. Send /start - it will reply with your User ID (a number like 123456789)

Install Condor

git clone https://github.com/hummingbot/condor.git
cd condor
./setup-environment.sh

The setup script will prompt you for:

  • TELEGRAM_TOKEN: Your bot token from BotFather
  • AUTHORIZED_USERS: Your Telegram User ID (comma-separated for multiple users)

Start Condor

docker compose up -d

Connect to Your Bot

  1. Open your bot in Telegram and send /start
  2. Use /configAPI Servers to connect to your Hummingbot API (default: localhost:8000)
  3. Use /configAPI Keys to add exchange credentials
  4. Use /configGateway to enable DEX trading (optional)

For detailed Condor usage, see Condor Documentation.