5 min read

How to connect Bybit to Pilotbot

Step-by-step: create a Bybit API key with the right permissions, allow all Pilotbot server addresses from the connect window, and paste it into Pilotbot — without withdrawal access.

P

Pilotbot Team

Author

On this page

You create a special Bybit API key with limited rights and paste it into Pilotbot. The key lets Pilotbot read your P2P orders and manage the prices of your ads. It can never withdraw your money. The connect screen in Pilotbot walks you through the same steps as this article, one screen at a time.

Before you start

  • You need P2P advertiser status on Bybit. Your main account must be at least a General Advertiser. If you are not one yet, apply in the Bybit app under P2P → "Become an Advertiser", then come back.
  • Use your main account only. Sub-accounts are not supported: Pilotbot will reject a key created in a sub-account.
  • Have your phone ready: Bybit asks for an SMS code and a Google Authenticator code when you create the key.

Step 1 — Open API Management

Log into Bybit and open API Management (direct link: bybit.com/app/user/api-management). Click "Create New Key".

Bybit API Management with the Create New Key button

Step 2 — Choose "System-generated API Keys"

When Bybit asks which type of key you want, choose "System-generated API Keys" (not a third-party application key).

Choosing System-generated API Keys

Step 3 — Name the key, set Read-Write and the IP list

  1. Select "API Transaction" as the purpose.
  2. Name the key Pilotbot.
  3. Set the access level to "Read-Write".
  4. Under IP restriction choose "Only IPs with permissions granted are allowed to access the OpenAPI".
  5. Paste all Pilotbot server addresses from the connect window into the IP field, separated by a comma, exactly like this:
152.53.51.101,15.235.246.192,15.235.246.191,15.235.246.193,51.79.166.119,18.136.116.199,18.142.205.72

The addresses are: 152.53.51.101, 15.235.246.192, 15.235.246.191, 15.235.246.193, 51.79.166.119, 18.136.116.199, 18.142.205.72. Pilotbot uses all of them, so all must be on the list.

Never choose "No IP restriction". With that option Bybit blocks P2P access for the key and deletes the key after 3 months.

Key name, Read-Write and the IP address list

Step 4 — Tick the permissions

Tick exactly these three boxes:

SectionCheckboxWhy it is needed
P2P"Orders"Pilotbot sees and tracks your P2P orders.
P2P"Ads"Pilotbot creates and updates the price of your ads.
Wallet"Account Transfer"Pilotbot reads your Funding balance and tops up ad balances between your own Bybit wallets. Money never leaves your Bybit account.

Leave "Withdrawal" switched OFF. Pilotbot never asks for it and cannot withdraw funds. Do not tick anything else (Spot, Derivatives and so on are not needed).

Permissions: P2P Orders, P2P Ads, Wallet Account Transfer

Step 5 — Submit and confirm with 2FA

Click "Submit". Bybit asks for the SMS code and the Google Authenticator code. After that it shows your API Key and Secret Key.

Copy the Secret Key right away: Bybit shows it only once. If you lose it, delete the key and create a new one.

Bybit security verification

Step 6 — Paste the key into Pilotbot

In Pilotbot open Add Account, choose the Bybit tab, paste the API Key and Secret Key, and confirm.

Pilotbot then checks every item: main account, Read-Write access, all server addresses, P2P Orders, P2P Ads, Account Transfer and the key's expiry date. If something is wrong, it shows exactly what is missing and which step to go back to. Fix it on Bybit (edit the same key, no need to create a new one) and run the check again.

If something goes wrong

What you seeWhat it meansWhat to do
"Unmatched IP" / IP not whitelistedBybit does not recognise our server address: one or more addresses are missing from the key.Edit the key on Bybit and add all addresses from the connect window: 152.53.51.101,15.235.246.192,15.235.246.191,15.235.246.193,51.79.166.119,18.136.116.199,18.142.205.72 (Step 3).
"Permission denied" or P2P Orders missingThe "Orders" box under P2P is not ticked.Edit the key and tick P2P → "Orders" (Step 4).
P2P Ads missingThe "Ads" box under P2P is not ticked.Edit the key and tick P2P → "Ads" (Step 4).
Key is read-onlyThe key was created with "Read-Only".Set the access level to "Read-Write" (Step 3).
Sub-account not allowedThe key was created inside a sub-account.Log into your main account and create the key there.
Key expires soonBybit shows an expiry date for the key (keys without an IP list expire after 3 months).Make sure all addresses are on the list, or create a new key before the date.
No advertiser statusYour main account is not a P2P advertiser yet.Apply for General Advertiser in the Bybit app (P2P) and try again.
Warning about Account TransferThe "Account Transfer" box under Wallet is not ticked. Connecting still works, but automatic balance top-ups for your ads will not.Edit the key and tick Wallet → "Account Transfer" (Step 4).

Your Bybit account then appears in the sidebar. Next, set up the strategy with the AI agent and switch on automation for your ads.

Related articles