# Bybit API Keys

{% hint style="danger" %}
Currently you can't use the Bybit unified trading account! If you create one simply create a sub-account and generate the API Keys for the not unified account.&#x20;
{% endhint %}

## How to create your Bybit API Keys&#x20;

See how you will get your API Keys for the Bybit Exchange to be used in our crypto trading bots for spot and futures/derivatives trading.

1. Got to: <https://www.bybit.com/app/user/add-secret-key>
2. Create new API Keys
3. Select "System-generated API Keys"

<figure><img src="/files/irTgwiT6ZHaSldxPqdy7" alt=""><figcaption><p>Select System-generated API Keys</p></figcaption></figure>

1. And select "API Transaction" under "API Key Usage"
2. For Crypto Trading Bots you will never need to allow "withdraws" from your account. This means that no one is able to withdraw funds from your accounts with the correct permissions and you ensure the maximum security.

<figure><img src="/files/UjGuCuZyCRDYRvFdnCRK" alt=""><figcaption><p>Bybit API Keys permissions for crypto trading bots - never withdraw!</p></figcaption></figure>

1. Under "Add IP addresses(Optional)" do NOT enter your IP address, because you won't have a static IP. You IP will change and the bot can't access the exchange and trade for you.&#x20;
2. Click "Submit".

After you did this just copy and paste the shown keys into the bybitAPI.json. The secret Key will only be shown once.

{% hint style="info" %}
API Keys on Bybit are only valid for 3 months. This means you will need to do this every 3 months again. Don't forget that :)&#x20;
{% endhint %}


---

# 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://docs.crypticorn.com/how-to-create-api-keys/create-api-keys/bybit-api-keys.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.
