# 1.4.2 Bybit API Binding Tutorial

**For security reasons, the API secret will be displayed only 1 time. After closing the window, the API secret will not be available, so copy the key in time.**

First you need to go to the official site of the exchange: <https://www.bybit.com/en/>

<mark style="background-color:red;">**❗We strongly recommend switching to the Unified Trading Account (UTA), as the Standard account type stops supporting work through the API, which can affect the correct, stable operation of strategies and the frequency of errors in them❗**</mark>

<mark style="background-color:red;">**You can switch to the Unified Trading Account using the**</mark> [<mark style="background-color:red;">**this link.**</mark>](<https://www.bybit.com/ru-RU/promo/events/unified-trading-account >)

If you are already a registered user, log in to your existing account on the exchange. If you do not have an account, you need to register first.

After successful login or registration, you need to click on the icon at the very top of the website.

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

In the list that appears, click on "API".&#x20;

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

Next you need to click on "Create New key".

<figure><img src="/files/0E6WOFqxtIeP91DcyO39" alt=""><figcaption></figcaption></figure>

In the window that appears, select "System-generated API Keys".

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

Next, you will need to select "API Transaction".

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

In the "Name for the API Key" section, name your API key.

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

In the "API Kay Permissions" section, select "Read-Write".

<figure><img src="/files/0aTSF4WpsQn79izOGHpr" alt=""><figcaption></figcaption></figure>

Select "Only IPs with permissions granted are allowed access to OpenAPI".

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

Then, open the Hash7 app. In the upper left corner, click on ''Exchange''.

<figure><img src="/files/i8qNvB47XFex44Js1ZNk" alt="" width="375"><figcaption></figcaption></figure>

Choose Bybit exchange.

<figure><img src="/files/qm9Bo2046et0ZUf6dSj3" alt="" width="375"><figcaption></figcaption></figure>

Copy the IP-addresses.

<figure><img src="/files/pA5vDItZV9Mw71EQcA1x" alt="" width="375"><figcaption></figcaption></figure>

Return to the exchange website and paste the copied IP-addresses from the Hash7 app.

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

Scroll down the page below - here you will need to select "Unified Trading" and click on "Submit".

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

After passing Google's two-factor authentication, in the window that appears, copy the API key and API secret to a safe place. Next, click on "Confirm".

<figure><img src="/files/2a0QPYgnfu8CV6aNGiYL" alt=""><figcaption></figcaption></figure>

Then reopen the Hash7 app and paste the copied keys into the appropriate fields. To complete the process, click on the "Done" button.

<figure><img src="/files/Eh6qx6Mhfr5S87W1LgnY" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: 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://hash7-gitbook.gitbook.io/en/user-guide/1.4-api-binding-tutorial-web-version/1.4.2-bybit-api-binding-tutorial.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.
