> For the complete documentation index, see [llms.txt](https://docs.pump-bot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pump-bot.com/crypto-bot-general/keys-json/create-bybit-api-keys.md).

# create Bybit API Keys

## 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/6r2nuGoxCRuSxX6Rz9tv" 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.
3.

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

4. 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;
5. 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.

```json
{
  "apiKey": "enter here",
  "secretKey": "enter here" 
}
```

{% 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
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, and the optional `goal` query parameter:

```
GET https://docs.pump-bot.com/crypto-bot-general/keys-json/create-bybit-api-keys.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
