---
id: document_item.connecting-to-the-bybit-exchange
page_type: documentation_article
title: "Connecting to the Bybit exchange"
description: "How to connect the Bybit exchange to Moonbot: create API keys, activate the spot and futures accounts, configure the terminal settings."
section: documentation
category: "Settings Button / “Settings → Login” Tab"
url: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md
alternate_zh: https://moonbot.pro/zh/documentation/settings-login-tab/connecting-to-the-bybit-exchange?format=md
parent: https://moonbot.pro/documentation/settings-login-tab?format=md
previous: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-htx-exchange?format=md
next: https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md
status: published
updated_at: 2026-11-12T22:40:01+03:00
---

# Connecting to the Bybit exchange

Before using Moonbot as a terminal for Bybit, we recommend that you register an account on the Bybit exchange via our referral link:\
🔗 [https://partner.bybit.com/b/JOINMOONBOT](https://partner.bybit.com/b/JOINMOONBOT).

For all accounts registered through this link, an automatic cashback of 20% on spot and futures trading applies, and it is also possible to activate a 1-month free trial period of the PRO version.

**After activating the PRO version using the Moonbot referral link, the following bonuses will be available to you:**

- **MoonHook** strategy;
- Price emulation on the chart using the **Pencil** tool;
- **Chart monitoring module in separate windows**;
- Moon **Kernel module** — client-kernel mode for faster manual trading.

If you already have a Bybit account registered via another referral link, you can create a new Bybit account using our link and transfer your KYC to the new account. This is officially allowed by the exchange.

Moonbot, as a trading terminal for Bybit, supports trading on both the spot and futures markets.

When using the Moonbot terminal for Bybit on a dedicated server, select the Tokyo (Japan) location for lower ping times.

The terminal is activated for Bybit via the **Moon Credits** window (instructions are provided below), and this requires 500 Moon Credits - both for activating the main account and for activating each subsequent subaccount. Moon Credits are available only to users of the PRO version of Moonbot. Before activating Bybit, you must have the PRO version of the Moonbot trading terminal activated for trading cryptocurrencies on any other exchange.

### Instructions on how to create an API key on Bybit for Moonbot

![Account type window](https://moonbot.pro/storage/editor-images/Bybit%202026.jpg)

![Account type window (dark)](https://moonbot.pro/storage/editor-images/Bybit%202026.jpg)

Before creating API keys, you must complete identity verification (KYC). Without completing KYC, API keys will not have permission to perform trading operations.

When creating an API key, select the **System-generated API Keys** type (see the figure below):

![System-generated API Keys](https://moonbot.pro/storage/editor-images/image7.jpg)

![System-generated API Keys (dark)](https://moonbot.pro/storage/editor-images/image7.jpg)

Next, configure the parameters (see the figure below):

1\) Enable the **API Transaction** option;

2\) Enable the **Read-Write** option;

3\) If you select **No IP restriction**, the Bybit API keys will not be bound to an IP address, which is less secure; in this case their validity period will be limited to 90 days;

If API keys not linked to IP address whitelists have been activated in the Moonbot terminal for Bybit, information regarding the number of days remaining until the API keys expire will be recorded in the log when the terminal is launched. **Seven days before** this expiry date, a warning highlighted in red will appear in the main window of the Bybit trading terminal **"API: N days"**, which indicates the number of days remaining before the API keys expire; a notification to this effect will also be sent via Telegram (initially no more than once every 6 hours; if fewer than 4 days remain, messages will be sent once an hour). This mechanism for checking the expiry dates of API keys has been implemented for all types of exchange connections: **Bybit Spot и Bybit Futures**.

4\) If you select **Only IPs with permissions granted are allowed to access the OpenAPI**, you must specify a whitelist of IP addresses; this is a more secure option, and in this case, the Bybit API key will have no expiry date;

![API Transaction window](https://moonbot.pro/storage/editor-images/image6.png)

![API Transaction window (dark)](https://moonbot.pro/storage/editor-images/image6.png)

5\) Enable all checkboxes except the permission to withdraw funds in the access permissions (see the figure below):

![Access rights window](https://moonbot.pro/storage/editor-images/image2.jpg)

![Access rights window (dark)](https://moonbot.pro/storage/editor-images/image2.jpg)

### Instructions on how to connect Bybit to the Moonbot terminal

1. Create API keys on the Bybit exchange website for the main account or a subaccount;
2. Copy the folder containing your main PRO terminal for another exchange into a new folder and run the copy of the terminal in administrator mode so that you can then configure it as the terminal for Bybit;
3. Go to **Settings → Login**, in the **Exchange** field select **Bybit Spot** (for spot) or **Bybit Futures** (for futures) and click **Apply**;
4. In **Settings → Login**, register the Bybit API keys from your main account or subaccount;
5. In the lower-right corner of the main window of the Moonbot terminal for Bybit, click the **PRO version** label to open the Moon Credits window with activations of additional modules (see the figure below);
6. In the Moon Credits window, the lower section displays the balance of your Moon Credits; activating the main account or one subaccount requires 500 Moon Credits; if the balance is sufficient, in the **Activate API Key** block click the **Activate for 500 Credits** button - the API keys will then be activated on this terminal for trading cryptocurrencies on the Bybit exchange;
7. If the message **Wrong account** is displayed, this means that the account was not registered via the referral link specified above;
8. If you need to activate additional subaccounts of the same exchange, repeat the procedure the required number of times.

![Moon Credits window](https://moonbot.pro/storage/editor-images/MoonCredits_W-eng.jpg)

![Moon Credits window (dark)](https://moonbot.pro/storage/editor-images/MoonCredits_B-eng.jpg)

### Specific Features When Working with the Bybit Exchange

Currently in the Moonbot terminal for the Bybit exchange:

- Work with the **spot** market and **linear futures is supported**. **Cross** and **Isolated Margin** modes in **one-way mode** are available on **linear futures**.
- **Inverse Contracts is not supported.**
- **Hedge mode is not supported.**
- **Unified Trading Account (UTA) is not supported.**

Currently, Moonbot on Bybit supports the spot market and linear futures. Inverse Contracts are not supported.

On linear futures, **Cross** and **Isolated Margin** modes are available **in one way mode**. **Hedge mode** is currently not supported. When depositing funds, they are credited by default to the **Funding** account; to trade, they must be transferred to the **Unified Trading** account.

![Unified Trading account window](https://moonbot.pro/storage/editor-images/image4.png)

![Unified Trading account window (dark)](https://moonbot.pro/storage/editor-images/image4.png)

If necessary, you can change the exchange account settings so that deposits are automatically credited directly to the trading account.

![Auto Transfer Deposits window](https://moonbot.pro/storage/editor-images/image3.png)

![Auto Transfer Deposits window (dark)](https://moonbot.pro/storage/editor-images/image3.png)

When trading on the spot market, the commission is charged in the traded coin (not in USDT or BNB as on Binance); as a result, “dust” may accumulate in the account — small coin balances below the minimum lot that cannot be sold; such balances can be converted into the MNT token through the exchange interface.

Once you have obtained the API keys for Bybit and registered them in the Moonbot terminal, you can either continue with the configuration or proceed[ to create strategies for detecting volatile price movements and automated cryptocurrency trading on the Bybit exchange](https://moonbot.pro/en/begin/simple-auto-trading/what-is-autotrading-in-moonbot?format=md)

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [Documentation](https://moonbot.pro/documentation?format=md) / [Settings Button](https://moonbot.pro/documentation/settings-button?format=md) / [“Settings → Login” Tab](https://moonbot.pro/documentation/settings-login-tab?format=md) / Connecting to the Bybit exchange

Parent section: [“Settings → Login” Tab](https://moonbot.pro/documentation/settings-login-tab?format=md)

Previous: [Connecting to the HTX exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-htx-exchange?format=md)

Next: [Connecting to the Gate exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md)

## Related

- [Connecting to the Gate exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-gate-exchange?format=md)
- [Connecting to the Bitget exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-bitget-exchange?format=md)
- [Connecting to the Hyperliquid exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-hyperliquid-exchange?format=md)
- [Connecting to the OKX exchange](https://moonbot.pro/documentation/settings-login-tab/connecting-to-the-okx-exchange?format=md)
