> For the complete documentation index, see [llms.txt](https://docs.copin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copin.io/features/centralized-copy-trading-ccp/connect-bybit-api.md).

# Connect Bybit API

{% hint style="info" %}
Register a Bybit account: <https://partner.bybitglobal.com/b/copin> (Referral code: **`COPIN`**)
{% endhint %}

Click on your wallet in the top right-hand corner of the screen and go to the "Wallet Management" tab or visit <https://app.copin.io/wallet-management>

<figure><img src="/files/NSspdDJsQ5T1pNKICnPZ" alt=""><figcaption></figcaption></figure>

Click "Create" at " Bybit Exchange" to start linking your Bybit Exchange account to app.copin.io through API key.

<figure><img src="/files/A2Q2rUHyMBQmym7EqUlL" alt=""><figcaption></figcaption></figure>

The connection process involves:

<table data-header-hidden><thead><tr><th width="281">Steps</th><th>Descriptions</th></tr></thead><tbody><tr><td><ol><li><strong>Bybit Account Setup</strong></li></ol></td><td>Create an account, unless you already have one.</td></tr><tr><td><ol start="2"><li><strong>Identify Verification</strong></li></ol></td><td>Identify Verification or <strong>Know Your Customer</strong> (KYC) standards are required for all users of Bybit.</td></tr><tr><td><ol start="3"><li><strong>API Key Creation</strong></li></ol></td><td>Generate an <strong>API key</strong> for Copin Analyzer integration.</td></tr><tr><td><ol start="4"><li><strong>Fund Deposit and Transfer</strong></li></ol></td><td>Deposit funds into Bybit and transfer them to your <strong>Unified Trading Account</strong></td></tr><tr><td><ol start="5"><li><strong>Setup Trading mode</strong></li></ol></td><td>Set <strong>Isolate Margin</strong> and <strong>Hedge Mode</strong> for all trading pairs</td></tr></tbody></table>

> *For any difficulties, we invite you to join the* [*Copin.io community*](https://t.me/copin_io) *where our admin team is ready to assist.*

## **1. Bybit Account Setup**

**Step 1: Sign up for a Bybit account.**

* To create a new account on Bybit, you must first visit the [Bybit Website](https://partner.bybitglobal.com/b/copin).
* Then click on the "Sign up" button to get started.

**Step 2: Account Registration**

* You can choose to register either with your email address or your telephone number
* Enter a secure password
* Use the referral code **COPIN** for initial account benefits.
* Click on agree to Bybit Terms of Service and Privacy Policy
* Click on "Get My Welcome Gifts"

<figure><img src="/files/P0RQsnRCSmE8Zdhb9fOp" alt=""><figcaption></figcaption></figure>

**Step 3: Confirm your account**

* After submitting the registration form, you will be asked to verify your account. Bybit will send a verification email with a confirmation code.
* Enter the code and complete email verification.

## **2. KYC Verification**

**Step 1: Access the Identity Verification Page**

* Hover over your profile in the top right corner of the screen and select "Account & Security"

<figure><img src="/files/wMeZTvAcZnQ3ekoLfqOk" alt=""><figcaption></figcaption></figure>

* Proceed to "Identity Verification" to access the verification page. Alternatively, you can directly access the verification page using this link: <https://www.bybitglobal.com/user/accounts/auth/personal>.

<figure><img src="/files/nOXGEWaC2dckOOrJTumd" alt=""><figcaption></figcaption></figure>

**Step 2: Complete KYC**

* Click on "Verify Now" and complete the verification process as instructed by Bybit to verify your account.

<figure><img src="/files/5TS8XpI4xabtMuTKA4Td" alt=""><figcaption></figcaption></figure>

* Select your country of residence. Choose the document type. Then click "Confirm" to proceed. Alternatively, you can select "Verify with App" to continue the verification process on your mobile device.

<figure><img src="/files/rzQMIPNCOW8HWjl1m7M5" alt=""><figcaption></figcaption></figure>

* Please complete all the verification steps requested by Bybit to finish verifying your account. Note that the verification device must have a camera to enable live image verification.

## **3. API Key Creation**

**Step 1: Access the API keys page**

* Hover over your profile in the top right corner of the screen and select "API" or click on the link <https://www.bybitglobal.com/app/user/api-management> .

<figure><img src="/files/1GY0pD5MdSOXdQohOpBE" alt=""><figcaption></figcaption></figure>

**Step 2: Create API Key**

* Click "**Create New Key**"

<figure><img src="/files/tO1JjKAZA7R875XbtnBg" alt=""><figcaption></figcaption></figure>

* Click "**System-generated API Keys**"

<figure><img src="/files/tA5AU521jXB85r5YrRcK" alt=""><figcaption></figcaption></figure>

**Step 3: Modify API Info**

* Make sure only the following options are selected: "API Transaction", "Read-Write", "No IP restriction", and "Unified Trading".
* Choose a simple, memorable note for easy identification in "Name for the API Key".

<figure><img src="/files/nL3DwRM35czUCXaI3HdQ" alt=""><figcaption></figcaption></figure>

**Step 4: Final Security Confirmation**

* Complete the process with a final security verification then "Confirm".

<figure><img src="/files/PHs1OR1eMsry0Q4W5PQj" alt=""><figcaption></figcaption></figure>

* The newly created API key has a validity period of only 90 days.

<figure><img src="/files/SOMW5VQRGnS7pFuQ9zLx" alt=""><figcaption></figcaption></figure>

* The Access APIKey and SecretKey are displayed, so let's copy and fill in[ Copin Wallet Management](https://app.copin.io/wallet-management)

**Step 5: Complete creating Bybit Wallet on Copin.io**

* Access <https://app.copin.io/wallet-management>
* Fill in the API Key and Secret Key you just created in the previous step.

<figure><img src="/files/DS0mZjcXU0qMWzBSh80c" alt=""><figcaption></figcaption></figure>

## **4. Fund Deposit and Transfer**

**Step 1: Make a deposit on Bybit**

* Before you start copy trading, you'll need to make a deposit into your Bybit account. You can choose between several methods for depositing money into your account: cryptocurrency deposit, credit/debit card, P2P, Third Party or bank transfer.
* Depending on the method you choose, Bitget will give you the steps to follow to make your deposit.

**Step 2: Transfer funds to Futures account**

<figure><img src="/files/J9vjBvAoZ91WfV4aZ3tF" alt=""><figcaption></figcaption></figure>

* Click "**Transfer**"

<figure><img src="/files/mEvSrD5YQqwvyFdoGTkt" alt=""><figcaption></figcaption></figure>

* Make sure to transfer from "Funding" to "Unified Trading". And input the USDT amount into "Amount" then Confirm.

<figure><img src="/files/6wHRlNf6ivEn2BRNFG6e" alt=""><figcaption></figcaption></figure>

After transferring funds to your Unified Trading on Bybit, you are nearly ready to begin the process of copy trading on Copin.io.

{% hint style="info" %}
If you encounter the <mark style="color:red;">**INVALID API KEY**</mark> error, please ensure that:&#x20;

1. Your futures account balance is greater than 0 (refer to Section 4. Fund Deposit and Transfer).&#x20;
2. You have switched to Isolated Margin and Hedge Mode (refer to Section 5. Setup Trading Mode).
   {% endhint %}

## **5. Setup Trading mode**

These settings ensure that the copy trading system operates in the most logical manner.

* Hover over the "Derivatives" tab. Next, select "USDT Perpetuals". Then, choose any random trading pair. In this example, we'll use "BTC/USDT".

<figure><img src="/files/snxlz8VULRvBvYwG4r4M" alt=""><figcaption></figcaption></figure>

* Click on "Settings" in the top right corner.

<figure><img src="/files/RfGYFicaNJRPzcOywZy2" alt=""><figcaption></figcaption></figure>

* Set the margin mode to "Isolated Margin" and the position mode to **"Hedge Mode"**. Apply these settings to **all USDT pairs**.

<figure><img src="/files/uQB1hbzHjAcPBzhLxZXK" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/CW3lpPk3w1TVRnl68J3F" alt=""><figcaption></figcaption></figure>

## FAQ

***Q1: Why have I created API Keys and connected Bybit's API to*** [***Copin.io***](http://copin.io/) ***in Wallet Management but still can't copy trades?***

A: Kindly check again all settings from **API** or **transfer fund** or **setup trading mode**.

***Q2: Why did you get Error Message: "Min amount"***

A: The error message "Min amount" indicates that your order size is below the minimum lot size requirement for the specific trading pair. Each trading pair on Bybit has a minimum lot size, which is the smallest quantity of the base asset that can be traded in a single order. *More details: <https://www.bybit.com/en/announcement-info/transact-parameters/>*

***Q3: What should the balance ratio be in the Bybit Unified Trading Account with Margin when setting up copy trades using the Bybit Wallet on*** [***app.copin.io***](http://app.copin.io/)***?***

A: Always set up copy trades (Margin) with an amount smaller than the balance in your Unified Trading Account to ensure orders are executed. For example: If the balance in your Futures account is $3000, you should set up copy trades with Margin < $3000.

***Q4: How should I fill in the IP address section?***

A: You don't need to fill in anything and can skip this section to proceed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.copin.io/features/centralized-copy-trading-ccp/connect-bybit-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
