# Creating API keys for Bybit

{% hint style="warning" %}
Before creating new API, please make sure that you have switched to Bybit in your Tiger.com Broker account:
{% endhint %}

<figure><img src="/files/5YNMWQwsaXYhMbYLS6vB" alt=""><figcaption><p>The selected exchange name will be displayed in the upper left corner of your Tiger.com Broker account</p></figcaption></figure>

1\) Click on the **Create API Key** button on [the main page of your personal account:](https://account.tiger.com/)

<figure><img src="/files/j1nQoAPiu7NDxvVbRqSn" alt=""><figcaption><p>Creating API keys from the account main page</p></figcaption></figure>

Alternatively, you can go to the[ API page](https://account.tiger.trade/api?exchangeType=BINANCE_BROKER_FUTURE) and click on the **New API Key** button:

<figure><img src="/files/xrb8wonILZIqyPTesi2m" alt=""><figcaption><p>Creating API keys from the API page</p></figcaption></figure>

2\) Specify the name of the key and select the necessary permissions:

<figure><img src="/files/YPxuVdFfC3obvOVf044g" alt="" width="375"><figcaption><p>Here you can name the API key and select the permissions for it</p></figcaption></figure>

**Read access** - a permission to receive information on open positions, orders and account balances. This option is enabled by default.

**Trade** - a permission to trade (place/cancel orders, open/close positions, etc.). This permission should be activated to be able to trade using the API key.

3\) Optionally, you can add your trusted IP addresses in the **IP addresses** field to create a whitelist. In that case, the access to exchange from the API key will be only available from the mentioned IP addresses; trading operations from other IP addresses will be rejected by the exchange.&#x20;

4\) Enter the 6-digit code from Google Authenticator app intended for Tiger.com Broker account (account.tiger.com) and click **Create API** to complete the action.

{% hint style="warning" %}
The secret key will only be shown once at the time the API key is generated. If you forget or lose the secret key, you will need to create a new API key.
{% endhint %}

5\) Copy the API key and Secret Key and keep them in a safe place, and click **Done**. After that, you will see the API Management page, which contains the information about the generated keys:

<figure><img src="/files/QeqIBW4MdnQZbpOZNM1u" alt=""><figcaption><p>Here you can see the key list and the corresponding permissions</p></figcaption></figure>

{% hint style="info" %}
Tiger.com Broker uses Unified Trading Account (UTA Pro) for Bybit. The created API keys can be used in [Tiger.com Window](https://www.tiger.com/terminal)s or in any other app that supports connecting to Bybit with a UTA account.
{% endhint %}

The keys will need to be inserted into the appropriate fields when setting up a connection to Bybit exchange. To establish a connection to Bybit within Tiger.com Windows app, [follow the instruction.](https://support.tiger.com/english/settings/connections/crypto-exchanges/bybit-via-tiger.trade-broker)

## Editing an API key

The previously created API key can be edited. The following actions can be applied:

* Change trading permissions (enable/disable trade access)
* Add or remove IP addresses from the whitelist.&#x20;


---

# 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://broker-docs.tiger.com/english-2/creating-api-keys/creating-api-keys-for-bybit.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.
